drio
Open app

Cursor Self-Meta.

Source

A stdio-based MCP Server implementation in Perl which gives cursor verbatim access to its own internal state

Catalog onlyCatalog onlySTDIO

Overview

Cursor Self-Meta is a stdio-based MCP Server implementation in Perl that provides the Cursor IDE with verbatim access to its internal state, including Chat and Composer histories.

To use Cursor Self-Meta, follow the installation instructions and run the provided Perl scripts to interact with the Cursor IDE.

  • Utilizes basic JSON-RPC over Stdio for secure and hassle-free local usage from within the Cursor IDE. - Provides access to internal state and histories of the Cursor IDE. - Designed for easy integration and contribution.
  1. Accessing and managing Chat histories within the Cursor IDE.
  2. Integrating custom functionalities that require internal state access.
  3. Enhancing the development experience by providing real-time data access.

Add to your AI client

Use these steps to connect Cursor Self-Meta. in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "cursor-self-meta-gitcnd": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cursor-self-meta-gitcnd"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "cursor-self-meta-gitcnd": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cursor-self-meta-gitcnd"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "cursor-self-meta-gitcnd": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cursor-self-meta-gitcnd"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "cursor-self-meta-gitcnd": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cursor-self-meta-gitcnd"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cursor-self-meta-gitcnd": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cursor-self-meta-gitcnd"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "cursor-self-meta-gitcnd": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cursor-self-meta-gitcnd"
      ]
    }
  }
}

FAQ

What programming language is Cursor Self-Meta written in?

Cursor Self-Meta is implemented in Perl.

Is there any specific version requirement for Perl?

Yes, Perl 5.x or higher is required.

How can I contribute to the project?

Contributions are welcome! You can submit a Pull Request on the GitHub repository.