Guard Core MCP
An MCP server that lets AI coding agents answer questions about the Guard security ecosystem from the libraries themselves, instead of from memory.
Covers the whole family: the Python trio (fastapi-guard, guard-core, guard-agent) by live introspection, and the Go, TypeScript, PHP and Rust engines, their twenty framework adapters, their telemetry agents, and the guard-core-app SaaS ingestion contract from a verified registry and knowledge corpus.
Why
Your agent can already read the docs. What it cannot do is tell you that the redis_failopen in your config is silently doing nothing because the real field is redis_fail_open, or that the flag you are reaching for did not exist until guard-core 3.5.0, or whether a given request would actually be blocked and by which pattern.
This server answers those from the installed package: real pydantic validation, real field metadata, and the real detection engine. It also answers the cross-language questions the libraries cannot answer: which package guards a Gin, Fastify, Laravel or Rocket app, whether it is tagged or still path-dependent, how to wire its telemetry agent, and what response codes the SaaS ingest endpoint returns.
Install
Install it into your project's environment, not as an isolated tool:
uv add --dev guard-core-mcp
claude mcp add guard-core -- uv run guard-core-mcp
uvx guard-core-mcp will start, but an isolated environment contains no guard-core or fastapi-guard for it to introspect, so it can only answer from bundled documentation. Running it inside your own environment is what makes the answers match the versions you actually ship.
Tools
| Tool | Answers |
|---|---|
versions |
Which Guard libraries are installed here, and at what version |
validate_config |
Is this config valid, including typo'd keys pydantic silently ignores |
config_fields |
What is this setting, what does it default to, does a setting for X exist |
search_docs |
Where do the docs cover this |
get_doc |
The full text of one documentation page |
check_payload |
Would this request be blocked, and by which pattern |
ecosystem |
The full registry matrix: 5 languages, engines, adapters, agents, conformance, SaaS contract |
adapter_setup |
Install plus a verified minimal integration for one adapter (e.g. go + gin) |
wire_agent |
How to set up the telemetry agent for a language, including the ingestion contract |
The ecosystem tools are pure data, so they work everywhere, with or without the Python libraries installed. Every quick-start snippet is copied verbatim from the sibling repo READMEs, and release_status tells you honestly whether a package is published, tagged, or still untagged (source, main, or path dependency only).
Licence
MIT
Release files for guard-core-mcp 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| guard_core_mcp-1.1.1.tar.gz | 782.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| guard_core_mcp-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / guard_core_mcp-1.1.1.tar.gz
| Download URL | guard_core_mcp-1.1.1.tar.gz |
|---|---|
| Size | 782.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7209d5042ce623fa01a628d7b3f3aaeced5069c3f008263250df9cb517c19e8d
|
|
BLAKE2b-256 checksum How to use checksums |
faf5ede2c82449fb3abb24c4e662f13acc416c8defe41ab34e0479d2d1cc02cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|
Release files / guard_core_mcp-1.1.1-py3-none-any.whl
| Download URL | guard_core_mcp-1.1.1-py3-none-any.whl |
|---|---|
| Size | 678.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a2fd27889820a8ed1e3966a6a0a544c4ff10ce61427d6cb52153062c1765c30
|
|
BLAKE2b-256 checksum How to use checksums |
f5fea1d0836d3b19c0c4574cf767bfb148d94c3366f9735b6b5514cadb69ef2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|