NyxID 标志

NyxID

组织
ChronoAIProject

Connect AI agents to any API, anywhere. Securely. Open-source gateway that proxies requests, injects credentials automatically, punches through NAT to reach localhost services, and wraps REST APIs as MCP tools. Per-agent isolation. Never expose a raw key.

发布者ChronoAIProject
代码仓库NyxID
语言Rust
复刻数
12
星标数
40
可用工具
0
传输类型stdio
许可协议Apache-2.0
链接
  • 将工具接入 AI 工作流

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

  • 0 个可用工具

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

  • 可直接复制的配置

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

  • 开源社区热度

    关联的代码仓库有 40 个星标和 12 个复刻。

License: Apache-2.0 GitHub Stars Discord nyxid MCP server

Connect AI agents to any API, anywhere. Securely. Open-source Agent Connectivity Gateway.

NyxID lets your AI agents (Claude Code, Cursor, n8n) reach any API you have, public or private, and handles all the credentials so your agent never sees a raw key.

NyxID proxies requests, injects credentials automatically, punches through NAT (Network Address Translation) to reach your local services, and wraps any REST API as MCP (Model Context Protocol) tools.

Administrators can configure shared credentials, access, endpoint rules, and billing from either services or linked providers. See Service configuration and vendor retirement. They can also give a role read-only access to platform-wide usage reports, for example with the seeded Usage Viewer role, without granting other admin access. See Admin usage. Usage → Dashboard / List share top-level user, billing-owner organization, service, and time filters. Dashboard charts offer Group by → Model to inspect recorded model usage within a service. See billing analytics for grouping, missing models, and filter semantics. Admins, operators and Usage Viewers can open Usage → NyxBot for cost and billing, token traffic, and top billing accounts split by model, alongside active-session counts, turn outcomes, and reply feedback. See NyxBot model usage for exact values, attribution, and historical coverage, and NyxBot activity for activity definitions.

Feature flag access can be delegated to any user or group with feature-flag-operator (create flags and manage their own) or feature-flag-admin (manage all flags, including built-ins). Both roles use Admin → Feature Flags. See feature flag management.

