Real-time Context
Provide AI systems with live, relevant context from your applications and data sources.
Model Context Protocol enables seamless integration between AI applications and data sources. Build powerful, context-aware AI experiences that adapt to your workflow.
Connect any data source to any AI application with standardized protocols
Provide AI systems with live, relevant context from your applications and data sources.
Standard interface that works across different AI platforms and data sources.
Built-in security features ensure your data remains protected during AI interactions.
Get started with just a few lines of code. MCP handles the complexity of AI-data integration so you can focus on building great experiences.
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
const server = new Server(
{
name: 'example-server',
version: '0.1.0',
},
{
capabilities: {
resources: {},
tools: {},
},
}
);
// Add your resources and tools
server.setRequestHandler(ListResourcesRequestSchema, async () => {
return {
resources: [
{
uri: 'file://example.txt',
name: 'Example Resource',
mimeType: 'text/plain',
},
],
};
});
// Start the server
const transport = new StdioServerTransport();
await server.connect(transport);
Join developers building the next generation of AI-powered applications