JSPM

  • Created
  • Published
  • Downloads 128
  • Score
    100M100P100Q109226F
  • License MIT

Model Context Protocol server for Neruva -- vector memory + HD-native substrate (KGs, analogy, causal do-operator, EFE planning).

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 (@neruva/mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @neruva/mcp

    Model Context Protocol server for Neruva -- vector memory + HD-native substrate (knowledge graphs, analogy, causal do-operator, EFE planning) for AI agents.

    Install

    npx -y @neruva/mcp     # one-off, no install
    # or
    npm i -g @neruva/mcp   # then `neruva-mcp`

    Wire into a client

    Claude Code

    claude mcp add neruva \
      --env NERUVA_API_KEY=$NERUVA_API_KEY \
      -- npx -y @neruva/mcp

    Cursor (~/.cursor/mcp.json)

    {
      "mcpServers": {
        "neruva": {
          "command": "npx",
          "args": ["-y", "@neruva/mcp"],
          "env": { "NERUVA_API_KEY": "..." }
        }
      }
    }

    Codex (~/.codex/config.toml)

    [mcp_servers.neruva]
    command = "npx"
    args = ["-y", "@neruva/mcp"]
    env = { NERUVA_API_KEY = "..." }

    Gemini CLI (~/.gemini/settings.json)

    {
      "mcpServers": {
        "neruva": {
          "command": "npx",
          "args": ["-y", "@neruva/mcp"],
          "env": { "NERUVA_API_KEY": "..." }
        }
      }
    }

    Tools exposed

    Tool What it does
    memory_upsert Insert/update vectors in a namespace (Pinecone-compatible)
    memory_query Cosine top-K search in a namespace
    memory_delete Delete vectors by id
    hd_kg_add_fact Add (subject, relation, object) to a knowledge graph
    hd_kg_query Query a knowledge graph for the object of a (subject, relation)
    hd_analogy Solve a🅱️:c:? analogies in HD space
    hd_causal_query Observational or interventional (Pearl do-operator) query
    hd_plan EFE active-inference planner over a stored model

    Auth

    Set NERUVA_API_KEY in the environment. Get a key at https://app.neruva.io.

    NERUVA_URL is optional and defaults to https://api.neruva.io.

    License

    MIT