Skip to content

Cursor Integration

stdio

In Cursor settings, add the MCP server:

json
{
  "mcpServers": {
    "swag2mcp": {
      "command": "swag2mcp",
      "args": ["mcp"]
    }
  }
}

Usage

After connecting, Cursor AI Agent can:

  • Explore your APIs
  • Find relevant endpoints
  • Call APIs and show results
  • Help debug requests