MCP Integrations
Building Integrations
How to build a custom MCP server for Cosmo.
You can extend Cosmo by building custom MCP servers. An MCP server exposes tools, resources, and prompts that the AI can use during conversations.
Architecture
Getting Started
Create an MCP server using the @modelcontextprotocol/sdk:
npm install @modelcontextprotocol/sdk