What NyxID Does

  • Allocate repeatable credits — admin Credits supports exact one-time or recurring allocations, optional shared-total service ceilings, and reclaim of each allocation's unspent remainder. Existing free-unit allowances stay separate. New policy authoring is off until all billing writers are upgraded; see credit allocation accounting and rollout.

  • Connect phone and speech services to NyxBot — service adapters add Telnyx/Twilio inbound calls and SMS plus ElevenLabs Custom LLM, with declared capabilities, verified connections and specialist tools. The feature is disabled by default; shared-platform Telnyx voice is unavailable.

  • Manage Oracle pool ownership and retirement — transfer a pool between your account and organizations you manage while preserving its identity, or delete an idle pool through the API and CLI. See Oracle pool lifecycle for credential renewal and coordinated rollout requirements. Available in the first tagged release containing these changes.

  • Speak to NyxBot and specialists — voice calls show live captions and audio activity in the composer. Dictation offers click-to-toggle or hold-to-talk capture, microphone selection, and transcript review before insertion into a draft. Platform audio requires enabled voice features, a configured provider and tariff, and sufficient funding; microphone access is requested when capture is activated. See voice and dictation.

  • Display source images in NyxBot — supported Notion reads return image references that NyxBot can retain as encrypted chat attachments and deliver through supported channels. The shared retrieval tool rechecks source access; see source resources and image display.

  • Control NyxBot service use — NyxBot enforces saved connection order, prefers suitable working personal connections, and asks before organization use in Auto and Ask every time. Choose an exact connection for the next message without changing permission modes. See NyxBot service execution.

  • Spend NyxID credits on Telnyx tools — the Telnyx platform offering supports a restricted pilot of one model's nonstreaming text chat through HTTP or MCP, including NyxBot tool calls. Administrators must configure and enable the shared credential, verified model bounds, prices, billing, and pilot access before use; users do not connect Telnyx OAuth.

  • Connect Stripe to agents — Stripe Apps OAuth supports a managed account connection and read-only customer, invoice, payment, and subscription tools.

  • Connect email to agents — Aurinko Email provides an AI Service for mailbox API/MCP operations and an email channel bot for signed incoming notifications and replies. Connect with an account token; the channel additionally uses the application's signing secret.

  • Create a Telegram channel bot — Telegram New uses a platform-managed creation flow so customers can create and connect a bot without copying a token. The existing Telegram option still connects bots using their current tokens. Administrators configure a dedicated manager before enabling Telegram New.

  • Use BotFather as your Telegram assistant — linked managers deliver full replies in ordered messages and retain forwarded text, quotes, links and attachments. Pair with a copyable command or Telegram return link, and edit shared FAQ/use-case libraries with preview, publication history and rollback in Admin → Platform Bots. Multiple managers can share one library. See BotFather setup and gateway rollout.

  • Mention channel specialists — Exact native Telegram and Lark/Feishu mentions reach the receiving bot's linked agent in an enabled group without participant OAuth. Bot-authored messages remain guests with durable handoff limits. See channel admission and gateway rollout.

  • Reach anything — public APIs, internal APIs, localhost services via credential nodes (nyxid node). SSH (Secure Shell) tunneling (nyxid ssh) reaches remote hosts. No VPN (Virtual Private Network), no port forwarding.

  • Never expose keys — the reverse proxy injects credentials automatically. Your agent talks to NyxID; NyxID talks to the API with the real key.

  • MCP auto-wrap — REST APIs with OpenAPI specs become MCP (Model Context Protocol) tools. nyxid mcp config --tool cursor generates the config. Works with Claude Code, Cursor, VS Code, and any MCP client.

  • Per-agent isolation — each agent gets a scoped token. Agent A accesses Slack and Gmail. Agent B only accesses your internal API. Revoke any session without touching the underlying credentials.

  • Full identity layer — OIDC (OpenID Connect) / OAuth 2.0 with PKCE (Proof Key for Code Exchange), RBAC (Role-Based Access Control), service accounts, transaction approval (Telegram + mobile push), LLM (Large Language Model) gateway for 7 providers.

  • Add service access when needed — applications can request incremental OAuth consent, showing new services separately while preserving existing access in refresh tokens and broker bindings.

See It in Action

The web app checks for frontend updates every ten minutes. Assistant updates apply on safe chat or view switches; every frontend build still pending after 15 minutes shows a refresh reminder, including on Nyxbot pages. See deployment behavior.

The end-to-end loop is short: connect a service to NyxID once, then any AI agent pointed at your NyxID MCP endpoint can use it — without ever seeing the raw API key.

  1. Add a service in the web console — paste your OpenAI (or Anthropic, GitHub, etc.) key once; NyxID stores it encrypted.
  2. Wire up your AI tool — claude mcp add --transport http --scope user nyxid http://localhost:3001/mcp (or one-click install for Cursor in Settings → MCP).
  3. Use it — Claude Code, Cursor, or any MCP client can now call the service through NyxID. The agent sees the response; never the key.

Why NyxID

Other tools solve parts of this — NyxID combines credential injection, NAT traversal, and MCP tooling in one open-source gateway:

NyxID1Password Universal AutofillCloudflare TunnelKeycloak
Open sourceYesNoNoYes
NAT traversal to localhostYes (nyxid node)NoYes (no credentials)No
Credential injectionYes (any API)Partner integrationsNoNo
REST to MCP auto-wrapYesNoNoNo
Per-agent isolationYesNoNoNo
OIDC / OAuth 2.0YesNoNoYes

Use Cases

  • Give Claude Code access to your private APIs without sharing keys
  • Expose internal microservices to AI agents through a single MCP endpoint
  • Secure AI agent access to self-hosted tools (Grafana, Jenkins, n8n) behind your firewall

Getting Started

NyxID is used in two phases — install the nyxid CLI client, then pick a workflow. The CLI logs into either the hosted service or a self-hosted backend and can create the Agent Key your workflow needs.

1. Install NyxID

The default "install NyxID" path installs the lightweight nyxid CLI. It is user-scoped, needs no Docker, and does not start a backend server.

Just need the client? Install the CLI. Running your own backend? Self-host with Docker.

