vision4nx-kb-mcp
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
vision4nx-kb-mcp
MCP server (streamable HTTP) that exposes the Vision 4 NX knowledge base to any MCP client (Claude Code, Claude Desktop, and other MCP-capable clients).
It is a thin wrapper over the Vision 4 NX REST API — embedding, hybrid search and reranking all happen server-side, so this server needs no vector-DB access and no embedding model.
Tools
Tool | What it does | Vision 4 NX endpoint |
| List accessible KBs (id, name, description) |
|
| RAG hybrid search; returns reranked chunks with source file info |
|
| Files inside one KB |
|
| Full extracted text of a file |
|
Related MCP server: Solarium
Setup
0. Prerequisites
Either of:
Docker — Docker Desktop (macOS/Windows) or Docker Engine (Linux) with Compose v2. Check with
docker compose version; if onlydocker-compose(with a hyphen) works, the install is too old — upgrade, or substitutedocker-composein the commands below.Python 3.11+ if you'd rather run it without Docker.
1. Get the code
git clone https://github.com/inteliScience/Vision4NX-Knowledge-Connector.git
cd Vision4NX-Knowledge-ConnectorEvery command in this README is run from that directory — it's the one holding
docker-compose.yaml.
2. Get your access credentials
The VISION4NX_URL and VISION4NX_API_KEY for the Vision 4 NX instance are
issued on request. Contact the Inteliscience team at info@inteliscience.net
to obtain them.
The MCP server acts with this single service key — all clients share the KB permissions granted to it.
If tools return 403 or 404 errors, the access token may be missing permissions for a knowledge base — contact Inteliscience to have it adjusted.
3. Configure
cp .env.example .env # set VISION4NX_URL and VISION4NX_API_KEY (from Inteliscience)Both are required. The server refuses to start without them, and Compose won't
even build if .env is missing entirely.
4. Run
Docker (recommended) — from the repo root:
docker compose up -d --build
docker compose logs -f # first run: confirm it actually came upPlain Python (>=3.11):
python3.12 -m venv .venv
.venv/bin/pip install -e .
.venv/bin/vision4nx-kb-mcp
# or: .venv/bin/uvicorn vision4nx_kb_mcp.server:app --host 0.0.0.0 --port 8600Health check: curl http://localhost:8600/health
MCP endpoint: http://localhost:8600/mcp
Troubleshooting
docker compose up -d reports success even when the container crashes a second
later, so check the logs before anything else:
docker compose ps # STATUS "Restarting" = it's crash-looping
docker compose logs -fSymptom | Cause |
| Step 3 was skipped — |
Container restarts forever, log says |
|
| Compose v1 — use |
Connection refused on | Server isn't up; see the two rows above |
Tools return 403 / 404 | Token lacks permissions for that KB — contact Inteliscience |
After editing .env, restart to pick it up: docker compose up -d
(--build is only needed when the code changes).
Connecting clients
This server speaks streamable HTTP at http://localhost:8600/mcp. Clients
that support HTTP/remote MCP connect to that URL directly; stdio-only clients
need the mcp-remote bridge (shown below). When the server runs with
MCP_AUTH_TOKENS, every client sends Authorization: Bearer <token>; without
tokens the server accepts every client (and says so in its log).
Claude Code:
claude mcp add --transport http vision4nx-kb http://localhost:8600/mcpClaude Desktop: two ways, depending on your version.
Custom connector (if available): Settings → Connectors → Add custom connector, name it
Vision 4 NX KB, URLhttp://localhost:8600/mcp, save and enable.Config file (works everywhere, needs Node.js): the desktop config only launches stdio commands, so bridge the HTTP endpoint with
mcp-remote. Edit~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows):{ "mcpServers": { "vision4nx-kb": { "command": "npx", "args": ["-y", "mcp-remote", "http://localhost:8600/mcp"] } } }Then fully quit and reopen Claude Desktop (Cmd+Q / quit from the tray — closing the window is not enough).
Vision 4 NX itself (use the KB tools from chats): Admin Settings → External Tools → add a tool server of type MCP with URL http://localhost:8600/mcp (from inside the compose stack: the container-network URL).
Any other MCP client: point it at http://localhost:8600/mcp with transport
Streamable HTTP. If the client only supports stdio, wrap it the same way
Claude Desktop's config file does:
npx -y mcp-remote http://localhost:8600/mcp.
MCP Inspector (debugging):
npx @modelcontextprotocol/inspector
# transport: "Streamable HTTP", URL: http://localhost:8600/mcpDeploying next to the Vision 4 NX stack
Uncomment the networks block in docker-compose.yaml, verify the network name (docker network ls), and point VISION4NX_URL at the app container (http://vision4nx:8080). Optionally drop the published port and proxy /mcp through the existing nginx instead.
Environment variables
Var | Default | Purpose |
| — (required) | Base URL of the Vision 4 NX instance (issued by Inteliscience) |
| — (required) | Service access token (issued by Inteliscience — info@inteliscience.net) |
|
| Chunks retrieved per collection before reranking. Sent as the API's |
|
| Server bind |
| empty | Client auth: comma-separated bearer tokens, one per customer (the Vision4NX Platform licence carries the customer's token). Empty = open; |
| empty | Single-token form of the same setting, kept for existing deployments |
|
| Logging level |
Tests
Opt-in e2e test against a running server:
pip install -e '.[dev]'
MCP_SERVER_URL=http://localhost:8600/mcp pytest tests/test_e2e.pyCompatibility
Built against the Vision 4 NX backend, which paginates GET /api/v1/knowledge/ and pins mcp==1.26.0. The paginated-list handling falls back to an unpaginated response shape automatically.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
KnowMan MCP server: search, ask, save and read your Knowledge Base from any MCP client.
MCP server for querying Forkast documentation
Read-only MCP server exposing a user ORANO library to their own AI agent.
Token-free MCP server for structured RevoGrid Core, Pro, and Enterprise knowledge retrieval.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server that exposes Open WebUI Knowledge Bases as tools and resources, enabling AI assistants to search and access knowledge bases.4MIT
- AlicenseNot gradedqualityDmaintenanceA knowledge base MCP server backed by Qdrant vector database with local embeddings for semantic search and document management.3 npm1ISC
- AlicenseAqualityDmaintenanceMCP server that exposes Tencent IMA knowledge base capabilities, enabling RAG-based Q&A, file retrieval, note management, and web import through natural language.106MIT
- FlicenseNot gradedqualityDmaintenanceMCP server exposing a RAG knowledge base as read-only tools (search_knowledge_base, ask_knowledge_base, kb_stats, kb_diagnostic) for AI clients like Claude Desktop and Cursor, enabling token-efficient document retrieval and Q&A.-