MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

MCP server by auxon

创建于 1/29/2026
更新于 27 days ago
Repository documentation and setup instructions

blink-mcp

MCP server for Blink — mobile-first LLM code reader. Exposes tools so any frontier LLM can list repo files, fetch highlighted code, and explain lines.

Requires Rust 1.83+. If you see an icu_* or rustc 1.83 error, run:

rustup update stable

Quick start

# Build
cargo build

# Run with a GitHub repo (public repos only, no auth)
cargo run -- --repo github.com/auxon/blink-mcp

# Or
./target/debug/blink-mcp --repo https://github.com/owner/repo

Server listens on http://127.0.0.1:3000.

Cursor IDE (MCP stdio)

To let the Cursor agent control blink-mcp via MCP tools:

  1. Build the binary: cargo build
  2. Add the server in Cursor:
    • Project-only: .cursor/mcp.json in this repo is already set up. It runs blink-mcp --stdio with BLINK_REPO=github.com/auxon/blink-mcp. Edit BLINK_REPO in that file to point at any public GitHub repo.
    • Global: In Cursor Settings → MCP, add a server with:
      • Command: full path to blink-mcp (e.g. /path/to/blink-mcp/target/debug/blink-mcp)
      • Args: ["--stdio"]
      • Env: BLINK_REPO = github.com/owner/repo (optional; or pass --repo in args)
  3. Restart Cursor or reload MCP so it picks up the config. The agent will see get_repo_tree, get_highlighted_code, and explain_line under Available Tools.

Endpoints

| Endpoint | Description | |----------|-------------| | GET /mcp/v1/tools | List MCP tools (schema for LLM discovery) | | GET /run?tool=NAME&params=JSON | Run a tool (params optional) | | POST /run | Run a tool; body: {"tool":"NAME","params":{...}} | | GET /health | Health check |

Tools

  1. get_repo_tree — List all blob paths in the loaded repo. Optional param: branch (default main).
  2. get_highlighted_code — Get file content for a path. Param: path (e.g. src/main.rs). Highlights are stubbed.
  3. explain_line — Stub: explain a line (path + line). LLM integration later.
  4. build_blink — Build blink-mcp (cargo build). Optional param: release (default false). FactoryForge-style build automation.
  5. check_blink_setup — Verify rustc, cargo, blink-mcp binary. FactoryForge-style setup check.

Test

# List tools
curl http://localhost:3000/mcp/v1/tools

# Get repo tree (requires --repo)
curl "http://localhost:3000/run?tool=get_repo_tree"

# Get file content
curl "http://localhost:3000/run?tool=get_highlighted_code" \
  -G --data-urlencode 'params={"path":"Cargo.toml"}'

# Explain line (stub)
curl "http://localhost:3000/run?tool=explain_line" \
  -G --data-urlencode 'params={"path":"src/main.rs","line":42}'

Build & deploy (FactoryForge-style)

Scripts and MCP tools to automate building and deploying Blink:

  • Scripts: ./scripts/check-setup.sh, ./scripts/build.sh, ./scripts/run-mcp.sh
  • MCP: check_blink_setup, build_blink (so an LLM can build from Cursor)

See docs/BUILD_AND_DEPLOY.md.

Branch

blitz — ship daemon first, iOS app next.

iOS app (initial)

The initial SwiftUI front end lives in ios/:

  • Layout: Top bar (breadcrumb + repo URL paste), middle reader area (placeholder), collapsible bottom context rail.
  • Open: open ios/Blink.xcodeproj then run in Xcode (iOS Simulator or device, iOS 17+).
  • Details: ios/README.md.

Next: share sheet for GitHub URL, blink-mcp integration, WebView with React + CodeMirror 6 for code rendering.

Next steps (roadmap)

  1. Reload MCP — After pulling the User-Agent fix, reload MCP (or restart Cursor) so get_repo_tree and get_highlighted_code work against GitHub.
  2. Wire LLM into explain_line — Call Groq/DeepSeek or local (Ollama) with file context + line; return real explanation. Env: BLINK_LLM_API_URL or OPENAI_API_KEY / provider-specific.
  3. Heatmap / highlights in get_highlighted_code — Stub or LLM pass: green/yellow/red ranges (idiomatic, suspicious, bug-prone). Return highlights: [{ line, kind, message? }].
  4. Chunk folding — LLM or heuristics: group code into named blocks; return chunks: [{ name, startLine, endLine }] for reader UI.
  5. SwiftUI app — Native shell + WebView for code; talk to blink-mcp (HTTP or embed stdio). Share sheet → paste GitHub URL → load repo.
快速设置
此服务器的安装指南

安装命令 (包未发布)

git clone https://github.com/auxon/blink-mcp
手动安装: 请查看 README 获取详细的设置说明和所需的其他依赖项。

Cursor 配置 (mcp.json)

{ "mcpServers": { "auxon-blink-mcp": { "command": "git", "args": [ "clone", "https://github.com/auxon/blink-mcp" ] } } }