
nonimo-mcp
io.github.nonimoai/nonimo-mcp
Nonimo Gateway from your AI assistant: connect your app, keys, usage, reports, plan and billing. Run
Documentation
@nonimo/mcp — Nonimo Gateway connector for AI assistants
A local MCP server (stdio, no dependencies, no network listener). The assistant (Claude Code, Codex, Gemini CLI, Cursor, GitHub Copilot in VS Code, Windsurf…) uses it to set up and run the customer's Nonimo Gateway from the project.
Where keys go. Access key → project .env (git-ignored; refused if .env is committed or a symlink). Panel key →
~/.config/nonimo/gateways/<id>.json (0600), never in the project. AI provider key → read by variable NAME and sent
only to the customer's own https://<id>.gw.nonimo.ai. No key goes back to the assistant; Nonimo sees nothing new.
Tools. status, signup, activate, save_keys, set_provider_key, connect_project, test, usage,
dpo_report, manage. Provider is a parameter: openai, anthropic, gemini, azure-openai, mistral (the last
three are chosen at signup with provider, Azure with azure_resource and an email link the person opens; the
connector checks what the Gateway serves and sends nothing otherwise).
The person confirms signup, save_keys and set_provider_key: in the assistant's own prompt (MCP elicitation),
or in a system dialog (macOS, Windows, Linux with zenity). NONIMO_CONFIRM_WITH=dialog in the MCP config always uses the system window
(easier to spot than a prompt inside a terminal). With neither, the step is refused unless the person set
NONIMO_ALLOW_UNCONFIRMED=1 in the MCP config (then the assistant relays their yes with a one-time code).
Install. npx -y @nonimo/mcp (one line per assistant in llms.txt). Published only from GitHub Actions, with npm provenance.
Tests. npm test (a fake Gateway on 127.0.0.1; no network to Nonimo).
Env: NONIMO_PROJECT_DIR, NONIMO_API (https://pruebas-api.nonimo.ai = test twin), NONIMO_CONFIG_DIR,
NONIMO_ALLOW_HOST (self-hosted Gateway or tests), NONIMO_ALLOW_UNCONFIRMED, NONIMO_CONFIRM_WITH, NONIMO_NO_DIALOG.
@nonimo/mcpnpm install @nonimo/mcp