Skip to main content

Lightweight MCP proxy for Claude Skills (auto-downloads backend)

Project description

Claude Skills MCP Frontend

Lightweight MCP proxy for Claude Skills that auto-downloads the heavy backend on demand.

Overview

This is the frontend component of the Claude Skills MCP system. It's a lightweight proxy (~15 MB) that:

  • Starts instantly (<5 seconds)
  • Auto-downloads the backend when first needed
  • Acts as MCP server (stdio) for Cursor
  • Acts as MCP client (HTTP) for the backend
  • Returns tool schemas immediately (no backend wait needed)

Installation

# Via uvx (recommended for Cursor)
uvx claude-skills-mcp

# Via uv tool (persistent install)
uv tool install claude-skills-mcp

# Via pip
pip install claude-skills-mcp

Usage with Cursor

Add to your Cursor MCP settings (~/.cursor/mcp.json):

{
  "mcpServers": {
    "claude-skills": {
      "command": "uvx",
      "args": ["claude-skills-mcp"]
    }
  }
}

Restart Cursor and the skills will be available!

First Run Behavior

On first run, the frontend will:

  1. Start immediately (~5 seconds) ✅ Cursor timeout satisfied!
  2. Return tool schemas to Cursor (instant)
  3. Download backend in background (~250 MB, 60-120 seconds)
  4. When you first use a tool, you'll see "Loading backend..."
  5. Once backend ready, all tools work normally

Subsequent runs: Fast! Backend is already installed.

Configuration

The frontend forwards all arguments to the backend:

# Custom configuration
uvx claude-skills-mcp --config my-config.json

# Verbose logging
uvx claude-skills-mcp --verbose

# Custom backend port (advanced)
uvx claude-skills-mcp --port 9000

Remote Backend (Future)

# Connect to hosted backend instead of local
uvx claude-skills-mcp --remote https://skills.k-dense.ai/mcp

Note: Remote backend support coming in v1.1.0

How It Works

Cursor → Frontend (stdio, ~15 MB)
           ↓
         list_tools() → Returns hardcoded schemas INSTANTLY ✅
           ↓
         [Backend downloads in background...]
           ↓
         call_tool() → Proxies to Backend (HTTP)
           ↓
         Backend (HTTP, ~250 MB) → Performs actual search

This architecture solves the Cursor timeout problem by separating:

  • Fast startup (frontend, minimal dependencies)
  • Heavy processing (backend, downloads async)

Dependencies

Frontend only requires:

  • mcp>=1.0.0 (~5 MB)
  • httpx>=0.24.0 (~5 MB)

Total: ~15 MB (downloads in <10 seconds)

The backend (claude-skills-mcp-backend) is auto-installed on first use.

Troubleshooting

"Backend not ready" message

On first run, you'll see this message for 30-120 seconds while the backend downloads. This is normal and only happens once.

Backend installation fails

Check:

  1. Internet connection
  2. Disk space (~500 MB free needed)
  3. Python 3.12 installed

Tools not working

Run with verbose logging:

uvx claude-skills-mcp --verbose

Check logs in stderr for backend status.

Development

# Clone the monorepo
git clone https://github.com/K-Dense-AI/claude-skills-mcp.git
cd claude-skills-mcp/packages/frontend

# Install in development mode
uv pip install -e ".[test]"

# Run tests
uv run pytest tests/

Related Packages

License

Apache License 2.0

Copyright 2025 K-Dense AI (https://k-dense.ai)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_k_dense_ai_claude_skills_mcp-1.0.6.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_k_dense_ai_claude_skills_mcp-1.0.6.tar.gz.

File metadata

  • Download URL: iflow_mcp_k_dense_ai_claude_skills_mcp-1.0.6.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_k_dense_ai_claude_skills_mcp-1.0.6.tar.gz
Algorithm Hash digest
SHA256 4546971565e1c7e7e23d8c273b1ab0497a037a75224d05108200587d2339caca
MD5 c8b32c2a3361a49438728ba00f56279a
BLAKE2b-256 f8ae74ca70c9e345b8e0ee47a095be47bac8d8e51c314be03e6cbb9388544b2f

See more details on using hashes here.

File details

Details for the file iflow_mcp_k_dense_ai_claude_skills_mcp-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_k_dense_ai_claude_skills_mcp-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_k_dense_ai_claude_skills_mcp-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 929c89032b2f08fd2d39e7c89360d0a27bee40a83b5116ddacf564f7dc567f74
MD5 a20188bdc0fc6ac3160525e4ed1a09eb
BLAKE2b-256 76b45ad642f09ce1ba0178dbf4676ccc85ea60e560a487501737a314c44e79ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page