bash
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ChronoAIProject/NyxID/main/skills/nyxid/scripts/install.sh)"

After the CLI is installed, choose where it should log in:

HostedSelf-host
What it isWe run the NyxID backend for you in the cloudYou run the NyxID backend on your own machine
Best forGetting started quickly, no server setupFull control, private networks, offline use
StatusOpen sign-upOpen — anyone can run it

Driving NyxID from an AI coding agent? Hand it this single line at any point — it tells the agent to install the nyxid CLI plus the Nyx skill files:

Install nyx skills from https://github.com/ChronoAIProject/NyxID/blob/main/skills/INSTALL.md

The agent reads skills/INSTALL.md end-to-end. It should use the CLI installer by default and only run the Docker backend setup if you explicitly ask to self-host.

Prefer a plugin install? The Claude Code and Codex plugins connect your agent to NyxID's hosted MCP server and bundle an MCP-first NyxID skill; they need no CLI. The last command opens NyxID sign-in. When you approve the app, choose the services it may use (or all services). Connect a service afterwards to expose its tools.

Claude Code

bash
claude plugin marketplace add ChronoAIProject/NyxID
claude plugin install nyxid@nyxid
claude mcp login plugin:nyxid:nyxid

Codex

bash
codex plugin marketplace add ChronoAIProject/NyxID
codex plugin add nyxid@nyxid
codex mcp login nyxid

claude mcp login needs Claude Code 2.1.284 or later; on older versions run /mcp inside Claude Code to sign in. The same Claude marketplace also offers nyxid-cli@nyxid, the CLI edition that bundles every skill in skills/ (it calls the nyxid CLI installed above). Cursor: see integrations/cursor-plugin/. Maintainers: see docs/PLUGINS.md.

Hosted (Recommended)

Start using NyxID in under a minute — no Docker, no setup.

  1. Open nyx.chrono-ai.fun/register in a new tab (Cmd/Ctrl-click, or right-click → Open Link in New Tab) so you can keep this checklist open.
  2. Sign up with Google, GitHub, or Apple
  3. Open AI Services, add and connect your first external service, and run the API Usage verification curl
  4. After the service is verified, wire your AI tool to NyxID's MCP endpoint

The full click-through flow is in Add your first AI Service.

Self-Host

Run your own NyxID backend on your machine. This is the optional server-side path and sets up three Docker containers (database, backend, frontend) — takes about 2 minutes.

Prerequisites: Docker and a bash shell. macOS and Linux already have one — Windows users, see docs/WINDOWS_SETUP.md before going further. Docker is required only for this backend path. Full prereqs and disk budgets are in SETUP.md.

AI-Assisted (Recommended)

If you have Claude Code, Cursor, or any AI coding assistant open, paste the prompt below into it only when you explicitly want a self-hosted backend. It will drive the entire self-host flow for you — preflight, clone, env generation, Docker stack, health check, CLI login, first credential, and MCP config.

