JSPM

raysurfer-code-caching-mcp

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 30
  • Score
    100M100P100Q74615F
  • License MIT

MCP server that exposes Raysurfer code caching as native Claude Code tools

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (raysurfer-code-caching-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Raysurfer Code Caching MCP Server

    MCP server that caches and reuses code from prior AI agent executions. Search before coding, upload after success.

    No install required — runs via npx.

    Setup

    Get your API key from the dashboard.

    Claude Desktop

    Add to your claude_desktop_config.json:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    {
      "mcpServers": {
        "raysurfer": {
          "command": "npx",
          "args": ["-y", "raysurfer-code-caching-mcp"],
          "env": {
            "RAYSURFER_API_KEY": "YOUR_API_KEY_HERE"
          }
        }
      }
    }

    Claude Code

    claude mcp add raysurfer -e RAYSURFER_API_KEY=YOUR_API_KEY_HERE -- npx -y raysurfer-code-caching-mcp

    VS Code

    Add to your .vscode/mcp.json:

    {
      "inputs": [
        {
          "password": true,
          "id": "raysurfer-api-key",
          "type": "promptString",
          "description": "Raysurfer API Key"
        }
      ],
      "servers": {
        "raysurfer": {
          "command": "npx",
          "args": ["-y", "raysurfer-code-caching-mcp"],
          "env": {
            "RAYSURFER_API_KEY": "${input:raysurfer-api-key}"
          }
        }
      }
    }

    Tools

    Tool Description
    raysurfer_search Search for cached code matching a task (set public_snips: true to include community snippets)
    raysurfer_upload Upload code after successful execution
    raysurfer_vote Vote on cached code quality
    raysurfer_patterns Get proven task-to-code patterns

    Resources

    • raysurfer://help - Help text about available tools and workflow
    • raysurfer://status - Connection status and configuration

    Development

    bun install
    bun run build
    bun run dist/index.js

    License

    MIT