@nanoseil/nsid-mcp-auth
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@nanoseil/nsid-mcp-authcreate a new identity"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@nanoseil/nsid-mcp-auth
Local stdio credential broker for Nanoseil MCP services. It keeps the Nanoseil Identity API key outside Claude/Codex configuration and forwards MCP JSON-RPC to one exact, built-in production endpoint.
Requirements
Node.js 20.12 or newer
macOS, Linux, or WSL for P0. Native Windows invocation is not yet verified.
Related MCP server: Miftah
Create an identity explicitly
npx -y @nanoseil/nsid-mcp-auth@0.1.0-next.1 identity createBy default the identity lives at
~/.nanoseil/agent/identities/<sha256(cwd)[:32]>.json, matching the existing
NSOS identity contract. The exact cwd string is hashed without realpath or case
normalization. A different checkout, symlink path, or container path can
therefore select a different identity. The directory is mode 0700 and files are
written atomically with mode 0600.
--profile or NSID_PROFILE remains an explicit override; normal use does not
require it.
P0 supports only the canonical default identity directory above.
NANOSEIL_IDENTITY_DIRis not consumed by the broker.NSID_IDENTITY_FILEis not consumed by the broker.An nsos-codex proxy launch must fail before starting the broker when either legacy path override is active. Direct mode remains the rollback path.
Supporting an override later requires canonical-root containment and cwd-key validation; the broker will not accept an arbitrary identity file path.
The broker never creates a replacement identity after a 401. Repair or create a profile explicitly instead.
Run as an MCP stdio server
npx -y @nanoseil/nsid-mcp-auth@0.1.0-next.1 --server nsosThe production allowlist is exact:
https://nsos.nanoseil.com/mcphttps://islands.nanoseil.com/mcp(canonical URL confirmed; disabled pending deployment and three-point smoke)
The Islands alias fails closed before sending a credential while disabled. It is not part of the active production allowlist. Arbitrary URLs and redirects are rejected. Client-provided credentials are not forwarded; only the broker adds the profile's Bearer credential.
Generate client configuration
The command displays the proposed entry and prompts before changing a file.
Use --yes only after reviewing it.
npx -y @nanoseil/nsid-mcp-auth@0.1.0-next.1 setup claude --server nsos
npx -y @nanoseil/nsid-mcp-auth@0.1.0-next.1 setup codex --server nsosClaude updates ~/.claude.json without replacing unrelated mcpServers.
Codex updates a marked table in ~/.codex/config.toml. Re-running setup is
idempotent. Before changing an existing file it writes a timestamped mode-0600 .bak backup.
Neither output contains a token.
Security model
API keys never belong in argv, client config, logs, errors, or telemetry.
Redirects and arbitrary upstream URLs are disabled.
A profile is isolated from another profile, and each upstream gets its own MCP session in its own broker process.
401/403 stops the credential; upstream 5xx/timeouts fail closed and may be retried by the MCP client.
Publishing is intentionally separate from building and packing. Do not run
npm publish from a developer workstation. Releases use the protected
npm-release GitHub environment and npm trusted publishing (.github/workflows/release.yml)
so the package is published with provenance and the selected dist-tag. The
next tag is required while the package version contains a pre-release suffix;
upgrade consumers by changing the exact pin in generated configuration and
running setup again.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
MCP server bridging holepunchto/keet-identity-key to the Hive agentic identity network
Hosted MCP server for live Bittensor chain reads and self-custodial on-chain writes.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceLocal stdio proxy for Uno MCP Gateway that enables MCP clients without OAuth support to securely connect to authenticated remote servers.1MIT
- AlicenseNot gradedqualityAmaintenanceA local MCP auth wrapper and credential broker for multi-account workflows, enabling profile switching, secret injection, and policy enforcement for upstream MCP servers.348 npm4MIT
- AlicenseNot gradedqualityAmaintenanceA local stdio MCP server that authenticates to remote OAuth-protected MCP servers using the client_credentials grant, handling token acquisition and request forwarding.25 npm2Apache 2.0
- AlicenseNot gradedqualityCmaintenanceLocal stdio bridge that exchanges TEUS email and password for a short-lived JWT and forwards MCP JSON-RPC to TEUS over HTTPS, enabling interaction with TEUS MCP for users with ADMIN or ROOT authority.MIT