I want to self-host the NyxID backend on this machine (the repo is https://github.com/ChronoAIProject/NyxID). This is the Docker server path, not the default CLI install. Walk me through the full setup interactively. If anything fails or I'd prefer to follow the manual steps myself, the full step-by-step with troubleshooting is at https://github.com/ChronoAIProject/NyxID/blob/main/docs/SETUP.md. If I'm on Windows, confirm I'm running from a WSL Ubuntu shell (not native PowerShell or CMD) before proceeding — see https://github.com/ChronoAIProject/NyxID/blob/main/docs/WINDOWS_SETUP.md.

  1. Confirm Docker is installed and running before touching anything (check git, docker, openssl, curl, docker compose v2, and docker info).
  2. Before cloning or generating anything, check whether NyxID install STATE is present — look for a ./NyxID/.env.dev file OR any Docker volume matching nyx*_mongodb_data (run docker volume ls --format '{{.Name}}' | grep -E 'nyx.*_mongodb_data$' — this catches the default nyxid_mongodb_data plus any variant from a renamed checkout). A bare ./NyxID directory alone does NOT count as "installed" — uninstall.sh leaves the source tree in place, so the directory can exist with no state. If install state is present, stop and tell me the quickstart is a first-time-only install. Ask whether I want to (a) uninstall first — if ./NyxID exists, run cd NyxID && ./scripts/uninstall.sh --yes && cd ..; if only the stale Docker volume is orphaned (checkout was manually deleted earlier), run docker volume ls --format '{{.Name}}' | grep -E 'nyx.*_mongodb_data$' | xargs -r docker volume rm directly. Either path wipes the volume, containers, and (for the script path) .env.dev/keys — destroys all NyxID accounts and encrypted credentials. Or (b) keep my existing install and stop here — I can verify it's still running with curl -sf http://localhost:3001/health. Do not proceed to step 3 until I answer.
  3. If ./NyxID already exists (post-uninstall reinstall), cd into it; otherwise clone the repo into the current directory and cd in. Generate .env.dev with a fresh ENCRYPTION_KEY and MONGO_ROOT_PASSWORD (set ENVIRONMENT=development, AUTO_VERIFY_EMAIL=true, and EMAIL_AUTH_ENABLED=true so I can complete email verification quickly; after initial admin setup, disable the auth:invitation-code feature flag under Admin > Feature Flags to open signup), symlink it to .env.production, create the PKCS#1 JWT signing keys under keys/ (with a LibreSSL fallback using -pubout if -RSAPublicKey_out isn't supported), then pull images and start the stack with docker compose -f docker-compose.yml -f docker-compose.prod.yml --env-file .env.production up -d. Wait up to 90 seconds for http://localhost:3001/health to return 200 — if it times out, tell me to run docker logs nyxid-backend. If the logs show SCRAM failure: Authentication failed, that means the MongoDB volume has a stale password from a previous install — tell me to run ./scripts/uninstall.sh --yes (or, if the checkout is gone, docker volume ls --format '{{.Name}}' | grep -E 'nyx.*_mongodb_data$' | xargs -r docker volume rm to remove any nyx-flavored orphan volume) and retry. Show me the generated ENCRYPTION_KEY so I can back it up.
  4. Tell me to open http://localhost:3000 and register my account (no email verification needed — accounts are auto-verified in dev mode), and wait until I confirm I've done that.
  5. Ensure the nyxid CLI is available. If it is not installed, ask me whether I want to install the nyxid CLI plus the Nyx skill so you can drive NyxID from the terminal afterwards. Explain that the installer downloads a roughly 10 MB prebuilt binary plus a small set of skill files (no Rust toolchain required), installs the CLI into a versioned layout with rollback support, and that only unsupported OS/arch combinations fall back to a Rust source build. If I say yes, follow the install manifest at https://raw.githubusercontent.com/ChronoAIProject/NyxID/main/skills/INSTALL.md end-to-end (it installs the CLI under ~/.local/share/nyxid/, drops the skill into your skill directory, and tells you to export PATH="$HOME/.local/bin:$PATH" if needed). Then verify with nyxid doctor, log me in with nyxid login --base-url http://localhost:3001, add my OpenAI key with nyxid service add llm-openai --credential-env OPENAI_API_KEY, and verify with nyxid proxy request <slug> models using the slug the previous service add command printed under Slug: (typically llm-openai, but suffixed if I already had a service with that slug). If I do not want the CLI, walk me through adding the same OpenAI credential in the web console instead.
  6. Finish by connecting my AI tool to NyxID's MCP endpoint at http://localhost:3001/mcp. For Claude Code: claude mcp add --transport http --scope user nyxid http://localhost:3001/mcp. For Codex: codex mcp add nyxid --url http://localhost:3001/mcp. For Cursor: open Settings > MCP in the web console and click Install to Cursor.
Manual Setup

Prefer to run the optional backend setup yourself, or need the full troubleshooting guide? Follow docs/SETUP.md (macOS, Linux, or Windows via WSL).

It covers:

Once NyxID is running and you've registered at http://localhost:3000, continue to 2. Pick a workflow.

For production deployment (TLS, custom domain, email verification), see docs/DEPLOYMENT.md.

2. Pick a workflow

With a NyxID account, pick the workflow that matches what you want to build and use the identity its guide requires. Each is a step-by-step procedure that ends with a working integration; the guides are independent and can be completed in any order.

QuickstartOutcomeNyxID capability
Run NyxBot from your terminalSubmit prompts from text, files, or stdin; inspect, wait for, and cancel durable work using a first-party owner login. The CLI runs locally and uses your hosted or self-hosted NyxID instance.Owner CLI and invocation API; requires server admission enabled
n8n: Daily AI News Digest with One NyxID CredentialAn n8n workflow pulls an RSS feed, summarizes each article with Gemini, and posts to Telegram — using one Header Auth credential in n8n while NyxID stores the upstream Gemini and Telegram secrets.Per-service credential injection
Per-Agent Keys for Claude Code and CodexTwo coding agents on one machine, each scoped to a distinct service and credential, attributed independently in the audit log.Agent isolation, scoped Agent Keys
Reach a Localhost API from a Cloud-Hosted AgentA private-host API is reachable from a cloud agent without VPN, port forwarding, or a tunneling service.Credential Node, outbound-only NAT traversal
Wrap a REST API as MCP ToolsAn OpenAPI spec is exposed as typed MCP tools to Claude Code / Cursor / VS Code / Codex with no MCP server code.OpenAPI → MCP auto-wrap
Use Supabase as an AI Agent DatabaseA Supabase project becomes a credential-brokered PostgREST database for scoped AI agents.Per-user endpoint + encrypted API key
Connect Cloudflare, Supabase Management, or RailwayConnect a cloud account through a shared or BYO OAuth app for scoped management API access.PKCE OAuth, encrypted tokens, and refresh

For a per-interface reference walkthrough that ends with HTTP/1.1 200 from your first proxied call (Web UI · CLI · AI-driven · Direct API), see the Connecting AI Services hub.

Connecting AI Services (interface reference)

Pick a workflow in Getting Started is organized by use case. For an interface-oriented reference that ends with a verified proxy call (HTTP/1.1 200) using your preferred entry point — Web UI, CLI, AI-driven (MCP), or Direct API — see docs/connecting-services/. The hub distinguishes external service credentials from NyxID Agent Keys and links to one walkthrough per interface.

Resources

TopicLinkDescription
Quickstartsdocs/quickstarts/End-to-end recipes — n8n, per-agent keys, node proxy, MCP wrapping
Connecting AI Servicesdocs/connecting-services/Add your first (or Nth) AI Service — Web UI / CLI / AI-driven / Direct API
Setupdocs/SETUP.mdOptional self-hosted backend + troubleshooting (macOS, Linux, Windows via WSL)
Nyxbot Onboardingdocs/NYXBOT_ONBOARDING.mdOnboarding entry, existing integrations, and pending backend contracts
NyxBot CLI and APIdocs/chat/09-owner-cli-api.mdOwner commands, invocation lifecycle, security boundaries, and rollout
Deploymentdocs/DEPLOYMENT.mdStart here for production setup
AI Agent Playbookdocs/AI_AGENT_PLAYBOOK.mdStart here for agent integration
Architecturedocs/ARCHITECTURE.mdSystem design and data flows
API Referencedocs/API.mdFull endpoint documentation
Credential Nodesdocs/NODE_PROXY.mdNAT traversal setup
MCP Integrationdocs/MCP_DELEGATION_FLOW.mdMCP protocol details
SSH Tunnelingdocs/SSH_TUNNELING.mdRemote host access over WebSocket
Securitydocs/SECURITY.mdThreat model and hardening
Environment Variablesdocs/ENV.mdFull config reference
Telemetrydocs/TELEMETRY.mdOpt-in usage analytics — hot-swap contract, event taxonomy, consent + GDPR erasure
Developer Guidedocs/DEVELOPER_GUIDE.mdLocal development setup

Contributing

We welcome contributions. See CONTRIBUTING.md.

License

Apache-2.0

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

TypingMind 在工作区级别连接 MCP 工具,因此连接 NyxID 后,您就可以在 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

将 NyxID 添加为服务器

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

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

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

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

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

常见问题

NyxID MCP 服务器有什么用途?

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

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

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

为什么在 TypingMind 中使用 NyxID MCP?

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

如何将 NyxID MCP 连接到 TypingMind?

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

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

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

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

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

相关 MCP 服务器

查看全部

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

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