Skip to main content

Setup

Enable the server and create a token​

  1. Start StInspector and open Settings → MCP.

  2. Turn on Enable MCP server, leave Local computer selected, and choose Apply listener settings. The default endpoint is http://127.0.0.1:38181/mcp.

    MCP settings with Local computer and listener port 38181 on the same row. The listening URL appears below Apply listener settings.

  3. Enter a descriptive name such as Claude on workstation. Choose Read-only to query existing results or Full control to start jobs, upload files, change settings, and operate the desktop.

  4. Choose Create token and copy the secret before dismissing it. Create a separate token for each connection. Revoke removes that connection’s direct and OAuth access. Existing tokens survive desktop restarts.

    Token name and Access level share a row. Archive reviewer and Read-only are entered above the Create token button.

Install in an agent​

ClientConnection to use
Claude Desktop on the inspection machineOpen the bundled desktop extension
Claude CodeRegister a Streamable HTTP endpoint
Claude remote connectorRegister a reachable HTTPS endpoint
ChatGPT Desktop on the inspection machineConnect a local Codex chat directly to StInspector
ChatGPT in a web browserConnect a hosted chat through HTTPS or a workspace tunnel
Other local MCP clientsConfigure the stdio bridge

Once connected, you can add the optional Recording Inspection skill or a pilot plugin.

Claude Desktop​

Use the standalone stinspector.mcpb extension to connect Claude Desktop Chat to a local StInspector. The extension contains the stdio bridge.

  1. In Claude Desktop, open Settings → Desktop app. Under Extensions, select Manage → Advanced settings → Install extension. Choose stinspector.mcpb from the StInspector installation directory on Windows or from StInspector.app/Contents/Resources on macOS. Review the preview and confirm the installation.
  2. In the StInspector extension settings, enter the Server URL shown in StInspector and paste the raw token into Access token. Select Save and confirm the settings.
  3. Check the extension status. If Claude shows Enable this connector, select it. Saving the required URL and token can leave a newly installed extension disabled.
  4. Open a new Chat conversation and run the connection check. If Claude asks for approval to call a StInspector tool, review the tool name and choose Allow once for this test. Claude Desktop extension installation

Claude Code​

In PowerShell 7.1 or later, set the token in your current session and register the server. Copy setup command in StInspector uses the actual configured endpoint. Claude stores the configured header in its local MCP settings.

$env:STINSPECTOR_MCP_TOKEN = Read-Host 'StInspector token' -MaskInput
claude mcp add --transport http stinspector http://127.0.0.1:38181/mcp --header "Authorization: Bearer $env:STINSPECTOR_MCP_TOKEN"
claude mcp list

You can also use the Claude Code plugin, which includes the skill and a local bridge. Claude Code MCP configuration

Other stdio clients​

Set the server command to the installed stinspector-mcp executable (stinspector-mcp.exe on Windows). Supply the raw token through the client’s STINSPECTOR_MCP_TOKEN environment setting. The bridge defaults to http://127.0.0.1:38181/mcp. If the listener uses a different URL, set STINSPECTOR_MCP_URL to the endpoint shown in StInspector. Keep StInspector running while the client uses the bridge.

Claude remote connector​

Open Customize → Connectors → Add custom connector in Claude. Enter the reachable HTTPS URL including /mcp. Choose No sign in and add the request header Authorization with value Bearer <your MCP token>. Enable the connector in the conversation. Claude connects from Anthropic’s infrastructure on HTTPS port 443. Use the public reverse-proxy origin when the desktop listens on a different port. Claude remote connector setup

ChatGPT​

Where do you type your prompt? If you use the ChatGPT desktop app, open a local Codex session on the computer running StInspector and follow the desktop steps below. If you use chatgpt.com in a browser, even on that same computer, skip to ChatGPT in a browser. The browser plugin makes its MCP requests from OpenAI’s servers. How ChatGPT connects to MCP servers

