Get started quickly with these examples and templates. Each example demonstrates different features and use cases of xmcp.
A Next.js application with xmcp and authentication handler
HTTP-based xmcp server with better-auth integration
Next.js app with xmcp and better-auth integration
Configure custom file paths for xmcp tools directory
Customize webpack configuration for xmcp builds
Access and utilize HTTP request headers in xmcp tool calls
Learn how to set up an xmcp server using HTTP transport
Secure your xmcp server with API key authentication middleware
Chain multiple middlewares together in xmcp servers
Create custom middleware functions for xmcp servers
Implement JWT token validation middleware for xmcp servers
Complete OAuth provider implementation with xmcp [experimental]
Build a command-line xmcp server using STDIO transport
Modify the template config in the xmcp.config.ts file.
Build a Node.js Express server with xmcp's adapter
Integrate xmcp into a Next.js application using the adapter