Logo alph

alph

Tổ chức
Aqualia

Universal MCP Server Configuration Manager

Nhà phát hànhAqualia
Kho mãAlph
Ngôn ngữTypeScript
Bản fork
5
Sao
71
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    alph cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    71 sao và 5 bản fork từ kho mã được liên kết.

The Problem You Know Too Well

Every AI agent speaks a different configuration language. Cursor wants JSON in ~/.cursor/mcp.json. Claude expects it in ./.mcp.json. Gemini uses ~/.gemini/settings.json. One typo breaks everything. No backups. No validation. Manual editing is error-prone and time-consuming.

You've probably been there: copy-pasting server URLs, fixing bracket mismatches, and restarting your IDE hoping it works this time. What should take 30 seconds becomes a 30-minute debugging session.

Why Alph?

Modern AI agents speak MCP (Model Context Protocol), but wiring them up still means hand-editing fragile local config files per tool and per OS. Alph makes that painless: it detects installed agents, validates changes, performs atomic writes with timestamped backups, and gives you instant rollback — all without sending any network traffic.

Think of Alph as the universal remote for your AI developer tools. Point it at your MCP server (local or remote), pick your agent(s), and you’re done.


Demo

Quick Example

bash
# Connect Cursor to your MCP server in one command
alph setup --mcp-server-endpoint https://api.example.com/mcp --bearer your-key --agents cursor

# ✅ Detects Cursor installation
# ✅ Validates configuration
# ✅ Creates timestamped backup
# ✅ Writes config atomically
# ✅ Verifies everything works

Before vs After

Find config file: ~/.cursor/mcp.json

Edit by hand: Risk syntax errors

Manual restart: Hope it works 🤞

json
{
  "mcpServers": {
    "myserver": {
      "url": "https://api.example.com/mcp",
      "headers": {
        "Authorization": "Bearer sk-..."
      }
    }
  }
}

❌ No validation
❌ No backups
❌ Easy to break

One command: Works everywhere

bash
alph setup \
  --mcp-server-endpoint https://api.example.com/mcp \
  --bearer sk-your-key \
  --agents cursor

✅ Auto-detects agents
✅ Creates backups
✅ Validates config
✅ Atomic writes
✅ Auto-rollback on error
✅ Done! 🎉

Interactive Demo

Alph Demo

A quick wizard run: detect agents → choose transport → write configs → validate → done.

Try in 30 Seconds ⚡

bash
# No installation needed - try it now
npx @aqualia/alph-cli@latest

# Or connect to your MCP server instantly:
npx @aqualia/alph-cli@latest setup \
  --mcp-server-endpoint https://your-server.com/mcp \
  --bearer your-api-key \
  --agents cursor,claude

Requirements: Node.js ≥ 18

Permanent Installation (if you like it)

bash
# Global install for repeated use
npm install -g @aqualia/alph-cli

# Then just run:
alph

Supported AI Agents

Alph detects and configures these agents out of the box:

  • Gemini CLI (~/.gemini/settings.json)
  • Cursor
  • Claude Code
  • Windsurf
  • Codex CLI
  • Kiro (~/.kiro/settings/mcp.json)

Compatibility Matrix (OS × Transport)

AgentmacOSLinuxWindowsHTTPSSESTDIO
Gemini CLI✅✅✅✅✅✅
Cursor✅✅✅✅✅✅
Claude Code✅✅✅✅✅✅
Windsurf✅✅✅✅✅✅
Codex CLI✅✅❌✅✅✅
Kiro✅✅✅✅✅✅

MCP Transports 101 — Hosts/agents connect to servers via STDIO (local), HTTP, or SSE (streaming HTTP). Alph supports all three and lets you pick the best per agent.


Compatibility Notes

Codex CLI on Windows: Currently not supported due to upstream compatibility issues with Codex CLI's process spawning and environment variable handling on Windows. This is not an Alph-specific limitation but rather a known issue in the Codex CLI implementation. Multiple issues are actively tracked in the Codex repository, including #2555, #3311, and #3408. We recommend using Codex CLI on macOS or Linux for the best experience, or consider alternative agents like Cursor or Windsurf on Windows.


Usage

1) Interactive (recommended)

bash
# Detects agents, guides transport choice, writes configs atomically with backups
alph
# or
alph setup
  • No flags needed: the wizard handles detection, preview, and safe writes.

2) Non-interactive (one-liner)

bash
alph setup \
  --mcp-server-endpoint https://www.askhuman.net/api/mcp/YOUR_SERVER_ID \
  --bearer YOUR_ASKHUMAN_ACCESS_KEY \
  --agents gemini,cursor
  • Add --dry-run to preview changes without touching files.

