Catalog PyPI
Back to packageRELEASE DETAILS

0.1.1

PyPI

aegis-mcp

A deterministic MCP server that maps threat-model context to actionable coding requirements.

agent-guardrailsai-codingmcpsecuritythreat-model
Published11 Feb 2026
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 0.1.1 documentation

Aegis MCP (v0.1)

Aegis encodes a project's threat model in security-context.yaml and exposes deterministic security guidance through MCP tools for coding agents.

What Was Executed From the Build Plan

The repository now includes the v0.1 deliverables defined in aegis-build-plan.md:

  • Schema design
    • JSON Schema: schemas/security-context.schema.json
    • Example: examples/security-context.example.yaml
    • Template: templates/security-context.template.yaml
  • MCP server
    • Tooling surface in src/aegis/server.py
    • Tools: aegis_assess, aegis_validate, aegis_init
    • Resource: aegis://summary
  • Deterministic assess semantics
    • Matching/merge/conflict logic in src/aegis/engine.py
  • Validation
    • Schema + normative contract checks in src/aegis/validation.py
  • Security context generation
    • aegis_init in src/aegis/init_tool.py with Claude-assisted mode and deterministic fallback mode
  • Agent integration templates
    • agent-templates/
  • Reliability feasibility fixtures
    • scenarios/trigger-scenarios.jsonl
    • scenarios/mock-aegis-assess.json

Install

Install from PyPI (recommended):

python -m pip install aegis-mcp

Optional for Claude-assisted aegis_init:

python -m pip install "aegis-mcp[init-llm]"

For local development from this repository:

python -m pip install -e .

Optional local development install with Claude-assisted mode:

python -m pip install -e ".[init-llm]"

Validate a Security Context

aegis-validate examples/security-context.example.yaml

Start the MCP Server

aegis-server --config examples/security-context.example.yaml

Equivalent command from the build plan:

{
  "mcpServers": {
    "aegis": {
      "command": "python",
      "args": ["-m", "aegis.server", "--config", "./security-context.yaml"]
    }
  }
}

Tool Contract

aegis_assess response always includes:

  • requirements
  • approved_patterns
  • anti_patterns
  • matched
  • warnings
  • conflicts
  • no_match

See aegis-build-plan.md and docs/schema-reference.md for details.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
PyYAML
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
PyYAML>=6.0runtime
jsonschema
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
jsonschema>=4.23.0runtime
mcp
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
mcp>=1.0.0runtime
anthropic
Environment
{
  "extras": "",
  "marker": "extra == \"init-llm\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
anthropic>=0.45.0; extra == "init-llm"runtime

Distribution files

2 collected
aegis_mcp-0.1.1-py3-none-any.whl

bdist_wheel · 20.64 KB · Python py3

Source file
aegis_mcp-0.1.1.tar.gz

sdist · 25.73 KB · Python source

Source file

Repository

PENDING
bgigurtsis/aegis-mcp

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
example/aegis-mcp

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:1ce3ca921597299d5466fa15d3c2545d2e1f28e37c44f48bc56f980a6fd0e263

Other collected versions

View all collected versions →