Skip to content

Add MCP server bridge for Cursor integration#2

Merged
seanebones-lang merged 2 commits into
mainfrom
claude/reconnect-mcp-cursor-j5KLe
Mar 17, 2026
Merged

Add MCP server bridge for Cursor integration#2
seanebones-lang merged 2 commits into
mainfrom
claude/reconnect-mcp-cursor-j5KLe

Conversation

@seanebones-lang
Copy link
Copy Markdown
Owner

Summary

This PR adds a standalone Model Context Protocol (MCP) server that bridges Cursor with the deployed CTO Eleven API, enabling AI-assisted development workflows directly within the Cursor editor.

Key Changes

  • New MCP Server (mcp-server/server.mjs): Implements a complete MCP server with 20+ tools covering:

    • Health checks for platform and agent services
    • AI chat integration (Grok)
    • GitHub repository operations (list, create, tree, push)
    • Code search and git operations (branches, PRs, diffs, commit history)
    • File operations (read, write, delete, list)
    • Web tools (search, browse)
    • Terminal command execution
    • Full-stack workflow automation
    • Self-evolution capabilities
  • Package Configuration (mcp-server/package.json): Defines dependencies on MCP SDK and Zod for schema validation

  • Cursor Configuration (.cursor/mcp.json): Provides MCP server configuration template for Cursor with environment variable placeholders for BASE_URL and GITHUB_TOKEN

  • Build Configuration: Updated .gitignore to use standard node_modules/ pattern

Implementation Details

  • Uses stdio transport for communication between Cursor and the MCP server
  • Supports environment-based configuration (BASE_URL, GITHUB_TOKEN)
  • All tools forward requests to the remote CTO Eleven API with proper header handling
  • Consistent JSON response formatting across all tools
  • Zod schemas provide type safety and validation for all tool parameters

https://claude.ai/code/session_01Qp2SMJThi4ZYTnQgPFL8kq

claude added 2 commits March 10, 2026 17:15
Creates a stdio-based MCP server that bridges Cursor to the deployed
CTO Eleven API without modifying the app. Exposes 21 tools including
GitHub ops, file management, git operations, web search, terminal,
chat, and full-stack workflow.

https://claude.ai/code/session_01Qp2SMJThi4ZYTnQgPFL8kq
Change /node_modules (root only) to node_modules/ so nested
directories like mcp-server/node_modules are also ignored.

https://claude.ai/code/session_01Qp2SMJThi4ZYTnQgPFL8kq
@seanebones-lang seanebones-lang merged commit 08f576f into main Mar 17, 2026
1 check failed
@seanebones-lang seanebones-lang deleted the claude/reconnect-mcp-cursor-j5KLe branch March 17, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants