Everything we shipped so far
It’s been five months since we launched xmcp, and we’re excited to share that we’ve reached 100K downloads. Here’s a recap of what we’ve shipped so far.
GPT Apps
Build apps that run directly inside ChatGPT. xmcp integrates with OpenAI's Apps SDK, so your tools can return interactive widgets.
Arcade Tool
The arcade tool displays a retro arcade game selection interface:
A full breakdown of the project is available in the Running DOOM in ChatGPT blog post.
React Client Components
Tools can return React components that xmcp renders to HTML and serves as widget resources. Enable this by setting widgetAccessible: true in your metadata.
Find out more in the React Client Components documentation.
Connect to external MCPs
Use MCP servers over HTTP or STDIO, then turn their tools into building blocks for yours.
Define clients in src/clients.ts:
Then generate typed clients:
You will find the generated clients in the src/generated directory. Then you can import them in your tools:
Learn more in Connect to external MCPs.
Next.js Adapter
Bring xmcp to your existing Next.js application with a single command:
After running it, your project structure would look like this:
The package.json scripts will be modified to run xmcp alongside Next.js, while tsconfig.json will be updated to include the xmcp folder in its paths.
See the Next.js adapter documentation for setup details and authentication.
Authentication
xmcp integrates with Better Auth, adding authentication mcp server with email/password login, OAuth providers, and session management out of the box.
You need to install the Better Auth plugin
Afterwards, you can configure the middleware with your database and auth providers in src/middleware.ts:
Access the authenticated user in your tools with getBetterAuthSession:
See Integrating Better Auth with xmcp for database schema and OAuth setup, or visit the Better Auth docs.
Monetization
Checkout inside GPT Apps
Create product listings and handle payments in ChatGPT with Stripe.
Read Monetize your GPT apps with Stripe for the complete walkthrough.
Tools subscription-based access
Paywall your tools or meter usage with Polar:
Learn about paywalling tools in Integrating Polar with xmcp.
What's next?
We're just getting started. Join us on GitHub to share feedback, report issues, or contribute. Questions? Come chat on Discord.