The MCPProxy blog

Better tools.
Informed decisions.

Security research, practical guides and notes from building MCPProxy.

Subscribe via RSS ↗

· Algis Dumbris

Give your AI agent an API key with the least access it needs

A step-by-step guide to replacing the MCPProxy admin API key in an agent's config with a token that reaches only the servers and tool tiers the agent needs, checking that it holds, auditing what it did and revoking it. Includes a skill for Claude Code and Codex that does the steps for you.

Read article ↗

· Algis Dumbris

Why Did My Agent's Tool Call Fail? Reading the Work-Session Failure Timeline

Your agent says "the tool failed" and moves on. MCPProxy groups an agent's tool calls into work sessions and opens one at its first failure, so you can see what failed, in what order, and whether the cause was the agent's arguments, the upstream server or a policy. A walk through one real failing run in the Web UI, the CLI and the REST API.

Read article ↗

· Algis Dumbris

Automated Testing for AI Agents: How to Build Regression Tests for MCP Tools

Automated testing for AI agents is fundamentally different from traditional software testing due to non-deterministic behavior. This post surveys current approaches for evaluating Model Context Protocol (MCP) tool quality, and demonstrates how these methods are implemented in our open-source mcp-eval utility. We cover trajectory-based evaluation, similarity scoring, and practical Docker-based testing architectures that handle the inherent variability of LLM systems while maintaining testing reliability.

Read article ↗