Integrate Contextual MCP server with compatible clients including OpenAI, Cursor IDE, and Claude Desktop
https://mcp.app.contextual.ai/mcp
https://mcp.app.contextual.ai/mcp
. Select None
for Authentication. Click Connect..cursor/mcp.json
in your project directory~/.cursor/mcp.json
for system-wide accesspip install fastmcp
python test_script.py
API_KEY
: Your Contextual AI API keyAGENT_ID
: Your Contextual AI agent ID.env
file you can specify them like so:
uv
installation:.cursor/mcp.json
in your project directory~/.cursor/mcp.json
for system-wide accessuv
for dependency management, which provides faster and more reliable Python package installation.