What is ShapeMCP?
Overview
ShapeMCP is a deterministic utility for converting structured metadata—code, schemas, environment variables, and configuration—directly into Model Context Protocol (MCP) tool payloads and definitions. It is secure, private, and deterministic. All conversion happens via standard AST parsing and traversal; no execution of your business logic or database queries occurs on our side.
MCP (Model Context Protocol) is an open protocol that lets AI assistants like Claude and Cursor discover and call tools. Each tool is described by a name, description, and a JSON Schema for its parameters. ShapeMCP bridges the gap between your existing artifacts (TypeScript, SQL, GraphQL, Prisma, .env, OpenAPI-style APIs) and the exact JSON structures that MCP requires.
Security & privacy
Your code and data stay under your control. When you use the browser-based tools, parsing and conversion run locally in your browser. When you use the API routes (e.g. on your own deployment), processing runs on your infrastructure. No telemetry or logging of your source code is required for the conversion to work.
Deterministic conversion
Given the same input, ShapeMCP always produces the same output. This makes it suitable for CI/CD, documentation generation, and reproducible agent setups. There is no model inference or guessing—only rule-based extraction and mapping.