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.4.tar.gz (569.9 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.4-py3-none-any.whl (398.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: guard_core_mcp-0.1.4.tar.gz
  • Upload date:
  • Size: 569.9 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.4.tar.gz
Algorithm Hash digest
SHA256 8466bff1333df16bf0882030fee8c8cde550fcb4073738dcf2d1b16d5950a6c0
MD5 d94802f341bdb0cc7b58700dc733ca9f
BLAKE2b-256 e7c09c94fa8a50da8f70ddeb80a0c216b91dfbf3cba10726f9ed8adb9a550997

See more details on using hashes here.

File details

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

File metadata

  • Download URL: guard_core_mcp-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 398.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6686d571a6f81b60e12e4bd7f9f18100a719b842e037ece638f8c2e2d8c491dd
MD5 9b66322616eb969b301d53ef81f5e6fd
BLAKE2b-256 e3cfdba551bf5ed2be80078e6b65b229ee6629f0e003568777828a0d21f0f321

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.1

2 files

1.0.0

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

This release

0.1.4 This release

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page