Metadata-Version: 2.4
Name: mcp-bastion-mistral
Version: 0.1.2
Summary: MCP-Bastion security middleware for Mistral AI — prompt injection, PII, and rate-limit protection
Project-URL: Homepage, https://github.com/vaquarkhan/MCP-Bastion
Project-URL: Repository, https://github.com/vaquarkhan/MCP-Bastion
Author: Viquar Khan
License: See LICENSE and COMMERCIAL_LICENSE.md in the MCP-Bastion repository.
Keywords: bastion,llm,mcp,mistral,pii,prompt-injection,security
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Security
Requires-Python: >=3.10
Requires-Dist: mcp-bastion-python>=1.0.16
Requires-Dist: mistralai>=0.4.0
Description-Content-Type: text/markdown

# mcp-bastion-mistral

Security middleware for Mistral AI powered by [MCP-Bastion](https://pypi.org/project/mcp-bastion-python/).

## Install

```bash
pip install mcp-bastion-mistral
```

## Usage

```python
from mcp_bastion_mistral import SecureMistral

client = SecureMistral(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](https://github.com/vaquarkhan/MCP-Bastion) project: see [LICENSE](https://github.com/vaquarkhan/MCP-Bastion/blob/main/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](https://github.com/vaquarkhan/MCP-Bastion/blob/main/COMMERCIAL_LICENSE.md)).
