Connect apitree to Cursor IDE so your AI coding assistant can discover and call APIs while building your project.
Create .cursor/mcp.json in your project root:
{
"mcpServers": {
"apitree": {
"command": "npx",
"args": ["-y", "@apitree/mcp-server"]
}
}
}In Cursor's AI chat, ask naturally:
> "Add weather data to my app using apitree" > "Find a posts API and fetch the first 5 posts" > "What apitree APIs are available for my project?"
Cursor will use the MCP tools to search, discover, and integrate APIs directly into your code.