Skip to main content

mcp-bastion-openai-agents

Security helpers for OpenAI Agents SDK powered by MCP-Bastion.

MCP-Bastion security helpers for OpenAI Agents SDK tools and messages.

Install

pip install mcp-bastion-openai-agents

Usage

from mcp_bastion_openai_agents import SecureOpenAIAgents, secure_tool

guard = SecureOpenAIAgents()
guard.check_message("user or tool text")

@secure_tool
def lookup(query: str) -> str:
    return query

Features

  • In-process content filter + injection heuristics
  • Rate limiting per caller
  • Thin adapter only — does not change MCP-Bastion's zero-infra nature
  • 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).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_bastion_openai_agents-5.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_bastion_openai_agents-5.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file mcp_bastion_openai_agents-5.1.0.tar.gz.

File metadata

File hashes

Hashes for mcp_bastion_openai_agents-5.1.0.tar.gz
Algorithm Hash digest
SHA256 50033dbf769d94a47a6747e265f891214b03e556aa09a60517c09c7dc2ed2f60
MD5 f2fb08e641b991b52f2bae254154bbaa
BLAKE2b-256 235f392403761640db1b0959dec850711236381791c692652130af261fe7fd71

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_bastion_openai_agents-5.1.0.tar.gz:

Publisher: publish-integrations.yml on vaquarkhan/MCP-Bastion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_bastion_openai_agents-5.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_bastion_openai_agents-5.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b1602c6b67a52d2bc6ef94021ad46038440718dda4fc2968c46b8b2c8ffcaae
MD5 bd39de813408c599f1483cc8ec4a09fa
BLAKE2b-256 1a330f2521c54cfe40e54b42268efc92d1838c9760f3185e5eb1b7e96b9a7a5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_bastion_openai_agents-5.1.0-py3-none-any.whl:

Publisher: publish-integrations.yml on vaquarkhan/MCP-Bastion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page