Skip to main content

ragdesk-mcp

MCP server for ragdesk. Talk to your local RAG API from Cursor / Claude Desktop via tools.

Prerequisites

  1. A running ragdesk API (e.g. npm run dev or Docker) at http://127.0.0.1:8000
  2. Python 3.11+ (for local install) or uv for uvx

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 reachability
  • list_knowledge_bases — list KBs
  • list_documents — list docs in a KB
  • ingest_text — upload markdown/text into a KB
  • import_sample — import welcome sample
  • ask — 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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ragdesk-mcp 0.1.0
File Size Uploaded Provenance
ragdesk_mcp-0.1.0.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ragdesk-mcp 0.1.0
File Interpreter ABI Platform
ragdesk_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / ragdesk_mcp-0.1.0.tar.gz

Download URL ragdesk_mcp-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5b17157d5f6f0284184fc56041eb20214f00640cc14f1e594c5fd951643047d7
BLAKE2b-256 checksum
How to use checksums
ec2b2c6b569750f276e18fb3b903ea09af19ccdb2da7e14a03c0f23f35cc0b42
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.0-py3-none-any.whl

Download URL ragdesk_mcp-0.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c27623d1fdb9aa993bae2c61eec71129e9e49b39844c0bba1ae044a6ff6f5c73
BLAKE2b-256 checksum
How to use checksums
9ee237626b517a2e9225a037ab94e35b7fa49e79a71603c40e80ce219c7c1e8c
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.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page