Skip to content

Overview

MCP servers ​

An MCP server is a remote service whose tools nocturn calls over HTTPS: install one from the Library or add it by its address.

The page of the MCP server GitHub: connected, its address and account, and its tools with the chat's cell for each.The page of the MCP server GitHub: connected, its address and account, and its tools with the chat's cell for each.
The sheet Add an MCP server by address: Name, Address, Sign-in (None, Token, Sign-in) and Add server.The sheet Add an MCP server by address: Name, Address, Sign-in (None, Token, Sign-in) and Add server.

AskWhat changed in my GitHub issues this week? (with the GitHub server)

The server's tools run with your sign-in, named github_ and the tool. One the server marks read-only is allowed in chats.

AskClose the issue about the login page.

A tool that can change something asks first, and you see the tool and its arguments.

AskCreate a Linear ticket for it. (Linear not signed in yet)

The server shows needs sign-in and offers no tools until you tap Sign in.

What it gives you ​

  • HTTPS only. nocturn speaks MCP's Streamable HTTP. It does not start local (stdio) servers.
  • Tools as places in the tree. Each tool is mcp/<server>/<tool>, named <server>_<tool> for the model. In a chat a tool asks, unless the server marks it read-only; agents, voice and devices get none until you allow them.
  • Tokens the model never sees. A token or a sign-in stays with nocturn and is added for the server's host only.
  • Sign-in on the phone. OAuth opens in the phone's browser and comes back to the app; the token never reaches the phone.
  • nocturn is a server too. MCP clients such as Claude Desktop can use nocturn's tools at /mcp.

How it works ​

Add one by its address ​

  1. In Extensions, tap Add an MCP server by address.
  2. Fill in:
FieldExampleRule
Nameacmelowercase letters, digits, - or _, up to 32; prefixes every tool: acme_search
Addresshttps://acme.example/mcpmust be https://
Sign-inNone, Token or Sign-inas the server's documentation says
  1. For Token, set it first (Give a server its token).
  2. Tap Add server. For Sign-in, tap Sign in on its row; it completes only in the installed app, not in a browser tab.

From the files instead:

json
{ "url": "https://acme.example/mcp", "auth": "oauth" }
sh
nocturn auth acme      # prints a consent URL; open it on this machine
nocturn reload

"auth" is "token" for a token (store it with nocturn secret set acme), "oauth" for a sign-in the server describes itself, or an oauth block with auth_url, token_url, client_id and scopes for one it does not. Leave it out for a server that needs nothing.

States ​

StateRow saysWhat to do
connectingConnecting…wait; the handshake has 30 seconds
connectedN tools · connectednothing
needs sign-inSign in to use ittap Sign in, or nocturn auth <name>
failedDid not connectDetails shows the server's error; check the address, then Retry

Use nocturn from an MCP client ​

nocturn serves its own tools at /mcp (/mcp/<workspace> for another workspace). Give a client a token of its own, then allow it tools:

sh
nocturn mcp-client add claude-desktop       # prints the bearer token once
nocturn remote allow claude-desktop file_read work_list --reload

The client is a device of class agent: it may only call what its column holds, and its asks come to your phone. To reach it from outside, publish /mcp and nothing else (Remote access).

nocturn is open source. Example hosts and people on these pages are made up.