ChatGPT Desktop​

  1. In StInspector, open Settings → MCP. Enable the server, choose Local computer, leave Listener port at 38181, and select Apply listener settings. Look for Listening at http://127.0.0.1:38181/mcp. Keep StInspector running.

  2. Under Access tokens, enter the name ChatGPT Desktop, choose Read-only, and select Create token. Copy the secret while it is visible. Read-only access is enough for the first test.

  3. In ChatGPT Desktop, open Settings → MCP servers. Edit the existing stinspector entry, or select Add server for a first connection. Enter these values for a direct connection. If you changed the listener port, use the URL shown by StInspector.

    Field in ChatGPT DesktopWhat to enter
    Namestinspector
    TransportStreamable HTTP
    URLhttp://127.0.0.1:38181/mcp
    Headers → Add headerKey: Authorization. Value: type Bearer, press the space bar once, then paste the entire token you copied. Example format: Bearer sti_EXAMPLE_ONLY.
    Bearer token env varFor this direct-header setup, clear this field. The Authorization row above must contain the complete value, including Bearer .

    Copy token in StInspector copies only the secret beginning with sti_. Codex sends a custom header exactly as entered. Pasting the secret by itself into Headers → Authorization causes 401 MCP token required. To keep the secret out of the saved Codex configuration, use the environment-variable setup below.

  4. Select Save, then Restart when prompted. Skip Authenticate (the CLI equivalent is codex mcp login). Open a local Codex chat and type /mcp to find stinspector. Codex MCP authentication

  5. Verify the connection in that chat.

Use an environment variable in Codex. This is an alternative to the custom header in step 3. Codex reads the raw secret from the named variable and adds the Bearer prefix itself. Codex MCP authentication settings

  1. On Windows, open Edit environment variables for your account. Under User variables, create STINSPECTOR_CODEX_TOKEN and paste only the copied sti_… secret as its value. Save both dialogs.

  2. In the stinspector MCP server settings, delete the Authorization row from Headers and any matching row under Headers from environment variables. In Bearer token env var, enter the variable name STINSPECTOR_CODEX_TOKEN. Save. If you configure Codex in TOML, the equivalent entry in your personal ~/.codex/config.toml is:

    [mcp_servers.stinspector]
    url = "http://127.0.0.1:38181/mcp"
    bearer_token_env_var = "STINSPECTOR_CODEX_TOKEN"

    For a new server entry, Codex CLI can write the same configuration for you:

    codex mcp add stinspector --url http://127.0.0.1:38181/mcp --bearer-token-env-var STINSPECTOR_CODEX_TOKEN
  3. Fully quit and reopen ChatGPT Desktop so it inherits the new user variable. For Codex CLI, open a new terminal and start Codex there. Verify the connection in the new session.

If a diagnostic printed your token, create a replacement with the same access level in StInspector → Settings → MCP. Update the chosen credential field or user variable, reconnect, and verify health and version. Then select Revoke on the exposed token. Any other client sharing that token also needs a replacement. Report the status and version when troubleshooting and keep token values out of logs and chat.

ChatGPT in a browser​

The address 127.0.0.1 refers to the machine making the request. For a hosted chat, give ChatGPT a public HTTPS address that forwards to StInspector, or use a workspace Secure MCP Tunnel. For a first test on a Windows PC, ngrok can provide the HTTPS address while StInspector listens on loopback. OpenAI’s local server quickstart

  1. On the StInspector PC, enable the local listener and create a Read-only token named ChatGPT web as in steps 1–2 above.

  2. If you already have an HTTPS reverse proxy, use its public origin and continue to step 3. Otherwise install ngrok, sign in to your ngrok account, and follow its one-time Add your authtoken step. In PowerShell run the command below and leave the window open. Copy the HTTPS forwarding address ngrok displays. Install and configure ngrok on Windows

    ngrok http http://127.0.0.1:38181 --inspect=false
  3. In StInspector → Settings → MCP, change Connection mode to HTTPS reverse proxy. Keep port 38181, paste the forwarding address into Public HTTPS origin, and select Apply listener settings. The two fields take different parts of the same address:

    WhereExample value (substitute your actual hostname)
    StInspector Public HTTPS originhttps://your-host.ngrok.app
    ChatGPT Server URLhttps://your-host.ngrok.app/mcp

    To check the forwarding path before signing in, open https://your-host.ngrok.app/.well-known/oauth-protected-resource/mcp using your real hostname. The JSON field resource should match the Server URL exactly.

  4. In ChatGPT on the web, open Plugins → + → Add custom MCP server. Enter the name StInspector, choose Server URL, and paste the full HTTPS URL ending in /mcp. Select OAuth and choose ChatGPT’s published client identity (CIMD). Leave Client ID and Client secret empty. Review the prompt, create the plugin, and install it. Open ChatGPT Plugins · OpenAI setup instructions

  5. When ChatGPT opens Connect ChatGPT to StInspector at your public hostname, paste the StInspector token into that page and choose Approve connection. In a new chat, type @, select StInspector, and send the connection check. Keep StInspector and the forwarding service running while using the plugin.

