Skip to main content

mcp-agent-tester

Local-first MCP server inspector, smoke tester, and agent runner with a small web UI, CLI commands, and JSON traces.

What It Does

mcp-agent-tester can connect to an MCP server over Streamable HTTP, SSE, or stdio and:

  • inspect tools, prompts, and resources
  • run safe smoke tests based on explicit tool policies
  • run an agent against the server using Codex CLI, Claude Code, or Cursor agent
  • stream live events into the UI
  • write per-run traces under ~/.mcp-agent-tester/runs/

Quickstart

With uv (recommended):

uv tool install mcp-agent-tester

# If the command is not found after install:
export PATH="$HOME/.local/bin:$PATH"
# To make it permanent:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc

mcp-agent-tester ui

With pip:

pip install mcp-agent-tester
mcp-agent-tester ui

From source:

git clone https://github.com/akshaychame/mcp-agent-tester
cd mcp-agent-tester
uv sync
uv run mcp-agent-tester ui

Open http://127.0.0.1:8765, enter an MCP server URL or stdio command, and choose inspect, smoke, or agent.

You can also run from the CLI:

mcp-agent-tester inspect --profile profiles/example.yaml
mcp-agent-tester smoke --profile profiles/example.yaml
mcp-agent-tester agent --profile profiles/example.yaml "Summarize what this MCP server exposes."

Or with uv:

uv run mcp-agent-tester inspect --profile profiles/example.yaml
uv run mcp-agent-tester smoke --profile profiles/example.yaml
uv run mcp-agent-tester agent --profile profiles/example.yaml "Summarize what this MCP server exposes."

Profiles

Profiles are YAML files that describe server connection details and safe smoke-test policies. Start from profiles/example.yaml and add your own local file:

server:
  name: my-mcp-server
  transport: http
  endpoint: http://localhost:8080/mcp

tools:
  default_policy: list_only
  policies:
    example_read_only_tool:
      policy: safe_with_args
      args:
        limit: 5

Local overrides such as *.local.yaml are ignored by git.

Agent Runners

  • Codex CLI: used by default for agent runs
  • Claude Code: select the Claude agent in the UI
  • Cursor agent: select Cursor in the UI and sign in when prompted

Requirements

  • Python 3.11+
  • uv
  • Optional: Codex CLI, Claude Code CLI, or Cursor agent CLI for agent runs

License

MIT

Metadata

Release files for mcp-agent-tester 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-agent-tester 0.1.1
File Size Uploaded Provenance
mcp_agent_tester-0.1.1.tar.gz 79.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-agent-tester 0.1.1
File Interpreter ABI Platform
mcp_agent_tester-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 118.7 kB

Release files / mcp_agent_tester-0.1.1.tar.gz

Download URL mcp_agent_tester-0.1.1.tar.gz
Size 79.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c9f8d55d5ba147650ee410a3a899431f200e0d46f126256a1557cea564e4f515
BLAKE2b-256 checksum
How to use checksums
f7bef0b67beeb58691165314600a9fc5d8af37957d89e5ebd3ae391d446c028b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / mcp_agent_tester-0.1.1-py3-none-any.whl

Download URL mcp_agent_tester-0.1.1-py3-none-any.whl
Size 39.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ae8878fda59c11e9ca352f9ad5315e10f792b3383d9a83b2ef133ce9d275af6
BLAKE2b-256 checksum
How to use checksums
02e0cd13188e9cdb0b8efa8c4e6369a4b43879dc0d176ab374e5b0ceecd2b4e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for mcp-agent-tester 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page