ragdesk-mcp
MCP server for ragdesk. Talk to your local RAG API from Cursor / Claude Desktop via tools.
Prerequisites
- A running ragdesk API (e.g.
npm run devor Docker) athttp://127.0.0.1:8000 - Python 3.11+ (for local install) or
uvforuvx
Install from PyPI
uvx ragdesk-mcp
Or:
pip install ragdesk-mcp
ragdesk-mcp
Cursor mcp.json example
{
"mcpServers": {
"ragdesk": {
"command": "uvx",
"args": ["ragdesk-mcp"],
"env": {
"RAGDESK_API_BASE": "http://127.0.0.1:8000",
"RAGDESK_KB": "default"
}
}
}
}
Local checkout (dev):
{
"mcpServers": {
"ragdesk": {
"command": "python",
"args": ["-m", "ragdesk_mcp.server"],
"cwd": "D:/Moca/ragdesk/apps/mcp",
"env": {
"PYTHONPATH": "D:/Moca/ragdesk/apps/mcp/src",
"RAGDESK_API_BASE": "http://127.0.0.1:8000"
}
}
}
}
Environment
| Variable | Default | Meaning |
|---|---|---|
RAGDESK_API_BASE |
http://127.0.0.1:8000 |
ragdesk API root |
RAGDESK_KB |
default |
Default knowledge base id |
RAGDESK_API_TOKEN |
(empty) | Optional Authorization: Bearer |
Tools
ragdesk_health— API reachabilitylist_knowledge_bases— list KBslist_documents— list docs in a KBingest_text— upload markdown/text into a KBimport_sample— import welcome sampleask— RAG / agent Q&A with citations
Develop
cd apps/mcp
pip install -e .
ragdesk-mcp
Publish
GitHub Actions publishes to PyPI when you push a tag:
git tag ragdesk-mcp-v0.1.0
git push origin ragdesk-mcp-v0.1.0
Requires repository secret PYPI_API_TOKEN (PyPI API token, username __token__).
Metadata
Release files for ragdesk-mcp 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ragdesk_mcp-0.1.2.tar.gz | 3.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ragdesk_mcp-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.0 kB
Release files / ragdesk_mcp-0.1.2.tar.gz
| Download URL | ragdesk_mcp-0.1.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ebdc35cc7f1f3a519ca3e35311da149fc0c60e2f1b1557ebfb58edd490a4cb1
|
|
BLAKE2b-256 checksum How to use checksums |
dbf71b8d3bf50ad17055105a4a613cfc0ef423bec83d5b2c4a371f5e4ac209d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / ragdesk_mcp-0.1.2-py3-none-any.whl
| Download URL | ragdesk_mcp-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3497f4b27825c795cd5b48a4a447dd2105aa8489d1615cbe4246ef74df044e18
|
|
BLAKE2b-256 checksum How to use checksums |
9805ba9678edb5702826573186cc550d251b638d0329b147f6eb03df39ec4b5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Security for ragdesk-mcp 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.