If you have a Windows distribution, launch mcp-neurolatch-desktop.exe and choose your language. Otherwise build the authorized sources and run the engine in serve mode. Open local administration: 127.0.0.1:8878 by default. Check that the engine is active and that MCP uses a separate port (8877 by default).
In Settings, keep both scopes on Machine only. Use two different free ports, choose an absolute test folder and start read-only. Save and restart if needed. File tools require explicit local activation; on Windows, the native console may request that approval. Do not choose an entire drive. Commands, full unlocked access and remote access are unavailable.
Choose no authentication only for local testing. Save settings and restart. Do not send an Authorization header.
In Settings, keep both scopes on Machine only. Use two different free ports, choose an absolute test folder and start read-only. Save and restart if needed. File tools require explicit local activation; on Windows, the native console may request that approval. Do not choose an entire drive. Commands, full unlocked access and remote access are unavailable.
Choose Bearer in Settings, save and restart the engine. In AI connections, generate a token, then configure the HTTP client with Authorization: Bearer VOTRE_JETON. The token stays in memory; rotation revokes the previous token and restart renews it. Never publish it or expose the ports. STDIO remains independent. This is not OAuth and does not protect against a local process with the same privileges.
The MCP key, administration key and OpenAI API key are separate secrets. Never interchange them. An OpenAI key does not replace NeuroLatch authentication.
Create keys from the local console using the following commands, with the same settings file as the engine. Keys are displayed only once. Keep them in a password manager.
The administration key takes effect at the next startup. The browser asks for username neurolatch and the key as password. Remembering it depends on the browser. For MCP, choose Persistent MCP key in settings and restart.
Follow the official tunnel guide. Configure the local process with the absolute engine path and --stdio argument. Test neurolatch_ping before enabling file tools. Do not expose local ports.
The HTTP server remains local. Build 42 was tested with an external private OpenAI STDIO tunnel; the tunnel is not built into the engine. OAuth introspection remains experimental. Never expose local ports or the administration panel.
Prepare the OAuth profile under AI connections. The experimental validator is enabled only at explicit startup with --oauth and the NEUROLATCH_OAUTH_CLIENT_SECRET and NEUROLATCH_OAUTH_SUBJECT environment variables. Read the documentation before use.
Before startup, verify the issuer, HTTPS endpoint and resource in the saved profile. Supply the introspection secret and authorized subject locally through the environment variables below, without writing them to a file, command history or Git.
To enable mixed mode, use --oauth-mixed instead of --oauth, with the same profile and environment variables. Do not combine the two options.
In AI Connections, choose the STDIO client, enter the absolute executable path and optionally the settings path. Generate and copy the configuration into the client's designated file without overwriting other servers. Restart the client and test neurolatch_ping. STDIO starts its own process and does not require the HTTP port. For local HTTP, use the MCP endpoint and active authentication mode.
In Logs, enable logging, select Engine, MCP requests, Authentication, Administration and Errors, then save. Debug adds processing times. Choose a UTC date and inspect recent events. Disable debug after diagnosis; never share a raw log without reviewing its contents.