RETIRED — OpenRAG MCP is now built into the OpenRAG backend as a streamable-HTTP endpoint at /mcp. See README for migration.
Project description
OpenRAG MCP — Final Release Notice
This package (
openrag-mcp) has been retired.OpenRAG now ships a built-in Model Context Protocol server over streamable HTTP — no subprocess, no separate install, no API key in a subprocess env block. Connect your MCP client directly to your running OpenRAG instance.
The last published version of
openrag-mcpon PyPI is the final release. No further updates will be made to this package.
Migrating to streamable HTTP
The OpenRAG backend exposes an MCP endpoint at /mcp using the streamable-HTTP transport. Any MCP client that supports "url"-based server configs (Cursor, Claude Desktop, and the MCP SDK) can connect to it directly.
Prerequisites
- A running OpenRAG instance (v0.3.0 or later)
- An OpenRAG API key — create one in Settings → API Keys
Cursor
Config file: ~/.cursor/mcp.json
Standard API key:
{
"mcpServers": {
"openrag": {
"url": "https://your-openrag-instance.com/mcp",
"headers": {
"X-API-Key": "orag_your_api_key_here"
}
}
}
}
IBM auth (when IBM_AUTH_ENABLED=true on the server):
{
"mcpServers": {
"openrag": {
"url": "https://your-openrag-instance.com/mcp",
"headers": {
"X-Username": "your_ibm_username",
"X-Api-Key": "your_ibm_api_key"
}
}
}
}
Restart Cursor after saving the config.
Claude Desktop
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Standard API key:
{
"mcpServers": {
"openrag": {
"url": "https://your-openrag-instance.com/mcp",
"headers": {
"X-API-Key": "orag_your_api_key_here"
}
}
}
}
IBM auth:
{
"mcpServers": {
"openrag": {
"url": "https://your-openrag-instance.com/mcp",
"headers": {
"X-Username": "your_ibm_username",
"X-Api-Key": "your_ibm_api_key"
}
}
}
}
Restart Claude Desktop after editing the file.
Available tools
All tools are auto-exposed from the /v1/ API and are available immediately after connecting:
| Tool | Description |
|---|---|
openrag_chat |
Send a message and get a RAG-enhanced response. Supports chat_id and filter_id. |
openrag_list_chats |
List all chat conversations. |
openrag_get_chat |
Get a specific chat conversation by ID. |
openrag_delete_chat |
Delete a chat conversation by ID. |
openrag_search |
Semantic search over the knowledge base. Supports filters, score threshold, data sources. |
openrag_ingest |
Ingest documents (files, URLs, text) into the knowledge base. Returns a task_id. |
openrag_get_task_status |
Check the status of an ingestion task by task_id. |
openrag_delete_document |
Delete a document from the knowledge base by filename. |
openrag_get_settings |
Get current OpenRAG configuration (LLM, embeddings, chunk settings, system prompt). |
openrag_update_settings |
Update OpenRAG configuration. All fields are optional. |
openrag_list_models |
List available models for a provider (openai, anthropic, ollama, watsonx). |
openrag_create_knowledge_filter |
Create a knowledge filter to scope searches and chats. |
openrag_search_knowledge_filters |
Search knowledge filters by name or criteria. |
openrag_get_knowledge_filter |
Get a knowledge filter by ID. |
openrag_update_knowledge_filter |
Update an existing knowledge filter. |
openrag_delete_knowledge_filter |
Delete a knowledge filter by ID. |
Why streamable HTTP?
- No subprocess — your MCP client connects over HTTP; nothing to install or spawn locally.
- Full tool surface — document ingestion, task tracking, and knowledge filters are available from day one (previously listed as "coming later" in the stdio package).
- One auth model — the same API key or IBM credentials you use for the REST API work for MCP.
- Self-hosted and secure — the
/mcpendpoint is part of your OpenRAG deployment; nothing leaves your network.
License
Apache 2.0 — see LICENSE for details.
Project details
Release history Release notifications | RSS feed
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 openrag_mcp-0.3.0.tar.gz.
File metadata
- Download URL: openrag_mcp-0.3.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12e32d65c8d925ccdc25fb38211119a6c29f21e90854f31c1d45809fde8f9818
|
|
| MD5 |
a79e444067170d4937709554e121cf94
|
|
| BLAKE2b-256 |
0310a04bdc94aeb1c03f9064f821064b5c179cfacdddbb6c13b06587a3b562d9
|
File details
Details for the file openrag_mcp-0.3.0-py3-none-any.whl.
File metadata
- Download URL: openrag_mcp-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54c3f9536bd43518a1f77f10a0d4d537a82b34a2f4df56e592c052f63e749b12
|
|
| MD5 |
0324896db68b682a8238de50333d2a4a
|
|
| BLAKE2b-256 |
2fe769fc33c9ba63a2ab44c8c7d32192c870008b75da8e9ecc60ff30426ebebb
|