Skip to main content

Cursor Integration

Connect apitree to Cursor IDE so your AI coding assistant can discover and call APIs while building your project.

Setup

Create .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "apitree": {
      "url": "https://apitree.ai/api/mcp",
      "headers": { "Authorization": "Bearer nxs_live_..." }
    }
  }
}

Usage

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.

apitree · AI-Native API Marketplace