原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Alephant MCP

作者:AlephantAI版本 0.1.3i★ –i在你的电脑上运行
注册名称io.github.AlephantAI/alephant-mcp

安装

概览

作者提供的说明(英文原文)

Alephant MCP server for AI cost control, BYO-key routing, 50+ providers, and 320+ models.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:ALEPHANT_API_BASE_URL, ALEPHANT_VIRTUAL_KEY, ALEPHANT_PAT

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: ALEPHANT_API_BASE_URL, ALEPHANT_VIRTUAL_KEY, ALEPHANT_PAT, ALEPHANT_WORKSPACE_ID, ALEPHANT_RATE_LIMIT_RPM

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "alephant": {
      "command": "npx",
      "args": [
        "-y",
        "@alephantai/mcp"
      ],
      "env": {
        "ALEPHANT_API_BASE_URL": "your-value",
        "ALEPHANT_VIRTUAL_KEY": "your-value",
        "ALEPHANT_PAT": "your-value",
        "ALEPHANT_WORKSPACE_ID": "your-value",
        "ALEPHANT_RATE_LIMIT_RPM": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add alephant --env ALEPHANT_API_BASE_URL=your-value --env ALEPHANT_VIRTUAL_KEY=your-value --env ALEPHANT_PAT=your-value --env ALEPHANT_WORKSPACE_ID=your-value --env ALEPHANT_RATE_LIMIT_RPM=your-value -- npx -y @alephantai/mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "alephant": {
      "command": "npx",
      "args": [
        "-y",
        "@alephantai/mcp"
      ],
      "env": {
        "ALEPHANT_API_BASE_URL": "your-value",
        "ALEPHANT_VIRTUAL_KEY": "your-value",
        "ALEPHANT_PAT": "your-value",
        "ALEPHANT_WORKSPACE_ID": "your-value",
        "ALEPHANT_RATE_LIMIT_RPM": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "alephant": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@alephantai/mcp"
      ],
      "env": {
        "ALEPHANT_API_BASE_URL": "your-value",
        "ALEPHANT_VIRTUAL_KEY": "your-value",
        "ALEPHANT_PAT": "your-value",
        "ALEPHANT_WORKSPACE_ID": "your-value",
        "ALEPHANT_RATE_LIMIT_RPM": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • ALEPHANT_API_BASE_URL 必填 env
    Alephant SaaS API base URL, for example https://alephant.io.
  • ALEPHANT_VIRTUAL_KEY 机密 env
    Virtual Key for read-only, cockpit-scoped VK mode. Use this mode for developer-level cost and usage visibility.
  • ALEPHANT_PAT 机密 env
    Personal Access Token for Manager mode. When set, Manager mode takes precedence over ALEPHANT_VIRTUAL_KEY.
  • ALEPHANT_WORKSPACE_ID env
    Workspace UUID required with ALEPHANT_PAT for Manager mode.
  • ALEPHANT_RATE_LIMIT_RPM env
    Optional local HTTP tool-call limit per minute. Defaults to 60; set 0 to disable local throttling.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 AlephantAI 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18643 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18643 个服务器的 8% 更新
  • 基础检查结果等于或优于此分类中其他 18643 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Alephant MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:ALEPHANT_API_BASE_URL, ALEPHANT_VIRTUAL_KEY, ALEPHANT_PAT

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.3)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Cosas Guapas: buscador de regalos

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2113天前更新

在云端运行✓ desktopcommander.app

Cosas Guapas: buscador de regalos

Regalos originales por ocasión, persona y presupuesto, con enlaces a guías completas (España).

作者:cosasguapas.com起步阶段今天更新

在云端运行✓ cosasguapas.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Alephant MCP Server

Model Context Protocol server for Alephant BYO-KEY: FinOps metrics, virtual keys, and workspace analytics from Cursor, Claude Desktop, or any MCP host.

Modes

ModeEnvironmentTools
VKALEPHANT_VIRTUAL_KEYCockpit-scoped usage + 3 VK tools (8 tools total incl. shared)
ManagerALEPHANT_PAT + ALEPHANT_WORKSPACE_IDWorkspace-wide management (27 tools total incl. shared)

PAT takes precedence when ALEPHANT_PAT is non-empty. If neither VK nor PAT is set, the process exits with an error (no mock data).

Required (both modes): ALEPHANT_API_BASE_URL Optional: ALEPHANT_RATE_LIMIT_RPM (default 60, use 0 to disable client-side throttling)

Windows / npx troubleshooting

From this repo’s root (`alephant-mcp/`): do not use npx -y @alephantai/mcp to “smoke test” the published package. npm treats the current directory as the local @alephantai/mcp project and does not link the root package’s bin into node_modules/.bin, so Windows then fails with 'alephant-mcp' is not recognized (or the Chinese CMD equivalent).

Use one of these instead while developing in the clone:

npm start

or

node .\bin\alephant-mcp.js

To verify npx the same way end users do, run it from any other directory (e.g. the parent folder):

cd ..

npx -y @alephantai/mcp

From a normal project folder (after npm install @alephantai/mcp), you can also run:

node .\node_modules\@alephantai\mcp\bin\alephant-mcp.js

If npx -y @alephantai/mcp still fails outside the clone, try:

npx --yes --package=@alephantai/mcp alephant-mcp

Published packages 0.0.2+ include the bin/alephant-mcp.js shim for reliable npm bin resolution when installed from the registry.

MCP client config

Alephant MCP is a local stdio server. Use one server entry per credential scope. For multiple workspaces, create multiple entries with different names and environment variables.

Cursor / Claude Desktop

Virtual Key (read-only / scoped cockpit):

{

"mcpServers": { "alephant": { "command": "npx", "args": ["-y", "@alephantai/mcp"], "env": { "ALEPHANT_API_BASE_URL": "https://alephant.io", "ALEPHANT_VIRTUAL_KEY": "vk-..." } } } }

Personal Access Token (manager):

{

"mcpServers": { "alephant-workspace-a": { "command": "npx", "args": ["-y", "@alephantai/mcp"], "env": { "ALEPHANT_API_BASE_URL": "https://alephant.io", "ALEPHANT_PAT": "pat_...", "ALEPHANT_WORKSPACE_ID": "00000000-0000-0000-0000-000000000000" } } } }

Use separate `mcpServers` entries per workspace when you have multiple PATs.

Codex

Add a stdio MCP server in ~/.codex/config.toml:

[mcp_servers.alephant]

command = "npx" args = ["-y", "@alephantai/mcp"] env = { ALEPHANT_API_BASE_URL = "https://alephant.io", ALEPHANT_VIRTUAL_KEY = "vk-..." } startup_timeout_sec = 20 tool_timeout_sec = 120

For Manager mode, replace the VK env with:

env = {

ALEPHANT_API_BASE_URL = "https://alephant.io", ALEPHANT_PAT = "pat_...", ALEPHANT_WORKSPACE_ID = "00000000-0000-0000-0000-000000000000" }

Verify with:

codex mcp list

codex mcp get alephant

OpenCode

Add a local MCP server under mcp in your OpenCode config, for example opencode.json:

{

"$schema": "https://opencode.ai/config.json", "mcp": { "alephant": { "type": "local", "command": ["npx", "-y", "@alephantai/mcp"], "enabled": true, "environment": { "ALEPHANT_API_BASE_URL": "https://alephant.io", "ALEPHANT_VIRTUAL_KEY": "vk-..." } } } }

For Manager mode, use ALEPHANT_PAT and ALEPHANT_WORKSPACE_ID in environment instead of ALEPHANT_VIRTUAL_KEY.

Claude Code

Use the CLI to add Alephant as a local stdio server:

claude mcp add-json alephant '{"type":"stdio","command":"npx","args":["-y","@alephantai/mcp"],"env":{"ALEPHANT_API_BASE_URL":"https://alephant.io","ALEPHANT_VIRTUAL_KEY":"vk-..."}}' --scope user

claude mcp list claude mcp get alephant

For a shared project config, create .mcp.json in the project root:

{

"mcpServers": { "alephant": { "type": "stdio", "command": "npx", "args": ["-y", "@alephantai/mcp"], "env": { "ALEPHANT_API_BASE_URL": "https://alephant.io", "ALEPHANT_VIRTUAL_KEY": "vk-..." } } } }

For Manager mode, replace the VK env with ALEPHANT_PAT and ALEPHANT_WORKSPACE_ID.

CLI audit

npx --yes --package=@alephantai/mcp alephant-mcp --audit
  • VK: prints cockpit scope + usage-summary (billing cycle).
  • Manager: prints workspace id + GET /api/v1/analytics/overview.

Tools (summary)

Shared (both modes): check_alephant_connection, get_usage_summary, get_daily_costs, get_cost_by_model, list_available_models VK only: get_my_scope, get_my_budget, get_my_recent_requests Manager only: get_workspace_overview, get_workspace_budget_status, list_virtual_keys, create_virtual_key, update_key_budget, revoke_virtual_key, list_agents, get_agent_analytics, list_members, get_member_analytics, list_departments, get_department_analytics, get_subscription_info, set_budget_policy, get_live_24h, get_usage_timeseries, get_sparklines, diagnose_cost_anomaly, get_executive_dashboard, drill_down_spend, find_idle_resources, compare_entity_periods

get_request_logs is not included (JWT-only backend route).

Prompts & resources

  • cost_audit_report — both modes
  • cost_optimization — manager only

Documentation

  • [中文:在 AI Agent 中如何使用 MCP](docs/zh-CN/agent-mcp-usage.md) — 自然语言提问示例、/alephant-… 快捷模板、工具对照表
  • Marketplace submission: see docs/marketplace-submission.md for official MCP Registry, Smithery, and Glama submission notes.

Development

npm install

npm test npm run build

Package

Published as `@alephantai/mcp` (alephant-mcp binary).

问 PopNx