nexidion-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nexidion-mcpsearch knowledge base for 'deployment runbook' and create a task to review it"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nexidion MCP 1.2.0
MCP server that exposes the Nexidion knowledge base as tools. Wraps the REST API — no raw SQL — so Nexidion's own auth and per-vault permissions still apply.
It runs in two modes, with two different identity models:
stdio (Claude Code) |
| |
Where | your machine, over the LAN |
|
Reached at | subprocess on stdin/stdout |
|
Who it acts as | the configured Nexidion user | the user who logged in, individually |
Auth | login followed by an MCP actor-token exchange | OAuth 2.1 + PKCE (see below) |
Tools | all 18 | 17 — no |
delete_node is deliberately not reachable from the public connector: it is
irreversible, and it is still one Claude Code session away.
Files
server.py— the tools, plus both transports.oauth.py— OAuth authorization server for the HTTP mode (state in SQLite).Dockerfile,requirements.txt— the image the Pi runs..env— stdio config:NEXIDION_BASE_URL,NEXIDION_USER,NEXIDION_PASSWORD(chmod 600, git-ignored).
Related MCP server: obsidian-brain
stdio (Claude Code) — already registered, user scope
claude mcp add --scope user nexidion -- \
/home/rhab/projects/nexidion-mcp/.venv/bin/python \
/home/rhab/projects/nexidion-mcp/server.pyVerify: claude mcp list / claude mcp get nexidion. In a session: /mcp.
MCP tools load at session start — use a NEW session.
Self-test against an explicitly configured API: .venv/bin/python server.py --selftest.
The login token is immediately exchanged at /api/auth/actor-token; all subsequent
requests carry actor_type=mcp, so stdio cannot bypass AI visibility or write policy.
HTTP (claude.ai custom connector)
Add it in claude.ai under Settings → Connectors → Add custom connector, URL:
https://mcp.nexidion.org/mcpClaude then registers itself (RFC 7591 dynamic client registration), redirects you to a login page served by this server, and you sign in with your own Nexidion username and password. Every tool call afterwards runs as that user.
How the auth actually works
claude.ai will only talk to a remote MCP server over OAuth, so this server is an
OAuth authorization server — the MCP SDK supplies the /authorize, /token and
/register handlers, oauth.py supplies the storage, and /login supplies the
one thing OAuth can't know: who the human is. That is answered by posting the
credentials to Nexidion's existing /api/auth/login.
The catch: Nexidion's own JWTs expire after 8 hours, and we never store your
password, so we cannot re-login for you later. Instead the container is given the
app's JWT_SECRET_KEY and mints a short-lived (5 min) Nexidion JWT per request
for the user bound to the access token. That is why the connector stays connected
indefinitely, and why this container is as security-critical as the app itself:
holding that key, it could forge a token for any user. It only ever does so after
that user has proved their password.
Tokens: access 1 h, refresh 90 days and rotated on every use. Only SHA-256 hashes
are stored. whoami reports which Nexidion user Claude is currently acting as.
Every short-lived Nexidion JWT used for an HTTP or stdio tool call includes the
trusted actor_type=mcp claim. Nexidion therefore retains the user identity for vault
permissions and auditing while applying inherited node AI-access policies to the
request. Relevant read tools default to include_quarantined=false; explicit opt-in
never bypasses an AI-invisible policy.
Tests
Install the pinned runtime and test dependencies in a clean environment, then run:
python -m pip install -r requirements-dev.txt
python -m pytest -qThe committed tests cover stdio actor-token exchange, HTTP MCP claims, and policy
option forwarding. local_smoke_test.py exercises initialization and authentication
against an explicitly selected local Nexidion instance.
Config (set by compose on the Pi, not by .env)
var | value |
|
|
|
|
| same secret the Flask app signs with |
|
|
Deploy
Cross-build on WSL, push to Hub, pin by digest — same rule as the app, so there is always a digest to roll back to:
docker buildx build --builder nxbuilder --platform linux/arm64 \
-f Dockerfile -t rhabermann/nexidion-mcp:vN --push .
docker buildx imagetools inspect rhabermann/nexidion-mcp:vN --format '{{.Manifest.Digest}}'
# then on the Pi: put that digest in ~/nexidion/docker-compose.yml
ssh rhab@192.168.178.63 'cd ~/nexidion && docker compose pull mcp && docker compose up -d --no-deps mcp'Wiping nexidion_mcp-state forces every connector to re-authorize — that is the
kill switch if a token ever leaks:
docker compose rm -sf mcp && docker volume rm nexidion_mcp-state && docker compose up -d --no-deps mcpTools
Reads: whoami, list_vaults, get_vault, list_nodes, get_node, search (full-text), find_node_by_title, get_node_versions, get_version, bulk_get_nodes, list_tasks, get_task.
Writes: create_node, update_node, move_node, set_summary, create_task (queues the
Nexidion AI agent). delete_node (destructive) — stdio only.
Permissions (~/.claude/settings.json)
Reads + non-destructive writes + create_task are allowlisted (mcp__nexidion__*).
delete_node is in ask → always prompts.
Admin
stdio base URL points at the Pi over the LAN (
http://192.168.178.63:5001). For off-LAN use, switchNEXIDION_BASE_URLtohttps://caddy.nexidion.orgin.env.The stdio account has only the vault access assigned in Nexidion. Revoke access through the Admin UI rather than relying on a hard-coded user ID.
To rotate the stdio password, reset the configured account and update
.env.Rotating
JWT_SECRET_KEYlogs everyone out of the app and invalidates the connector's minted JWTs — restart both containers together.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
OAuth-protected, read-only-by-default MCP server for provenance-labeled QuillCaddie project memory.
Knowledge base MCP for AI agents on iknow.dev. Search, read, and maintain via OAuth.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Related MCP Servers
- AlicenseAqualityBmaintenanceGeneric MCP server exposing Nexusm core capabilities (memory, conversation, knowledge, feedback, context) to MCP clients via stdio and Streamable HTTP transports.419MIT
- AlicenseAqualityDmaintenanceA standalone Node MCP server that provides semantic search, knowledge graph, and vault editing over an Obsidian vault. It runs locally as a single stdio process without requiring an Obsidian plugin for core functionality.1819210Apache 2.0
- FlicenseNot gradedqualityBmaintenanceReusable, read-only MCP server that exposes a repo's knowledge files (backlog docs, decisions, design notes) as MCP resources over stdio.
- AlicenseNot gradedqualityAmaintenanceA generic MCP server that turns a directory of Markdown wiki pages into a network-reachable knowledge base, queryable and updatable by any MCP-compatible client.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/HabermannR/nexidion-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server