mcpField
G
Guard Core

Guard Core

Local
guard-core.github.ioSecurity2Updated 1d ago

About Guard Core

Guard Core is an MCP server for developers and coding agents working with Guard libraries. It validates configuration against installed packages, searches documentation, and tests requests with the detection engine.

Key features

  1. 01Validate Guard configuration
  2. 02Inspect fields and installed versions
  3. 03Search and retrieve documentation
  4. 04Test payloads against detection rules
  5. 05Look up adapters and telemetry setup

Use cases

  1. 01Catch misspelled or unsupported config fields
  2. 02Check whether a request would be blocked
  3. 03Find integration steps for a framework
  4. 04Identify installed Guard package versions

MCP support

The MCP server exposes tools for configuration validation, docs lookup, payload checks, and ecosystem setup. It can use installed Guard libraries for version-specific introspection.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"guard-core-guard-core": {
"command": "uvx",
"args": [
"guard-core-mcp"
]
}
}
}
Run commanduvx guard-core-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypiguard-core-mcp1.7.0

Tools

9

Saved tool list · updated 1w ago

This tool takes no parameters.

Details

From the project README

Guard Core


Model Context Protocol server for the Guard ecosystem: config validation, docs search, and corpus tooling for agents and developers.

PyPiVersion Docs Release License CI CodeQL

PagesBuildDeployment DocsUpdate last-commit

Python MCP Downloads

Smithery MCP Registry Context7 ChatGPT app Guard Core Mcp on AI Agents Listing

guard-core-mcp MCP server - quality and maintenance score on Glama Guard Core MCP server

Website · Docs · Playground · Dashboard · Discord


Ecosystem

Guard Core is the Python engine. Framework adapters are thin wrappers that translate native request/response types into Guard Core's protocols. The telemetry agents ship security events and metrics to the monitoring backend. Parallel engine implementations exist for Go, PHP, TypeScript (on npm), and Rust (on crates.io) - all ports of the same reference semantics, conformance-tested against the shared adversarial corpus.

Python
PackageRolePyPI
guard-coreFramework-agnostic security enginePyPI
guard-agentTelemetry agentPyPI
fastapi-guardFastAPI / Starlette adapterPyPI
flaskapi-guardFlask adapterPyPI
djapi-guardDjango adapterPyPI
tornadoapi-guardTornado adapterPyPI
Go

Go modules published via GitHub releases. Production-ready.

PackageRoleRelease
guard-core-goGo enginerelease
nethttp-guardnet/http adapterrelease
gin-guardGin adapterrelease
echo-guardEcho (v4) adapterrelease
fiber-guardFiber (v3) adapterrelease
guard-agent-goTelemetry agentrelease
PHP

Published on Packagist under the rennf93 vendor. Production-ready.

PackageRolePackagist
guard-core-phpPHP enginePackagist
laravel-guardLaravel adapterPackagist
symfony-guardSymfony adapterPackagist
psr15-guardPSR-15 adapterPackagist
slim-guardSlim 4 adapterPackagist
guard-agent-phpTelemetry agentPackagist
TypeScript / JavaScript

Published under the @guardcore npm scope; source in the guard-core-ts monorepo. Production-ready.

PackageRolenpm
@guardcore/coreCore engine
@guardcore/expressExpress adapternpm
@guardcore/nestjsNestJS adapternpm
@guardcore/fastifyFastify adapternpm
@guardcore/honoHono (edge) adapternpm
guardagentTelemetry agentnpm
Rust

Published on crates.io. Production-ready.

PackageRolecrates.io
guard-core-engineCore engine cratecrates.io
guard-core-rsFacade crate (consumer entry point)crates.io
actix-guard-rsActix Web adaptercrates.io
axum-guard-rsAxum adaptercrates.io
tower-guard-rsTower adaptercrates.io
rocket-guard-rsRocket adaptercrates.io
guard-agent-rsTelemetry agentcrates.io
AI Coding Agents
PackageRolePyPI
guard-core-mcpMCP server: config validation, docs search, detection sandboxPyPI

Documentation

📚 Documentation - full technical documentation for this package.

🛡️ Guard Core - the engine's reference documentation.

🤖 Monitoring Agent Integration - monitor your Guard instance with a monitoring 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. 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

ToolAnswers
versionsWhich Guard libraries are installed here, and at what version
validate_configIs this config valid, including typo'd keys pydantic silently ignores
config_fieldsWhat is this setting, what does it default to, does a setting for X exist
search_docsWhere do the docs cover this
get_docThe full text of one documentation page
check_payloadWould this request be blocked, and by which pattern
ecosystemThe full registry matrix: 5 languages, engines, adapters, agents, conformance, SaaS contract
adapter_setupInstall plus a verified minimal integration for one adapter (e.g. go + gin)
wire_agentHow 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).

ChatGPT plugin

The same tools are also served remotely at https://mcp.guard-core.com/mcp and packaged as a ChatGPT plugin: sign in with a guard-core account, and ChatGPT can validate configs, search the docs and run payloads through the hosted detection engine (the latest published releases, not your local versions). The packaging lives in plugin/, the hosted server in guard_core_mcp.hosting, and the full story (env vars, Docker image, developer-mode test loop, submission checklist) in the ChatGPT plugin guide.

Licence

MIT

mcp-name: io.github.Guard-Core/guard-core-mcp

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.