Shape
anything into MCP.
The universal bridge between your code and AI agents. Instantly transform legacy protocols into Model Context Protocol servers.
Your code already has the structure.
Every TypeScript function, every SQL table, every GraphQL type — they already describe exactly what your agent needs to know. You're just not speaking MCP yet.
return db.users.find({ id });
}
"name": "getUser",
"inputSchema": {
"type": "object",
"properties": { "id": { "type": "string" } }
}
}
What are you starting with?
Pick your input type and go straight to the right tool.
Not sure? Try the MCP Inspector →
The MCP pipeline.
ShapeMCP tools work in sequence — from raw source to validated, agent-ready output.
13 tools.
Each one converts a different input into agent-ready output.
TypeScript → MCP
Parse exported functions into complete MCP tool definitions.
Universal Schema
SQL, Prisma, GraphQL → proper MCP input/output schemas.
MCP Linter
Validate your tool arrays and schemas against best practices.
MCP Tool Composer
Graphically build an MCP server setup from scratch.
JSON → MCP Schema
Feed it an API response, get the exact outputSchema needed.
Multi-MCP Conflicts
Safely combine toolsets by detecting name and signature collisions.
.env → MCP Config
Generate secure Cursor/Claude server config fragments directly.
TS Interface → MCP
Extract inputSchema definitions straight from type declarations.
MCP Inspector★ Recommended
Call and debug dynamic MCP servers fully within the browser.
Injection ScannerNew
Detect prompt injection patterns, exfiltration commands, and hidden instructions in MCP tool definitions.
Risk ScorerNew
Score MCP tools 0–100 based on capability risk — shell access, file writes, credentials, and 10+ signals.
How it works.
Paste your input
Drop in a TypeScript file, SQL schema, GraphQL type, .env file, or raw JSON. ShapeMCP auto-detects the format.
ShapeMCP converts it
Pure deterministic parsing. Deep static analysis. No network call. The TypeScript compiler API, SQL parser, GraphQL parser — all running in milliseconds.
Copy your MCP output
Get MCP tool definitions, JSON Schemas, server configs — ready to paste into Claude, Cursor, Windsurf, or your own agent.
Secure, deterministic output.
Every conversion is deterministic. Same input, same output, every single time. 100% private. No external API costs. No rate limits. Works offline.
Test any MCP server.
Paste a remote MCP server URL. ShapeMCP discovers all tools automatically, renders a test form for each one, calls them live, and scores their quality — all in the browser.
→ Try MCP TesterAPI → MCP Bridge.
Search the largest directory of public APIs or bridge your own. Get instant MCP URLs, auto-generated schemas, and live documentation for any REST endpoint.
→ Search APIs