https://app.nemu.cc/api/mcp is a stateless Streamable HTTP MCP server. nemu mcp is a local
stdio bridge to it that adds your sign in, your device and the current project.
Tools
Every tool takes an optional
project. Through nemu mcp it is filled in from the folder the client
started in.
Rules a write has to pass:
- The name is
<tag>/<slug>, the slug 3 to 48 lowercase letters, numbers and underscores. - The subject is at most 80 characters and the body at most 1,200.
- A near copy of another current note is refused, so agents update instead of duplicating.
- Anything that looks like a secret (API keys, tokens, private keys, passwords in URLs or
.envlines) is replaced with[redacted]before it is stored.
Authorization
A request without a valid token gets401 with a WWW-Authenticate header pointing at the
protected resource metadata, as the MCP specification describes:
/.well-known/oauth-protected-resource/api/mcp/.well-known/oauth-authorization-server/api/oauth/registerfor dynamic client registration
context:read and
context:write, must redirect to https or to localhost, and are shown as unverified on the
consent screen. Their tokens are refused everywhere except Context.
Context keys (nctx_...) and tokens from nemu login work as well.