Create MCP Servers
Copy page
Learn how to create and deploy MCP servers
MCP servers enable your agents to fetch real-time information and take action on your systems, services, and applications. This guide covers multiple approaches to creating and deploying MCP servers for your agents.
Out-of-the-box servers
The fastest way to get started is by connecting to existing MCP servers provided directly by SaaS providers that offer them.
MCPs with OAuth 2.1/PKCE support
These servers often implement OAuth 2.1 with PKCE for secure authentication that allow for "1-click" authentication without the need to manually create API keys or credentials.
Here's a list of popular service-maintained MCP Servers that support "1-click" install with OAuth 2.1/PKCE authentication.
To add them to your Inkeep Project, use the Visual Builder.
Build Your Own
Creating custom MCP servers gives you complete control over functionality and integration with your internal systems.
Using Vercel Template
Vercel provides a Next.js MCP template that makes it easy to deploy MCP servers with serverless functions.
Vercel's template provides:
- Easy to deploy staging environments
- Serverless deployment for automatic scaling with Vercel Functions
- SSE transport for eal-time streaming (requires Redis for state management)
- Next.js integration so MCPs can be added as part of existing Next.js apps
Quick start
Enable Fluid compute and set maxDuration
to 800 in app/route.ts
if you're on a Pro or Enterprise plan and have long-running operations.
Using Gram
Speakeasy Gram provides a lightweight open source framework for repurposing and remixing existing APIs into MCP Servers.
Using Anthropic's MCP SDKs
See Anthropic's official MCP SDKs for low-level building blocks for creating MCP servers in multiple languages like TypeScript, Python and Go.
TypeScript example
Use MCP Server Libraries
For rapid development, leverage existing MCP server libraries that provide pre-built integrations.
Composio
Composio offers a platform for building and managing MCP servers with access to 10,000+ pre-built tools and integrations.
Quick integration
Follow Composio's MCP Gateway setup to obtain your MCP server URL and credentials. Then register it as a tool in your project:
Next Steps
Once you create your MCP server, register it and manage its credentials:
Visual Builder - MCP Servers
Configure and manage MCP servers in the Visual Builder.
Visual Builder - Credentials
Add and manage credentials, including OAuth 2.1/PKCE.
TypeScript SDK - MCP Servers
Register and use MCP servers programmatically.
TypeScript SDK - Credentials
Reference credentials in code for secure access.