MCP Tool Tester
Validate a WebMCP tool definition's name, description and inputSchema, generate a test form from the schema, and mock a call locally.
MCP Tool Tester
Definition editor
Validation
✓ Valid✓ All checks passed — definition is valid.
Mock execution
{
"name": "searchProducts",
"arguments": {
"query": "wireless headphones",
"limit": 5,
"category": "electronics"
}
}{
"content": [
{
"type": "text",
"text": "Mock response for tool 'searchProducts' with inputs: {\"query\":\"wireless headphones\",\"limit\":5,\"category\":\"electronics\"}"
}
]
}Integration guidance
Use this definition directly in browser integrations. For production discovery, publish a manifest at /.well-known/webmcp.json.
navigator.modelContext?.registerTool?.({
"name": "searchProducts",
"description": "Search the product catalog by keyword, category, and result limit.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query string"
},
"limit": {
"type": "number",
"description": "Maximum number of results to return"
},
"category": {
"type": "string",
"description": "Product category filter",
"enum": [
"electronics",
"books",
"clothing",
"home"
]
}
},
"required": [
"query"
]
}
});Updated . Provided as is. Check the output before you rely on it in production.
How to use MCP Tool Tester
- 1
Paste a tool definition
Paste the object you pass to navigator.modelContext.registerTool(), with name, description and inputSchema, or load a sample.
- 2
Fix validation findings
Errors flag missing fields and invalid schemas; warnings flag long descriptions and a missing required array.
- 3
Run a mock call
Fill the form generated from the inputSchema and execute to see the request an agent would send and the response envelope.
- 4
Preview discovery
See how the tool appears to an agent enumerating navigator.modelContext.tools, then copy or download the definition.
Questions and answers
What is MCP Tool Tester?
Does it call my real tool?
Is my definition uploaded?
For AI agents: how to call this tool
Machine-readable contract, endpoints and examples. Humans can ignore this section.
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/mcp-tool-tester/
For automation planning, fetch the canonical contract at /api/tool/mcp-tool-tester.json.