Analyze your MCP server
Test your Model Context Protocol (MCP) server with simulated users and AI client agents. Find which tasks work, where agents fail, and what tool changes help.
Before you begin
Make sure you have the following before you start:
- An organization workspace in Runtype.
- An MCP server at a public HTTPS URL that supports streamable HTTP transport. To test a local server, see Test against your real agent.
- OAuth sign-in or a bearer token, if your server requires authentication.
Import your MCP server
Runtype reads your server’s tools and drafts an Agent experience simulation. It doesn’t change your server.
To import your MCP server, follow these steps:
- In the Runtype dashboard, open Simulations.
- Click New simulation and select the Import from a URL tab.
- Keep MCP server selected.
- In the Address field, enter your server URL, for example
https://mcp.example.com/mcp. - Click Import and draft.
- If your server requires authentication, complete the sign-in panel that appears:
- Optional: edit Save the connection as to set the connection name (up to 128 characters).
- To authenticate with OAuth, click Sign in and complete sign-in in the popup window.
- To use a bearer token, or if the server doesn’t offer OAuth, click Use a token, paste the token in Token, and click Save token and read the server.
Runtype saves any credentials and opens the Agent experience draft.
If Runtype refuses the address or credentials, check the error message in the form:
- Unreachable or private address (starts with
Runtype can't reach this address:): enter a public HTTPS URL, or relay a local server. - Tools unreadable (starts with
Runtype could not read the tools of): confirm the URL points to an MCP server that lists its tools over streamable HTTP. - No OAuth on the server (
This server does not offer sign-in. Use a token instead.): click Use a token, paste a bearer token in Token, and click Save token and read the server. - Connection name already in use (states that a saved connection already points at another server): enter a different name in Save the connection as, or rename or remove the saved connection.
Review the draft and start the run
Runtype drafts simulated users and tasks from your server’s tool list, plus your website’s homepage when the server is on your own domain. To review the plan and start the run, follow these steps:
- Under What you’re comparing, review the client models (Claude, GPT, and Gemini by default). Remove any model you want to exclude, or click Add back to restore it.
- Under Who tries it, remove any drafted simulated users that don’t match your audience.
- Under What they try, remove tasks you don’t need, or click Redraft tasks to generate a new set.
- Under Tools the client agents see, check which tools run live:
- Read-only, run for real: tools marked read-only (
readOnlyHint: true) run against your live server. - Write tools, stubbed: tools not marked read-only are stubbed by default, returning a fixed reply without calling your server. To send write calls live, select Send write tools for real on this run. If a conversation calls only stubbed write tools, it isn’t scored and shows No tool data. Mark tools that only read data with
readOnlyHint: trueso they run for real.
- Read-only, run for real: tools marked read-only (
- Under How thorough, change the run settings if needed:
- Tries per pairing: set 1 to 10 tries per pairing (defaults to one). Two or more tries show which results vary across runs.
- Turns per conversation, at most: set 1 to 20 turns (default eight).
- Conversations at once: set 1 to 8 concurrent conversations (default four).
- Optional: click More to change the simulated-user and judge model, set transcript retention (up to 30 days, or numbers only with no transcripts), or set the regression alert threshold.
- In the Estimate panel, click Estimate and run to save the draft and view the conversation count with Low, Expected, and High cost estimates.
- Check Spend cap, which starts at the high estimate.
- Click Run, up to followed by your spend cap (for example, Run, up to $2).
The run continues after you leave the page. Open it from Simulations at any time to view progress or the finished report.
Runs against an MCP server always require spend approval, and the estimate covers model calls only. If spend reaches Spend cap or your credit runs out, Runtype stops starting new conversations. Conversations already running finish, so final spend can pass the cap. For billing details and Connect credit, see Limits and pricing.
What Runtype runs
For each user and task pairing, each selected client model connects to your MCP server over streamable HTTP and works through the task with the simulated user. A judge grades whether each conversation finished, and Runtype records tool choice, argument validity, and error recovery.
Requests to your server carry the Runtype-Simulation/1 (+https://runtype.com/docs/simulations) User-Agent header so you can identify simulation traffic in your logs. If your server lists more than 50 tools, a model provider might reject the tool list. Those conversations end as Client refused the tools and aren’t scored.
Read the report
When the run finishes, the report opens with the verdict at the top and detailed evidence in the sections that follow.
Summary card
The top card shows a verdict badge, a summary sentence, and a recommended next step. On a one-try run, the verdict percentage counts tasks, and a task counts as working only when every tested agent finished it. With multiple tries, the percentage counts conversations instead.
The following table lists the verdict badges for a run of your server as published (percentages count tasks on a one-try run, or conversations with multiple tries):
When a run compares a proposed design against your current server, the summary card compares Today and With this design and lists each proposed change. The following table lists the verdict badges for a design comparison:
How each agent did
How each agent did groups outcomes by Client model across Today and With this design. Each square represents one conversation:
- Done: finished with no tool errors.
- Done after an error: finished after a tool returned an error.
- Didn’t finish: didn’t finish the task.
Conversations that called only stubbed write tools aren’t scored and appear as No tool data (“Not scored: the tools used aren’t marked read-only”). Add readOnlyHint: true to tools that only read data, then run again.
Click a Highlight chip (All, Wrong tool, Invalid arguments, Stuck on an error, or Gave up) to filter failure causes. Under Every conversation, click a square for a summary, then click Open conversation for the full transcript.
Where agents struggle today
Where agents struggle today (or Where agents struggle with this design when only a design ran) summarizes tool problems and lists each tool across the following columns:
- Tool: the tool name.
- Calls: total calls by client agents.
- Right tool picked: how often agents picked the tool when a task needed it.
- Valid arguments: share of calls with valid arguments.
- Errors recovered: how many errored conversations recovered after an error from the tool.
When comparing a design, each cell shows the change from Today to With this design.
Errors agents hit
Errors agents hit lists each distinct error message, its count, and how often agents recovered or stayed stuck. Errors from a simulated design carry the From this design tag, and errors from Runtype carry the From Runtype, not your server tag. Click View on an error to open its conversations.
More fixes to consider
When your tools’ responses could be easier for agents to use, More fixes to consider lists suggestions by tool. To include a suggestion in a staged design, select a design and click Add to design.
Other designs tried
When you test more than one design, or when suggestions haven’t run, Other designs tried lists every other design. Each row shows the design’s task success and result. Click a design, or an item under Suggested, not run yet, to run it, edit it, or view its conversations.
Safety and Run details
If a safety check fails or warns, Safety appears in full with Injection, Writes, and, when checked, Permissions. Otherwise, the safety summary appears inside Run details.
Expand Run details to view the following groups:
- Setup: what ran and how.
- Briefs: exported design briefs.
- Data: transcript retention settings, with Change to update retention.
- Recording: how the run recorded tool answers.
- Caveats: notes on anything that limits the results, such as unpriced models or early stops.
- Runs: earlier runs for this simulation.
Test a proposed design
You can test tool changes in simulation before updating your MCP server code. To draft and test a design, follow these steps:
- On a finished report, click Draft a design or Find better variants. Runtype drafts candidate designs from failed conversations without starting a run.
- Review or edit a proposed design, then run it to compare Today against With this design.
- If the verdict is Promising because too few answers came from your real server, click Record answers to record real responses for the changed tools and run again. If the summary names dropped conversations or partial scenario coverage, run the missing conversations or finish the scenario plan instead.
- When a design reaches Worth shipping and a design brief is available, click Copy instructions or Download to export the Markdown brief.
- Apply the changes to your MCP server, deploy them, and click Run again to confirm the improvement.
Next steps
- Read a simulation report: interpret verdicts, scores, and confidence on agent simulations.
- Test a proposed change: compare proposed changes against a baseline simulation.
- Share a report: share a report from the Share menu, create an unlisted link, or export results.