ossian-mcp

v0.3.1
io.github.dockndevai/ossian-mcp Checked 1 hour ago Published 8 days ago

Ask your own documents with citations, plus durable memory for agents.

Values you need

VariableWhat it is
OSSIAN_URLoptional Base URL of the Ossian installation (e.g. http://localhost:8081).
OSSIAN_API_KEYrequired secret Ossian API key (osk_…). Scope it to the narrowest role/namespace that works.
OSSIAN_AGENT_IDoptional Separates one agent's memories from another's. Defaults to 'mcp'.
OSSIAN_MODEoptional Access mode: read-only | read-write | admin. Starts read-only; writes need read-write.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add ossian-mcp -e 'OSSIAN_API_KEY=<OSSIAN_API_KEY>' -- npx -y ossian-mcp@0.3.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "ossian-mcp": {
      "args": [
        "-y",
        "ossian-mcp@0.3.1"
      ],
      "command": "npx",
      "env": {
        "OSSIAN_API_KEY": "<OSSIAN_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "ossian-mcp": {
      "args": [
        "-y",
        "ossian-mcp@0.3.1"
      ],
      "command": "npx",
      "env": {
        "OSSIAN_API_KEY": "<OSSIAN_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "OSSIAN_API_KEY",
      "id": "ossian-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "ossian-mcp": {
      "args": [
        "-y",
        "ossian-mcp@0.3.1"
      ],
      "command": "npx",
      "env": {
        "OSSIAN_API_KEY": "${input:ossian-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.ossian-mcp]
command = "npx"
args = ["-y", "ossian-mcp@0.3.1"]
env = { "OSSIAN_API_KEY" = "<OSSIAN_API_KEY>" }

For AI agents

  1. Ask the user for: OSSIAN_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: ask_documents, list_namespaces, list_documents, recall.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json