File System Routing
Automatically register tools, prompts, and resources with zero configuration.
Build and ship MCP servers with the code you already know. Give AI applications access to your tools, data, and workflows. Write TypeScript functions; xmcp handles the protocol, validation, and transport.
Build your first TypeScript MCP server · Compare MCP frameworks
Three primitives connect your application to an AI client. Explore each one in the docs.
Everything you need to set up fast, customize with ease, and connect your apps.
Automatically register tools, prompts, and resources with zero configuration.
Secure access with Better Auth's integration and monetize with Polar.
Add authentication, logging, or custom logic to intercept and process requests and responses.
Customize every aspect of your MCP server with flexible configuration options.
Build and deploy servers with HTTP or STDIO transport protocols out of the box.
Initialize xmcp directly in your existing Next.js or Express projects with one command.
From a new project to a running server in four steps.
The 2026-07-28 MCP revision removed sessions and the initialize handshake. Here is what changed, what it means for your server, and how to keep state across tool calls without a session.
How an MCP tool pauses to ask the user a question in the 2026-07-28 protocol: return an input_required result, let the client collect the answer, and finish on the retry.
Agent Skills are folders of instructions an agent loads when a task calls for them. Learn how the MCP Skills extension publishes them from your server and how to ship one with xmcp.
How to add role-based access control to an MCP server: hide tools, prompts, and resources a caller is not allowed to use, and reject direct calls, with one authorize policy in xmcp.