cursor-agent-mcp

cursor-agent-mcp

MCP bridge from OpenCode to Cursor agent CLI, enabling code review, debugging, and planning via Cursor cloud.

Category
Visit Server

README

cursor-agent-mcp

MCP-мост OpenCode → Cursor agent CLI (обратное направление к delegate-mcp).

Кто кому

Направление MCP
Cursor IDE → OpenCode delegate-mcp
OpenCode → Cursor cloud cursor-agent-mcp
VP контекст vp-local-project

Ответ cursor_* только в OpenCode (JSON tool result), не в чат Cursor IDE.

Decision tree

Задача Tool Параметры
VP rules / contracts vp-local-project
Git diff review cursor_review workspace, extra?
Debug симптом cursor_debug symptom, module?
План / merge / git strategy cursor_ask mode=plan, без allow_edits
Облако правит файлы cursor_ask mode=default, allow_edits=true

Не использовать: cursor_debug для merge; plan + allow_edits=true (сервер игнорирует force).

Tools

Tool Назначение
cursor_guidelines Playbook v1.1 — если сомневаешься
cursor_health agent CLI + auth + busy
cursor_ask One-shot (см. decision tree)
cursor_review Code review diff
cursor_debug Hypothesis table only

Лимит: 1 sync cursor_* / turn. Latency: 15s–5min.

Setup

cd E:\Software\OpenServer\domains\cursor-agent-mcp
npm install && npm run build
# agent login  OR  copy .env.example .env + CURSOR_API_KEY

OpenCode: ~/.config/opencode/opencode.jsonccursor-agent. После правок: restart Desktop + новая сессия.

Примеры

cursor_guidelines()
cursor_health()
cursor_review({ workspace: "E:/Software/OpenServer/domains/vp" })
cursor_debug({ symptom: "validate падает на stone после save", module: "validation" })
cursor_ask({ prompt: "План merge .gitignore Makefile composer.lock", mode: "plan" })

Auth

agent login на этой машине или CURSOR_API_KEY в .env.

Связанные файлы

  • vp/.opencode/AGENTS.md — инструкции OpenCode
  • domains/.cursor/rules/opencode-mcp-routing.mdc — routing rule

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured