Hosted NAMS MCP Server
The hosted NAMS backend ships its own Model Context Protocol (MCP) server, so an MCP-capable agent (Claude Desktop, Claude Code, Cursor, …) can use a NAMS workspace’s memory — and its ontology and Skills surface — directly, without the SDK.
|
This is not the same as the self-hosted Python MCP server
( |
Two hosts
NAMS is reached through two public hostnames:
| Host | Serves |
|---|---|
Apex API host (e.g. |
Every REST endpoint ( |
MCP host ( |
The MCP server and its OAuth ceremony. Kept deliberately separate because MCP
is a non-REST protocol with its own auth flow and stored client registrations
whose |
The apex forwards /mcp* and /.well-known/oauth-* to the MCP server as a
convenience, but the MCP host is canonical for MCP clients.
Authentication
You can authenticate the MCP connection two ways:
-
API key — send your
nams_…key as a Bearer token. Simplest for headless / programmatic clients. -
OAuth 2.0 — for interactive clients. The MCP server is a full OAuth 2.0 Authorization Server (RFC 8414) and Protected Resource (RFC 9728) with Dynamic Client Registration (RFC 7591) and the Authorization-Code + PKCE flow, including a workspace-selector step so the user picks which workspace the session is scoped to.
Discovery and flow endpoints (served under the /mcp prefix on the MCP host):
| Endpoint | Purpose |
|---|---|
|
Protected-resource metadata. |
|
Authorization-server metadata. |
|
Dynamic client registration. |
|
Authorization endpoint (Auth Code + PKCE). |
|
Redirect callback (+ |
|
Token + refresh-token endpoint. |
See Authentication & API Keys for the key and token model, and MCP Tools (TypeScript) for wiring a client.
Tool surface & scope-filtered visibility
The server registers 47 tools spanning memory, entity resolution/review, ontology, workspace management, and Skills (13 skill tools).
The surface a caller sees is scope-dependent. tools/list returns only the
tools the principal’s scopes permit it to invoke — so a data-plane workspace
key does not see the control-plane workspace_* administration tools (they
require workspace:admin, carried only by an admin key). Invoking a tool
outside your scope fails closed. This means the tool list is not fixed: it
reflects your key category (see key categories).
| Group | Examples |
|---|---|
Memory |
|
Ontology |
|
Workspace (admin scope) |
|
Skills (Preview) |
the 13 |
See also
-
MCP Tools — the self-hosted Python MCP server.
-
NAMS REST API — the HTTP surface the tools back onto.
-
Skills API — the Skills tools in detail.