mcp-bastion-autogen
Security middleware for Microsoft AutoGen powered by MCP-Bastion.
MCP-Bastion security helpers for Microsoft AutoGen / Agent Framework tool messages.
Install
pip install mcp-bastion-autogen
Usage
from mcp_bastion_autogen import SecureAutoGen
guard = SecureAutoGen()
guard.check_message("Summarize this ticket") # raises on injection / rate limit
Features
- Content filtering on prompts / messages
- Rate limiting per caller
- Prompt injection heuristics (via MCP-Bastion core)
- Pulls in
mcp-bastion-pythonautomatically
License
Same terms as the MCP-Bastion project: see LICENSE. Non-commercial use is free with required citation/attribution; copyright terms apply. Commercial use as defined in the License may need a separate agreement (COMMERCIAL_LICENSE.md).
Release files for mcp-bastion-autogen 5.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_bastion_autogen-5.0.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_bastion_autogen-5.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.8 kB
Release files / mcp_bastion_autogen-5.0.0.tar.gz
| Download URL | mcp_bastion_autogen-5.0.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4340a445f28486ace9e81c39468451f7565855e05bd3015848c05f61b29e0d74
|
|
BLAKE2b-256 checksum How to use checksums |
496d51e0b6755fb365559263b2baefcd3a57c2be275f67b36418845b4321e08d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 9, 2026.
Transparency logRelease files / mcp_bastion_autogen-5.0.0-py3-none-any.whl
| Download URL | mcp_bastion_autogen-5.0.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
262453cf58b09ab5b7791bf4fd3f6cd61ad817de4891f2b3d3362e626aea246f
|
|
BLAKE2b-256 checksum How to use checksums |
72adc2e53bbbaeb1271400fd40833f90b554e732e056102160c5a6cc2086b2bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 9, 2026.
Transparency log