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
runs/
Quickstart
pip install mcp-agent-tester
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.
Or from source:
pip install uv
uv sync
uv run mcp-agent-tester ui
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."
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_agent_tester-0.1.0.tar.gz.
File metadata
- Download URL: mcp_agent_tester-0.1.0.tar.gz
- Upload date:
- Size: 79.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6f89d571b47f339f36eac5726908d0583fc43531e7608342f937757f4eb707c
|
|
| MD5 |
55915e32c952916e0083fc541eeb08ea
|
|
| BLAKE2b-256 |
c548d70af9b465ce385b8dde0f08fe60e0796836a878a48f5aa86fc4e25269d3
|
File details
Details for the file mcp_agent_tester-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_agent_tester-0.1.0-py3-none-any.whl
- Upload date:
- Size: 39.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49d339e6e4ec083489f4e94c6b822221fab71445e550bd3af49d373101f899b7
|
|
| MD5 |
c9a07b13f47155e22ead63569b22d37b
|
|
| BLAKE2b-256 |
b94b6332042cb4ed7abd304fd66138325e6ebfa635dcee082f827e05587e8dca
|