Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_agent_tester-0.1.1.tar.gz (79.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_agent_tester-0.1.1-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_agent_tester-0.1.1.tar.gz.

File metadata

  • Download URL: mcp_agent_tester-0.1.1.tar.gz
  • Upload date:
  • Size: 79.3 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for mcp_agent_tester-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c9f8d55d5ba147650ee410a3a899431f200e0d46f126256a1557cea564e4f515
MD5 57f8fdf146b77fab3897ed609352a344
BLAKE2b-256 f7bef0b67beeb58691165314600a9fc5d8af37957d89e5ebd3ae391d446c028b

See more details on using hashes here.

File details

Details for the file mcp_agent_tester-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mcp_agent_tester-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 39.4 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for mcp_agent_tester-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ae8878fda59c11e9ca352f9ad5315e10f792b3383d9a83b2ef133ce9d275af6
MD5 e0e315b7684cb8871253d1d582385627
BLAKE2b-256 02e0cd13188e9cdb0b8efa8c4e6369a4b43879dc0d176ab374e5b0ceecd2b4e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page