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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_bastion_openai_agents-5.0.0.tar.gz
Algorithm Hash digest
SHA256 3f9d429f97ed0a5459b6f60f6727178309bf0a060dfd5c4d55202d143ff31c8a
MD5 62a28f3f922b9db6b55748d5aa9f50a1
BLAKE2b-256 a33094fe87c2c0122bf8f0d131f71ced3e6e71b97c8f275ef8a12733fab3b232

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mcp_bastion_openai_agents-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b16d80f5d7017cc56dd26672db8dae65aa0581b9e48a8caa80d9925ccd11e2df
MD5 748b40fe1be402d65b1e14b6ee3ea444
BLAKE2b-256 038e93d7fe93954e4b8c5a395fdd013735fb1cfaaea9b1e8455f901b62f9f41d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_bastion_openai_agents-5.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