Agent - Custom MCP
Overview
Custom MCP Source allows user to connect to any remotely hosted MCP servers and use it during chatting. If you want to learn more about MCP visit https://modelcontextprotocol.io/docs/learn/architecture
Configuration
Navigate to System Settings > Sources and press Add
Fill in Title
Fill in Description (optional)
Choose Custom MCP as a source
Fill in the URL with the full URL to the MCP server. For example
https://mcp.tavily.com/mcpChoose the authorization type in Type field and provide required details.
Configure Authorization
If the server is publicly open, meaning you do not need to authorize to use it, then choose None as a Type
API Key
If the server is configured to accept API key, then choose API Key as a Type.
Provide the API key value
Provide Location of the API key.
API Key in Header
Choose Header as a Key location
Fill in Key name. If the server accepts a header in form
x-api-key=api_key_valueKey name will bex-api-key.
API Key in Query
Choose Query as a Key location
Fill in Key name. If servers accepts API key as query parameter in form
x-api-key=api_key_valuefor examplehttps://mcp.server.com?x-api-key=api_key_valuethen Key location
If servers accepts API key as query parameter in form x-api-key=api_key_value for example https://mcp.server.com?x-api-key=api_key_value then Key location will be Query and Key name will be x-api-key.
OAuth
If the server is configured to use OAuth, then choose OAuth as type. Server needs to meet standards described here https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization
If the server supports dynamic client registration, then you can leave Client ID and Client Secret empty. If not, then Client ID needs to be provided and Client Secret if required.