Use MCP Server
1
Create an MCP Server Source
- Navigate to API Integration Hub > API Connections
- Click Create Connection
-
Select MCP Server from the connection type list

- Click Add New to create a new MCP server source

You can create, edit, and delete sources from the Sources page in the API Integration Hub
2
Configure the MCP server
Configure the MCP server:
- URL: Enter the URL of your MCP server
- Authentication Method: Select or create an authentication method for the server

You can reuse MCP server sources across multiple API connections. Once created, they appear in the MCP server dropdown for future connections.
3
Select a Tool
After configuring the MCP server source, select the tool you want to use:
- Browse available tools from the MCP server
- Select the tool you want to connect
- The tool’s name and purpose are automatically populated from the MCP server response

MCP servers expose tools that are already designed for LLM use, so the request and response schemas are typically well-structured for GenerativeAgent. You may still configure request and response transformations if needed, but they’re often unnecessary.
4
Link to Functions
Once your MCP server connection is configured, reference it in a Function to enable GenerativeAgent to use the MCP tool.
Configure Request and Response Interfaces
Since MCP servers are designed for LLM interaction, transformations are often not needed. However, you can still configure:- Request Interface: Modify how GenerativeAgent sends data to the tool
- Response Interface: Transform the tool’s response format
MCP Server Schema Changes
MCP servers are unversioned. When you update the schema of your MCP tools, the existing MCP server source in your system continues to use the original schema. To incorporate schema changes:- Create a new MCP server source with the same URL and authentication
- The new source will fetch and use the updated schema from your MCP server
- Update your API connections to reference the new MCP server source instead of the old one