Metadata-Version: 2.4
Name: mcp-bastion-llamaindex
Version: 0.1.0
Summary: MCP-Bastion security middleware for LlamaIndex — prompt injection, PII, and rate-limit protection for RAG pipelines
Project-URL: Homepage, https://github.com/vaquarkhan/MCP-Bastion
Project-URL: Repository, https://github.com/vaquarkhan/MCP-Bastion
Author: Viquar Khan
License-Expression: MIT
Keywords: bastion,llamaindex,llm,mcp,pii,prompt-injection,rag,security
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Security
Requires-Python: >=3.10
Requires-Dist: llama-index-core>=0.10.0
Requires-Dist: mcp-bastion-python>=1.0.11
Description-Content-Type: text/markdown

# mcp-bastion-llamaindex

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

## Install

```bash
pip install mcp-bastion-llamaindex
```

## Usage

```python
from mcp_bastion_llamaindex import SecureLlamaIndex

guard = SecureLlamaIndex()
guard.scan_query("What is the revenue for Q4?")
```

## Features

- Content filtering on RAG queries and responses
- Rate limiting per caller
- Prompt injection detection

## License

MIT
