Connect
The server speaks MCP Streamable HTTP (JSON responses) at:Claude Code
-
Register the server:
- Open Claude Code. The server is listed as Authorization needed — it can’t call tools yet.
-
Run
/mcp, select nuphos, and choose Authenticate. Your browser opens the Nuphos authorization page. - If you are already signed in to nuphos.ai, it’s a single Authorize click; otherwise sign in with your email and a verification code. Back in Claude Code, the server shows as connected.
Codex
Add the server to~/.codex/config.toml:
Other MCP clients
Any client that supports Streamable HTTP with OAuth 2.1 discovery works the same way. Clients without OAuth support can send a Nuphos token directly:In the Nuphos app
Conversations started over MCP are real agent sessions — every one runs inside one of your teams and shows up in that team’s workspace like any other session, with its full transcript visible to the team.What your coding agent can do through it
The MCP server exposes these tools:
In practice: while Claude Code is building your app, it can ask Nuphos to
“provision a Postgres on the staging cluster” or “why is the deploy
failing?” — the Nuphos Agent does the infrastructure work with your connected
accounts and returns the answer to your coding agent.
Sessions
Every conversation runs inside one of your teams — pass ateam_id from
nuphos_list_teams to nuphos_ask.
Pass your own session_id to make a conversation resumable: if nuphos_ask
times out on the client side, the agent keeps running — reconnect with
nuphos_check using the same session_id to fetch the result. Reusing the
session_id on a later nuphos_ask continues the conversation with full
history.
Permissions & authorization
MCP is an entry point, not an escape hatch — sessions started over MCP obey the same boundaries as sessions started in the app:- Hard boundary — who is acting. The OAuth flow authenticates you, so every MCP call acts as your Nuphos user with your access control: your team role and the member allow-lists on each account. Access is enforced server-side on every request — the agent can never use a credential your user isn’t allowed to use, regardless of session settings.
- Scoping credentials per session. A new session may use all
credentials you can access in that team. To narrow what the agent can touch,
call
nuphos_update_credentialswith the exact set of ids (fromnuphos_list_credentials) the session should keep — it is a full replacement, and it applies from the nextnuphos_askonward. - Soft boundary — what may run. Changes still go through plan approvals, and Auto-authorization still governs each command the Nuphos Agent runs — your standing rules apply identically to MCP-initiated sessions.
Good to know
nuphos_askblocks until the run finishes — for long tasks, pass asession_idand poll withnuphos_checkinstead of relying on one long request.- Bearer-token auth (for clients without OAuth) carries exactly the same permissions as the OAuth flow — it’s your user either way.