MCP Servers
Connect to Model Context Protocol (MCP) servers to extend agent capabilities with external tool providers and dynamic tool discovery.
What is MCP?
MCP (Model Context Protocol) is a standard for connecting AI agents to external tool servers. Instead of manually registering each tool, you connect to an MCP server and it automatically discovers all available tools.
Connect to an MCP Server
Connect MCP Serverbash
curl -X POST http://localhost:8000/api/v1/mcp/servers \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"name": "my-mcp-server",
"url": "https://mcp-server.example.com",
"auth_type": "bearer",
"auth_token": "MCP_SERVER_TOKEN"
}'Discover Tools
Discover MCP Toolsbash
# Discover available tools from the server
curl -X POST http://localhost:8000/api/v1/mcp/servers/SERVER_ID/discover \
-H "Authorization: Bearer YOUR_API_KEY"Auto-Discovery
When you connect an MCP server, Fluxgate automatically discovers all available tools and makes them available for agent binding. Tools are refreshed periodically.