MCP Protocol Overview
Moraya implements the Model Context Protocol (MCP) client, allowing you to connect external tools and data sources to the AI assistant.
What is MCP?
MCP is an open protocol for connecting AI models to external tools, resources, and data. It provides a standardized way for the AI to invoke functions, read files, query databases, and more.
Managing MCP Servers
Open Settings (Cmd+,) > MCP tab to manage your MCP server connections. You can:
- Add new MCP servers
- Configure connection parameters
- Connect and disconnect servers
- View available tools from connected servers
Supported Transports
Moraya supports three MCP transport mechanisms. See MCP Transports for details.
| Transport | Protocol | Use Case |
|---|---|---|
| stdio | stdin/stdout | Local command-line tools |
| SSE | Server-Sent Events | Long-running remote servers |
| HTTP | JSON-RPC POST | Stateless REST APIs |