Skip to main content

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-python automatically

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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-bastion-autogen 5.1.0
File Size Uploaded
mcp_bastion_autogen-5.1.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-bastion-autogen 5.1.0
File Interpreter ABI Platform
mcp_bastion_autogen-5.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / mcp_bastion_autogen-5.1.0.tar.gz

Download URL mcp_bastion_autogen-5.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
82c65bee25fa7ed03a3408e90cda8c2e2ebe6af5ca01c5aa576bb108806129b9
BLAKE2b-256 checksum
How to use checksums
ddcd8d2e261b74d2dffa3f7c8a378dbc2812c3008ec1e6900da635fc318b93a1
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 16, 2026.

Transparency log

Release files / mcp_bastion_autogen-5.1.0-py3-none-any.whl

Download URL mcp_bastion_autogen-5.1.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f894ea64069035d7bc761a5fd866cc807654215f02cd7594868dc050fc988a7
BLAKE2b-256 checksum
How to use checksums
caeeb33da069e3629d9d2a28bbdc3858c7739b0d140a3a62778c6d465e7e3ad8
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 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

5.1.0 This release

2 release files

5.0.0

2 release files

4.0.0

2 release 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