3) STDIO tools (local servers)

For STDIO, Alph can auto-install the local tool (opt-out with --no-install) and run health checks before writing any config.

bash
# Use STDIO without auto-installing the tool
alph setup --transport stdio --no-install

# Prefer a specific installer (npm|brew|pipx|cargo|auto)
alph setup --transport stdio --install-manager npm

# Control the atomic write strategy via env
ALPH_ATOMIC_MODE=copy alph setup --mcp-server-endpoint https://... --agents gemini

Quick Start (with AskHuman MCP server)

AskHuman is a remote MCP server. Use Alph to connect your local agents to your personal AskHuman endpoint in seconds.

bash
# Configure AskHuman (remote MCP server) for multiple agents in one go
# Replace YOUR_SERVER_ID with the ID shown in AskHuman → Your MCP Server
alph setup \
  --mcp-server-endpoint https://www.askhuman.net/api/mcp/YOUR_SERVER_ID \
  --bearer YOUR_ASKHUMAN_ACCESS_KEY
  • Where to find these values: In the AskHuman dashboard (Your MCP Server), copy your endpoint (.../api/mcp/<your-id>) and generate an access key if auth is enabled.
  • Works with HTTP and SSE transports; choose --transport sse and use the .../api/mcp/<id>/sse endpoint if your host/agent prefers streams.

Safety & Reliability by Default

  • Local-first: Alph operates purely on local files; no network requests during configure/remove.
  • Atomic writes with timestamped backups and validation; fast rollback if anything looks off.
  • Secrets redacted in output (e.g., bearer tokens).

Command Reference (concise)

text
alph setup [options]
  --mcp-server-endpoint <url>  MCP server endpoint URL
  --bearer [token]             Authorization bearer token (optional)
  --transport <type>           http | sse | stdio
  --command <cmd>              Command for stdio transports
  --cwd <path>                 Working directory for stdio command
  --args <list>                Comma-separated args for stdio command
  --env <list>                 Env vars (KEY=VALUE)
  --headers <list>             HTTP headers (KEY=VALUE)
  --timeout <ms>               Command timeout
  --install-manager <mgr>      npm | brew | pipx | cargo | auto
  --atomic-mode <mode>         auto | copy | rename
  --no-install                 Skip auto-install for STDIO tools
  --agents <list>              Filter (e.g. gemini,cursor)
  --dir <path>                 Custom config root
  --dry-run                    Preview changes (no writes)
  --name <id>                  Name/ID for the MCP server

alph status [options]          Show detected agents and configured servers
  --dir <path>                 Include project-level configs where applicable (e.g., Claude)

alph remove [options]
      --server-name <name>         MCP server name to remove
      --agents <list>              Filter agents to modify
      --dir <path>                 Custom config root
      --scope <auto|global|project|all>  Scope for removal where supported (e.g., Claude)
      --dry-run                    Preview removal (no writes)
      -y, --yes                    Skip confirmation
      -i, --interactive            Removal wizard
      --no-backup                  Do not back up before removal (advanced)

Troubleshooting (quick hits)

  • Nothing seems to change → Re-run with --dry-run to confirm detection and planned writes; then run without it.
  • Agent not detected → Ensure the agent is installed and its config is in the default location (see agent docs in docs/agents).
  • STDIO tool missing → Add --install-manager npm (or brew|pipx|cargo) or run with --no-install if you want to manage it yourself.

Documentation

  • User Guide → USER_GUIDE.md (advanced setups, more recipes)
  • Architecture → ARCHITECTURE.md (execution flows & structure)
  • Security → SECURITY.md (secret handling, backups, rollback)
  • Troubleshooting → TROUBLESHOOTING.md
  • Contributing → CONTRIBUTING.md

Community & Support

License

MIT — see LICENSE.


Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "aqualia-alph": {
      "command": "npx",
      "args": [
        "-y",
        "@aqualia/alph-cli"
      ]
    }
  }
}

Dùng MCP alph với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối alph, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm alph làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của alph.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "aqualia-alph": {
      "command": "npx",
      "args": [
        "-y",
        "@aqualia/alph-cli"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của alph, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của alph.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng alph giúp tôi làm việc này không?
alph
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng alph.

Câu hỏi thường gặp

Máy chủ MCP alph dùng để làm gì?

alph là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP alph với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng alph với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP alph với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối alph, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP alph với TypingMind?

alph hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP alph cung cấp những công cụ nào trong TypingMind?

alph cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP alph không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu alph yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