Skip to main content

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 fastapi-guard, guard-core and guard-agent.

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.

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

Licence

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

guard_core_mcp-0.1.1.tar.gz (524.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

guard_core_mcp-0.1.1-py3-none-any.whl (353.8 kB view details)

Uploaded Python 3

File details

Details for the file guard_core_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: guard_core_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 524.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.20

File hashes

Hashes for guard_core_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 86c251d375b3d5e5887672fe192031cb45f353b9166b9d791afe1b7338e5a1bf
MD5 e0c87a56a7f332b40aafa950b0ac9ebf
BLAKE2b-256 d1bf49df154a547a7778b912c5e5cb88d60cd444951d235a1eb441870671cfa4

See more details on using hashes here.

File details

Details for the file guard_core_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: guard_core_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 353.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.20

File hashes

Hashes for guard_core_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a67f6daff755d986adae1033b1ff1a450e5c8a0ccc563761af345cfc39a6c7d1
MD5 942a9b02caaf89d133c4f1b7921192c7
BLAKE2b-256 91ccfbfa791d9ecf7cb07891732526c8f1980e802fad9b633f5c18cae2bd1d25

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page