Private workspace alternative. If your administrator provides an OpenAI Secure MCP Tunnel, leave StInspector in Local computer mode. On the inspection machine, configure the tunnel’s stdio command as the installed stinspector-mcp executable and give that process STINSPECTOR_MCP_TOKEN through its environment. Run the tunnel profile and check it with tunnel-client doctor. In ChatGPT’s Add custom MCP server form, choose Tunnel, select the workspace tunnel, and choose No authentication for this pre-authenticated bridge. Everyone permitted to use that connection shares the bridge token’s access level. OpenAI Secure MCP Tunnel setup

Recording Inspection plugin pilot​

See Skills and plugins to install the optional Recording Inspection skill, choose the Windows x64 pilot package for your client, or build the ZIPs from a source checkout.

Connect from another computer​

In direct LAN mode, HTTPS reaches StInspector on the selected interface. In reverse-proxy mode, HTTPS reaches the proxy, which forwards HTTP to StInspector on the same host.

Direct LAN HTTPS. Select Direct LAN HTTPS in Settings, select the host’s network interface, enter the port, and set the public HTTPS origin clients will use (for example https://inspector.example.net:38181). Enter paths to the PEM certificate chain and matching private key. The certificate must cover that hostname and be trusted on the agent machine. Apply the settings and allow the selected TCP port through the host firewall for the intended clients.

Reverse proxy. Select HTTPS reverse proxy, enter the public origin, and apply. The MCP listener binds to loopback. Configure the proxy on that machine to preserve the original Host and Authorization headers and forward the entire hostname to the MCP port. Discovery, consent, token exchange and file transfers have paths outside /mcp. For example, a Caddy site with DNS pointing to your proxy can use:

inspector.example.net {
reverse_proxy 127.0.0.1:38181
}

A remote client connects to https://inspector.example.net/mcp. The desktop REST service uses a separate port and credential.

Troubleshoot the connection​

SymptomWhat to check
Connection refusedKeep StInspector running, enable the listener, and compare the client URL and port with Listening at in Settings.
401 MCP token requiredFor a custom Authorization header, include the Bearer prefix. For a bearer-token environment variable, confirm the client can read the raw secret. Check that the token is active.
Codex Authenticate opens a page with invalid_requestClose that browser tab. A local Codex connection uses its configured token directly. Use OAuth for the hosted ChatGPT connector.
Claude Desktop installed StInspector but Chat offers no toolsOpen the extension settings, confirm the URL and token are saved, and select Enable this connector if shown. Start a new Chat conversation.
A tool is missing after changing tokensConfirm the client is using the intended named server. Reconnect or start a new local chat so the client refreshes its tool list. Starting an inspection or moving the player requires Full control.
Workspace conflictThe operator or another agent changed the active session. Read the current session ID and confirm the intended file before retrying.
The chat says the Report opened, but the desktop shows an older inspectionCheck the server name, job ID, and saved inspection scope.

Verify the connection​

With either access level, send this prompt to your connected client.

Use the StInspector MCP server to call health and version. Tell me the status and the StInspector version you received.

A working connection returns ok and the version of the running desktop. If several StInspector connections are configured, include the exact client-side server name in the prompt. Continue to Use cases to review a saved inspection or run a new one.