Skip to content

docs: LAN access guide and MCP authentication options (#1431, #1433) - #1438

Merged
ajianaz merged 1 commit into
developfrom
docs/lan-access-and-mcp-auth
Oct 12, 2026
Merged

ajianaz merged 1 commit into
developfrom
docs/lan-access-and-mcp-auth

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

What

  • docs/configuration.md: new subsection "Reaching the server from another device on your LAN": set a token first (and what happens without one), bind with --host 0.0.0.0, a LAN address or [server] host, connect with a bearer token and check with GET /health, the UTEKE_READ_ONLY_TOKEN option, the Host-header behaviour on a LAN bind, the plain-HTTP caveat with a pointer to the TLS reverse proxy guide, firewall and Docker notes.
  • docs/mcp.md: "Keeping the token out of the client config": the stdio transport needs no token or header, the HTTP transport is a static bearer token only (no OAuth sign-in in the self-hosted server), keep the token out of git, rotate by restarting. Transport comparison table gains an authentication row.

Why

Refs #1431 (LAN access guidance) and Refs #1433 (static bearer token in the MCP client config). This is the part both requests can have in the open-source server today. Deliberately not done: a post-install prompt that suggests binding to 0.0.0.0 (a prompt is the wrong place to suggest opening a port; the docs carry the token warning), and OAuth for /mcp, which belongs to Uteke Cloud. Both issues stay open for the owner to answer.

Testing

Docs only. Each factual claim was checked against a built uteke-serve on this machine: bind to the LAN address answers on it and not on loopback; [server] host in uteke.toml does the same; with a token set /health is 200 without a token, /list is 401 without and 200 with the full or the read-only token, a write with the read-only token is 403; a spoofed Host: evil.example is 403 on a loopback bind and 200 on a LAN bind; without a token the log has the Authentication: disabled warning. Not verified: Docker on another host, and how any given MCP client expands environment variables (the text says to check the client's documentation).

🤖 Generated with Claude Code

New "Reaching the server from another device on your LAN" section
(token first, bind address, Host header behaviour, plain-HTTP caveat, firewall,
Docker) and "Keeping the token out of the client config" in the MCP docs
(stdio needs no token, static bearer only, no OAuth in the self-hosted server).
Every claim was checked against a running server.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant