Model Context Protocol (MCP)
The Model Context Protocol (MCP) is an open standard for connecting AI systems to external tools and data sources. nunq supports MCP, allowing you to extend the platform with custom integrations.
What is MCP?
MCP provides a standardized way for AI models to discover and use external tools. Instead of building custom integrations for every service, MCP defines a common protocol that any tool provider can implement. The AI can then automatically discover what tools are available and use them during conversations.
Connecting to an MCP Server
To connect nunq to a remote MCP server:
- Navigate to the Admin section or your assistant's tool configuration.
- Select Add MCP Server.
- Enter the MCP server URL.
- Configure authentication (see below).
- Save the connection.
Once connected, nunq queries the MCP server to discover all available tools. These tools are then listed in the tool picker.
Authentication Options
MCP servers may require authentication. nunq supports the following methods:
- OAuth: For MCP servers that use OAuth 2.0 flows. nunq will redirect you to the provider's authorization page. See OAuth Connections for more details.
- API keys: For MCP servers that authenticate using static API keys. Enter the key in the connection settings.
The appropriate method depends on the MCP server you are connecting to.
Using MCP Tools
After connecting an MCP server, the discovered tools appear in the tool picker and can be assigned to assistants:
- Open an assistant's configuration.
- In the Tools section, select the MCP tools you want the assistant to use.
- Save the assistant.
During conversations, the AI will automatically use the assigned MCP tools when they are relevant to the user's question. For example, if a user asks about data stored in an external system and an MCP tool can retrieve that data, the AI will call the tool and include the results in its response.
Tool Discovery
When you connect to an MCP server, nunq automatically retrieves the list of available tools along with their descriptions and parameter schemas. This means you do not need to manually configure each tool. If the MCP server adds new tools, they will be discovered on the next synchronization.
