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.1.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.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_bastion_gemini-5.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 ce1361dc2eb06ac0a75a3f5929d6339958370b297a92f7e84f8db0e57976cbce
MD5 3c5ea653bd2b2d517e515c5f9fdbea3b
BLAKE2b-256 20518ee662dd9b5c9b650b484d1b9d9f6614380813c5598e2c93d0712272ceda

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mcp_bastion_gemini-5.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e69f543fd75710958e8b573038220d4c38d5e88e15b5204e9ed371c4f3cbfd9
MD5 9dd125a34d4e0eab263c17cd050d8eff
BLAKE2b-256 6e4169590cfe658fff7349b512f272a4199bb8cd235d14f3d9367a4dcc3f2a66

See more details on using hashes here.

Provenance

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