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-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).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_bastion_openai_agents-4.0.0.tar.gz.
File metadata
- Download URL: mcp_bastion_openai_agents-4.0.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e7a0e65b05b6c376b918ca39504d1e31cb38575031b4be7a7151f5f10c8a522
|
|
| MD5 |
c1cba3ac7014fdfae30c199d3ce62430
|
|
| BLAKE2b-256 |
6387e9759ce732d38d5713796b3acd612ad36a2ab642d2f483b3ecc0f6576ddc
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_bastion_openai_agents-4.0.0.tar.gz -
Subject digest:
6e7a0e65b05b6c376b918ca39504d1e31cb38575031b4be7a7151f5f10c8a522 - Sigstore transparency entry: 2342958316
- Sigstore integration time:
-
Permalink:
vaquarkhan/MCP-Bastion@d8e169d323573c18f749e58867adde800c8a6fe9 -
Branch / Tag:
refs/heads/feat/integrations-and-nature-safe-gaps - Owner: https://github.com/vaquarkhan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-integrations.yml@d8e169d323573c18f749e58867adde800c8a6fe9 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mcp_bastion_openai_agents-4.0.0-py3-none-any.whl.
File metadata
- Download URL: mcp_bastion_openai_agents-4.0.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
112778d6ccf4ae9bbad19dd891fbc90c012400471ecd893e6868c6dbb473083b
|
|
| MD5 |
946b55600b465146d011524dc6464021
|
|
| BLAKE2b-256 |
a2a04d98b30616628e557ab9c67fd376a850827d6154ef8dc0e3855329e5390e
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_bastion_openai_agents-4.0.0-py3-none-any.whl -
Subject digest:
112778d6ccf4ae9bbad19dd891fbc90c012400471ecd893e6868c6dbb473083b - Sigstore transparency entry: 2342958323
- Sigstore integration time:
-
Permalink:
vaquarkhan/MCP-Bastion@d8e169d323573c18f749e58867adde800c8a6fe9 -
Branch / Tag:
refs/heads/feat/integrations-and-nature-safe-gaps - Owner: https://github.com/vaquarkhan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-integrations.yml@d8e169d323573c18f749e58867adde800c8a6fe9 -
Trigger Event:
workflow_dispatch
-
Statement type: