NervesHub

Model Context Protocol

NervesHub MCP

Connect an MCP-aware client — Claude Code, Claude Desktop, a claude.ai connector, or any other host — to inspect and manage your NervesHub device fleet. Every action is performed as you, limited to your existing organization permissions.

Endpoint

The server speaks MCP over the Streamable HTTP transport at:

https://mcp.nerves-hub.ngrok.io/mcp

Connecting

claude.ai / Claude Desktop
Add a custom connector pointing at the endpoint above. Authorization happens over OAuth automatically: you'll be asked to sign in to NervesHub and approve the connection once.
Claude Code & API tokens
Send a NervesHub personal API token as a bearer credential. Create one in the NervesHub web UI, then send it with each request:
Authorization: Bearer nhu_…
MCP Inspector
Choose the Streamable HTTP transport and enter the endpoint URL to explore the tools interactively.

Tools

Tool Description
whoami The NervesHub user your credential resolves to.
list_orgs The organizations you belong to.

More device and firmware tools are on the way.

OAuth discovery

This server is a full OAuth 2.1 authorization server. Clients discover the flow from these public metadata endpoints (RFC 9728 / RFC 8414):