Skip to main content

mcp-bastion-gemini

Security middleware for Google Gemini powered by MCP-Bastion.

Install

pip install mcp-bastion-gemini

Usage

from mcp_bastion_gemini import SecureGemini

client = SecureGemini(api_key="YOUR_KEY")
print(client.chat("What is MCP?"))

Features

  • Content filtering and prompt injection detection
  • Rate limiting per caller
  • PII redaction

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_gemini-5.0.0.tar.gz (2.6 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_gemini-5.0.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_bastion_gemini-5.0.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mcp_bastion_gemini-5.0.0.tar.gz
Algorithm Hash digest
SHA256 44c9a139e7e7f6945077408d807ba9305e1fdeb04268eaa7936d6924fc1eee97
MD5 1a08b5f675b92d52e67be7c85abe36c1
BLAKE2b-256 ff1e934c2689774ff8324a14113e47c1307af45608257b65ef2003882dfd8d6c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mcp_bastion_gemini-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0dbcf5db52645af6a011f69d39d3fecce751398ffd71ae639ee321df19dcbd7
MD5 9b3c044b993b59ab2d38d389ede1f257
BLAKE2b-256 d6dc5210a434140613e8d401c67bde32caf2593473a5113a1bf3c8ec8947ecb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_bastion_gemini-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