MCP Servers
The Model Context Protocol (MCP) extends AI capabilities with external tools. Connect MCP servers to give your AI access to specialized functions like web search, file operations, API integrations, and more.
What is MCP?
Section titled “What is MCP?”MCP is a standard protocol that lets AI models interact with external tools and services. MCP servers provide:
- Tools - Functions the AI can call (search, calculate, fetch data)
- Resources - Data the AI can access (files, databases, APIs)
- Prompts - Pre-built prompt templates
Server Types
Section titled “Server Types”Catalyst supports three types of MCP servers:
Local processes that communicate via standard input/output. Good for:
- Local development tools
- File system access
- Command-line utilities
Web-based servers accessed via HTTP requests. Good for:
- Remote services
- Cloud-hosted tools
- REST API integrations
SSE (Server-Sent Events)
Section titled “SSE (Server-Sent Events)”Real-time streaming connections. Good for:
- Live data feeds
- Long-running operations
- Real-time updates
Adding an MCP Server
Section titled “Adding an MCP Server”- Navigate to MCP Servers from the sidebar menu
- Click Add Server
- Configure the server:
- Name - A friendly name
- Type - STDIO, HTTP, or SSE
- Configuration - Connection details (varies by type)
HTTP Server Example
Section titled “HTTP Server Example”Name: My Web SearchType: HTTPURL: https://mcp.example.comSTDIO Server Example
Section titled “STDIO Server Example”Name: Local ToolsType: STDIOCommand: npx @modelcontextprotocol/server-filesystemAuthentication
Section titled “Authentication”MCP servers may require authentication:
Bearer Token
Section titled “Bearer Token”Enter your API token in the authentication section. The token is sent with each request.
HTTP Basic Auth
Section titled “HTTP Basic Auth”Provide a username and password for basic authentication.
For servers requiring OAuth:
- Click Setup OAuth on the server page
- You’ll be redirected to authorize access
- Tokens are stored and refreshed automatically
Using MCP Tools
Section titled “Using MCP Tools”In Chat
Section titled “In Chat”- Open a chat session
- Click the Tools dropdown in the input area
- Select tools from your connected MCP servers
- The AI can now use those tools when responding
In Prompts
Section titled “In Prompts”- Open a prompt template
- Click Add MCP Tool in the tools panel
- Select tools to make available
- Tool information is included in the template context
Server Status
Section titled “Server Status”The server list shows connection status:
- Active - Connected and ready
- Inactive - Not connected
- Error - Connection failed
- Connecting - Establishing connection
Click Initialize to connect to an inactive server.
Testing Tools
Section titled “Testing Tools”Test tools before using them in production:
- Open the server detail page
- Click Test on any tool
- Enter test parameters
- View the tool’s response
Managing Servers
Section titled “Managing Servers”Disconnect
Section titled “Disconnect”Click Disconnect to close the connection to a server. You can reconnect later.
Health Check
Section titled “Health Check”Use the health check to verify a server is responding correctly.
Delete
Section titled “Delete”Remove a server and all its stored configuration.
Popular MCP Servers
Section titled “Popular MCP Servers”Some commonly used MCP servers:
- Filesystem - Read and write local files
- GitHub - Interact with GitHub repositories
- Slack - Send messages and read channels
- Google Drive - Access Google Drive files
- PostgreSQL - Direct database queries
Check MCP Server Registry for more options.
Troubleshooting
Section titled “Troubleshooting”Server Won’t Connect
Section titled “Server Won’t Connect”- Verify the URL or command is correct
- Check authentication credentials
- Ensure the server is running
- Check network/firewall settings
Tools Not Appearing
Section titled “Tools Not Appearing”- Refresh the server connection
- Check server logs for errors
- Verify the server supports tool discovery
OAuth Errors
Section titled “OAuth Errors”- Re-authorize the connection
- Check token expiration
- Verify OAuth client configuration