Skip to main content

MCP

Squid can connect to an external MCP server or a customized Squid MCP Server to help define tools and actions for your AI agents.

What is MCP?

MCP (Model Context Protocol) is an open protocol to facilitate communication between AI agents and external services. It allows Squid AI agents to access tools and perform actions by connecting to an MCP server, which exposes various functionalities through defined tools.

To learn more about creating an MCP server in Squid, check out our MCP Server documentation.

Setting up the connector

To set up the MCP connector in Squid, complete the following setup steps:

  1. Navigate to the Squid Console and select your desired Squid application.
  2. Click the Connectors tab.
  3. Click Available Connectors and find the MCP connector. Then Click Add Connector.
  4. Provide the following details:
  • Connector ID: A unique ID of your choice. It is best to keep it brief and meaningful

  • MCP URL: The MCP endpoint URL provided by the external MCP server or your customized Squid MCP server. Finding your Squid MCP server URL is dependent on your development environment:

    • If you are developing locally, your MCP URL will be logged in your terminal under MCP Servers.
    • If you have deployed your backend, navigate to the Backend tab in the console and locate the MCP URL under MCP Servers.
  • Authorization (Optional): Toggle on to automatically inject an authorization key-value pair with all of your MCP requests. This can be useful for including auth credentials that may be required by the MCP server.

  1. Click Test Connection to test your connection to the server. If the connection fails, verify the value of your MCP URL and authorization header if you added one.
  2. Once the connection is successful, click Add Connector.