xmcp
The TypeScript MCP framework
Documentation
The TypeScript MCP Framework
`xmcp` is a framework for building and shipping MCP servers with TypeScript. Designed with DX in mind, it streamlines development and lowers the barrier to entry for anyone looking to create and deploy powerful tools on top of the Model Context Protocol ecosystem.
Getting Started
Bootstrap your first `xmcp` application with:
npx create-xmcp-app@latestor initialize `xmcp` on an existing Next.js or Express project with:
npx init-xmcp@latestFeatures
⊹ File System Routing - Tools and prompts are auto-registered from a `tools` and `prompts` directory\
⊹ Hot Reloading - Instant development feedback\
⊹ Middlewares - Toolkit for shipping authentication and custom middlewares\
⊹ Extensible Configuration - Customizable configuration for your MCP server\
⊹ Deploy Anywhere - Flexible deployment across any platform\
⊹ Vercel Support - Zero-configuration deployment with Vercel
Learn more
⊹ Visit xmcp.dev to learn more about the project.\
⊹ Visit xmcp.dev/docs to view the full documentation.
Security
If you believe you have found a security vulnerability, we encourage you to let us know right away.
We will investigate all legitimate reports and do our best to quickly fix the problem.
Please report any vulnerabilities in our open source repositories to security@xmcp.dev.
Frequently asked questions
What is xmcp?
xmcp is The TypeScript MCP framework
How do I install xmcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is xmcp open source?
Yes — it is hosted on GitHub at https://github.com/basementstudio/xmcp and has 1,326 stars.
Related MCP tools
A mcp server to allow LLMS gain context about shadcn ui component structure,usage and installation,compaitable with react,svelte 5,vue & React Native
MCP server that enables AI assistants to interact with Google Gemini CLI, leveraging Gemini's massive token window for large file analysis and codebase understanding
Testing and evaluation platform to chat, inspect, and debug MCP servers, MCP apps, and ChatGPT apps.
Browser automation clicks buttons. OpenTabs calls APIs.
Code research platform for AI agents; find, understand, and prove context across your code and all of GitHub, in a fraction of the tokens. One toolset, MCP or CLI
Open-source cross-agent memory layer for coding agents via MCP. Compatible with Claude Code, Codex, Cursor, Windsurf, Gemini CLI, Antigravity, OpenClaw, Hermes Agent, Oh-my-Pi, Pi, Copilot, Kiro, OpenCode, and Trae.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP