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-4.0.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-4.0.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_bastion_openai_agents-4.0.0.tar.gz
Algorithm Hash digest
SHA256 6e7a0e65b05b6c376b918ca39504d1e31cb38575031b4be7a7151f5f10c8a522
MD5 c1cba3ac7014fdfae30c199d3ce62430
BLAKE2b-256 6387e9759ce732d38d5713796b3acd612ad36a2ab642d2f483b3ecc0f6576ddc

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_bastion_openai_agents-4.0.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-4.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_bastion_openai_agents-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 112778d6ccf4ae9bbad19dd891fbc90c012400471ecd893e6868c6dbb473083b
MD5 946b55600b465146d011524dc6464021
BLAKE2b-256 a2a04d98b30616628e557ab9c67fd376a850827d6154ef8dc0e3855329e5390e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_bastion_openai_agents-4.0.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 Pingdom Monitoring Sentry Error logging StatusPage Status page