A deterministic MCP server that maps threat-model context to actionable coding requirements.
Project description
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
- JSON Schema:
- MCP server
- Tooling surface in
src/aegis/server.py - Tools:
aegis_assess,aegis_validate,aegis_init - Resource:
aegis://summary
- Tooling surface in
- Deterministic assess semantics
- Matching/merge/conflict logic in
src/aegis/engine.py
- Matching/merge/conflict logic in
- Validation
- Schema + normative contract checks in
src/aegis/validation.py
- Schema + normative contract checks in
- Security context generation
aegis_initinsrc/aegis/init_tool.pywith Claude-assisted mode and deterministic fallback mode
- Agent integration templates
agent-templates/
- Reliability feasibility fixtures
scenarios/trigger-scenarios.jsonlscenarios/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:
requirementsapproved_patternsanti_patternsmatchedwarningsconflictsno_match
See aegis-build-plan.md and docs/schema-reference.md for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aegis_mcp-0.1.1.tar.gz.
File metadata
- Download URL: aegis_mcp-0.1.1.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bad014480b3e54d92b46c2d97daed5888f4e678e5754ea7396c6883d86048797
|
|
| MD5 |
e7542bb247c64d5a9745592f467ce769
|
|
| BLAKE2b-256 |
7b8871e2dd0d3c8d54759a55fa557c1b1e05e03467ebb8d9387f0d1956d4225b
|
Provenance
The following attestation bundles were made for aegis_mcp-0.1.1.tar.gz:
Publisher:
publish.yml on bgigurtsis/aegis-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aegis_mcp-0.1.1.tar.gz -
Subject digest:
bad014480b3e54d92b46c2d97daed5888f4e678e5754ea7396c6883d86048797 - Sigstore transparency entry: 939045161
- Sigstore integration time:
-
Permalink:
bgigurtsis/aegis-mcp@2ad67c6e7cc7335d1d7ab9ed5b689c187b8f038c -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/bgigurtsis
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2ad67c6e7cc7335d1d7ab9ed5b689c187b8f038c -
Trigger Event:
release
-
Statement type:
File details
Details for the file aegis_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: aegis_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ab94fbdfb84667c3a42c13d771ae4dc734f603dcdffb45b8fb1babe64aabc3d
|
|
| MD5 |
69284675ba7f93bf94ca329f5d6008c1
|
|
| BLAKE2b-256 |
d493f69ab10c14b6a310c5e6ca5bd90b9518bde43438287a5453007d4d20cf86
|
Provenance
The following attestation bundles were made for aegis_mcp-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on bgigurtsis/aegis-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aegis_mcp-0.1.1-py3-none-any.whl -
Subject digest:
1ab94fbdfb84667c3a42c13d771ae4dc734f603dcdffb45b8fb1babe64aabc3d - Sigstore transparency entry: 939045171
- Sigstore integration time:
-
Permalink:
bgigurtsis/aegis-mcp@2ad67c6e7cc7335d1d7ab9ed5b689c187b8f038c -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/bgigurtsis
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2ad67c6e7cc7335d1d7ab9ed5b689c187b8f038c -
Trigger Event:
release
-
Statement type: