alph 标志

alph

组织
Aqualia

Universal MCP Server Configuration Manager

发布者Aqualia
代码仓库Alph
语言TypeScript
复刻数
5
星标数
71
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    alph 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 71 个星标和 5 个复刻。

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.


安装

TypingMind
前提条件:

Node.js 18+

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

将 alph MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 alph 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 alph 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 alph MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "aqualia-alph": {
      "command": "npx",
      "args": [
        "-y",
        "@aqualia/alph-cli"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 alph MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 alph MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 alph 帮我完成这项任务吗?
alph
当然,我看过了。
以下是我使用 alph 得到的结果。

常见问题

alph MCP 服务器有什么用途?

alph 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 alph MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 alph。

为什么在 TypingMind 中使用 alph MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 alph 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 alph MCP 连接到 TypingMind?

alph 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

alph MCP 在 TypingMind 中提供哪些工具?

alph 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 alph MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 alph 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