docs/publishing/guides/ts-xmcp.mdx
xmcp is an excellent OSS TS framework for deploying MCP servers, with a familiar DX to Next.js and deployed to Vercel.
npx create-xmcp-app@latest
Follow xmcp's quickstart guide for more details.
<Note> Make sure that the MCP server has the Streamable HTTP transport enabled (it's enabled by default). </Note>You should be able to run your MCP server locally with xmcp dev and see the
MCP server running at http://localhost:3002/mcp.
Deploy your MCP server publicly (we recommend Vercel for xmcp):
xmcp build --vercel
vercel deploy --prod --prebuilt
Now that you have a publicly available MCP server, you can follow the existing MCP server guide to deploy it to Agentic.