# Cursor — MCP server on mcp.ai > Connect your Cursor account and use 5 tools for developer tools straight from your AI agent. Connect with your own API key. Cursor is an AI-powered code editor built on VSCode. The API provides access to Cloud Agents, Admin, Analytics, and AI Code Tracking features. By: mcp.ai · official Page: https://mcp.ai/cursor ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_cursor?ms=1787293740000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/cursor/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/cursor/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/cursor/skill.md Postman collection (v2.1): https://mcp.ai/cursor/postman.json ## Tools - cursor_get_agent_conversation(id: string) — Tool to retrieve the conversation history for a specific cloud agent. Use when you need to view the messages exchanged between the user and the agent. Returns error with status 404 if the agent is not - cursor_get_me() — Tool to retrieve API key information including the key name, creation date, and owner email. Use when you need to verify API key details or validate authentication. - cursor_list_agents(limit?: integer, cursor?: string) — Tool to retrieve a paginated list of all Cursor Cloud agents. Use when you need to view existing agents, their status, or iterate through agents with pagination. - cursor_list_models() — Tool to retrieve the list of available AI models in Cursor. Use when you need to discover which models are available for API requests. - cursor_list_repositories() — Tool to list GitHub repositories accessible to the authenticated user. Use when you need to retrieve all repositories the user has access to through their Cursor account. ## Example prompts - "What can I do in Cursor?" - "Show me a summary of my Cursor account" ## Links Docs: https://mcp.ai/docs/mcps/cursor Website: https://mcp.ai/mcps/cursor