Process Knowledge MCP
An MCP server that exposes a Qdrant collection of process knowledge through three tools.
Status, in the repository's words: Released: 1.0.x is the current release line and receives security fixes.
What it is
Makes a curated body of process knowledge available to MCP-capable hosts.
It is meant for hosts such as Claude Desktop, Claude Code, or any other MCP client.
The server is read-only: it queries an existing Qdrant collection.
Records come in four kinds: rule, standard operating procedure (sop), edge case and decision tree.
What it does today
- process_query runs a semantic search over the process knowledge base.
- process_lookup fetches a record by its exact id.
- process_validate checks a candidate record against the knowledge schema and flags potential duplicates by semantic similarity before the record is written.
- Queries are turned into embeddings locally.
- All tool inputs pass through Pydantic models before use.
- When a process_query or process_lookup call to Qdrant fails, the caller gets a backend_unavailable error; the cause is in the server log only and nothing from the exception is returned.
- With the backend down, validation still performs its schema checks, without duplicate detection.
- Loading the same records again is idempotent: point ids are derived deterministically.
- Optionally, when an audit address is configured, every tool call posts an event to it. Delivery is best-effort: an audit failure never fails the tool call.
- A one-shot command-line mode (query, lookup, validate) allows a smoke test without an MCP host.
What it ships
- server.py, a single-file Python MCP server.
- ingest.py, the companion script that writes the collection; the server itself never writes to it.
- An example knowledge folder holding a working corpus.
- A Docker image that runs as a non-root user.
- A test suite that runs fully offline: no Qdrant, no network and no embedding model.
What it needs
- Python 3.12, the version CI, the hash lock and the Docker image use; 3.11 is untested.
- A Qdrant instance reachable over HTTP REST.
- On first run the server downloads its embedding model.
- The server and ingest.py must use the same embedding model.
Install
Copied from the repository's README. This site has not run these commands.
pip install -r requirements.txt
docker run -d --name qdrant -p 6333:6333 qdrant/qdrant
python ingest.py --knowledge-root examples/knowledge --dry-run
python ingest.py --knowledge-root examples/knowledge
export SCHEMA_PATH=examples/knowledge/_schema.yaml
python server.py query '{"query":"disable root ssh access","limit":3}'
python server.py lookup '{"id":"SEC-CIS-001","domain":"security.cis_controls"}'Limits and known issues, as the repository lists them
As listed on branch main of BulletproofSoftwareAI/bulletproof-process-knowledge-mcp on 2026-11-30, commit 1db7735: newer than the version described above.
- No caller authentication: the server speaks MCP over stdio and trusts the process that launched it.
- Audit events echo the raw tool input, so sensitive text a caller passes reaches the audit destination.
- Knowledge records are trusted content: the server returns record bodies verbatim to the MCP host.
- With auditing on, a slow or unreachable audit endpoint delays each call by up to about 4 seconds.
- The container image has accepted HIGH findings in base operating-system packages for which no fixed version has been published.
- The media describe 1.0.6 as shipped in Bulletproof suite v1.0.0; the docs folder describes the current release.
Documents in the repository
Where each statement on this page comes from
Read from BulletproofSoftwareAI/bulletproof-process-knowledge-mcp, branch main, commit c840744; the limits and known issues from BulletproofSoftwareAI/bulletproof-process-knowledge-mcp, branch main, commit 1db7735, read on 2026-11-30. File and line for each statement:
- An MCP server that exposes a Qdrant collection of process knowledge through three tools.
README.md:3 - Released: 1.0.x is the current release line and receives security fixes.
SECURITY.md:11 - 1.0.6
server.py:62 - 2026-11-23
CHANGELOG.md:8 - Apache-2.0
README.md:171 - Makes a curated body of process knowledge available to MCP-capable hosts.
docs/OVERVIEW.md:4 - It is meant for hosts such as Claude Desktop, Claude Code, or any other MCP client.
docs/OVERVIEW.md:5 - The server is read-only: it queries an existing Qdrant collection.
README.md:18 - Records come in four kinds: rule, standard operating procedure (sop), edge case and decision tree.
README.md:51 - process_query runs a semantic search over the process knowledge base.
README.md:12 - process_lookup fetches a record by its exact id.
README.md:13 - process_validate checks a candidate record against the knowledge schema and flags potential duplicates by semantic similarity before the record is written.
docs/OVERVIEW.md:19 - Queries are turned into embeddings locally.
docs/OVERVIEW.md:43 - All tool inputs pass through Pydantic models before use.
SECURITY.md:112 - When a process_query or process_lookup call to Qdrant fails, the caller gets a backend_unavailable error; the cause is in the server log only and nothing from the exception is returned.
docs/HOW-TO-USE.md:199 - With the backend down, validation still performs its schema checks, without duplicate detection.
docs/INSTALL.md:110 - Loading the same records again is idempotent: point ids are derived deterministically.
README.md:43 - Optionally, when an audit address is configured, every tool call posts an event to it. Delivery is best-effort: an audit failure never fails the tool call.
docs/OVERVIEW.md:51 - A one-shot command-line mode (query, lookup, validate) allows a smoke test without an MCP host.
docs/INSTALL.md:98 - server.py, a single-file Python MCP server.
docs/INSTALL.md:3 - ingest.py, the companion script that writes the collection; the server itself never writes to it.
README.md:19 - An example knowledge folder holding a working corpus.
README.md:21 - A Docker image that runs as a non-root user.
SECURITY.md:119 - A test suite that runs fully offline: no Qdrant, no network and no embedding model.
README.md:116 - Python 3.12, the version CI, the hash lock and the Docker image use; 3.11 is untested.
docs/INSTALL.md:10 - A Qdrant instance reachable over HTTP REST.
docs/INSTALL.md:11 - On first run the server downloads its embedding model.
docs/INSTALL.md:13 - The server and ingest.py must use the same embedding model.
README.md:62 - No caller authentication: the server speaks MCP over stdio and trusts the process that launched it.
SECURITY.md:55 at 1db7735 - Audit events echo the raw tool input, so sensitive text a caller passes reaches the audit destination.
SECURITY.md:71 at 1db7735 - Knowledge records are trusted content: the server returns record bodies verbatim to the MCP host.
SECURITY.md:63 at 1db7735 - With auditing on, a slow or unreachable audit endpoint delays each call by up to about 4 seconds.
docs/ADMINISTRATOR.md:316 at 1db7735 - The container image has accepted HIGH findings in base operating-system packages for which no fixed version has been published.
docs/SECURITY-ACCEPTED-RISK.md:6 at 1db7735 - The media describe 1.0.6 as shipped in Bulletproof suite v1.0.0; the docs folder describes the current release.
README.md:7 at 1db7735 - Install section of the README
README.md:16
Bulletproof suite v1.0.0 pins tag v1.0.6, commit c840744, tagged 2026-11-23. The installer has no build file for it at v1.0.0, so the release images do not carry it.