ossian-mcp
v0.3.1Ask your own documents with citations, plus durable memory for agents.
Values you need
| Variable | What it is | |
|---|---|---|
OSSIAN_URL | optional | Base URL of the Ossian installation (e.g. http://localhost:8081). |
OSSIAN_API_KEY | required secret | Ossian API key (osk_…). Scope it to the narrowest role/namespace that works. |
OSSIAN_AGENT_ID | optional | Separates one agent's memories from another's. Defaults to 'mcp'. |
OSSIAN_MODE | optional | 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.1Add 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
- Ask the user for: OSSIAN_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: ask_documents, list_namespaces, list_documents, recall.
- 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