Fetch Mcp Tools
POST/api/v1/policies/fetch_mcp_tools
Fetch available tools from an MCP server using sequential requests.
Makes three requests in sequence:
- initialize - establish session and negotiate protocol
- notifications/initialized - signal ready for operations
- tools/list - get the actual tools list
Query Parameters
use_cache: optional boolean
Body Parameters
mcp_url: string
The MCP server URL to fetch tools from
Fetch Mcp Tools
curl http://api-staging.overmind.ai/api/v1/policies/fetch_mcp_tools \
-H 'Content-Type: application/json' \
-d '{
"mcp_url": "mcp_url"
}'{
"foo": "bar"
}Returns Examples
{
"foo": "bar"
}