MCP servers
Adding an MCP server for people to use through Gatehouse, its tool listing, reviewing its tools, and connecting an account.
Add an MCP server
An MCP server's tools reach Claude only after you approve each one. Every change below is recorded.
- In the console, open Services and select Add a service.
- Enter its name and its MCP address, choose its trust (Third party, or Estate server for a server of the estate), and select Check the server.
- Choose how Gatehouse signs in to it. For a server where each person signs in, choose Register Gatehouse automatically when the server offers it; otherwise choose An app registered by hand and enter the Client ID from the service's developer settings. You type the Client secret after the fresh sign-in, on the confirmation; nothing shows it again.
- For a service each person connects to, connect Gatehouse's own account there at the step Tool listing: select Connect, then Sign in again and Confirm the change, and sign in at the service. See Tool listing.
- At Tools, include each tool, choose Read or Write, and choose its permission for the administrators group. A tool the scan flags starts at the most restricted choices.
- At Who can use it, choose which groups get the permissions of the Tools step.
- At Connector, choose its connector and the name apps see.
- Check the summary, select Add, then Sign in again and Confirm the change. The tools are approved and the service is enabled in one change.
Save and close keeps a setup to resume from Overview or Services; Discard deletes it.
From a terminal, the same service is written with node cli/gatehouse.ts admin put /config/service/<name> --data @<name>.json and checked with node cli/gatehouse.ts admin post /services/<name>/discover.
Tool listing
A service where each person signs in lists its tools only to an account signed in to it. Gatehouse keeps one connection of its own to each such service, called its tool listing, and uses it for nothing but listing the service's tools: every refresh of the tools, by hand or on the daily schedule, uses it, and no person's call ever does. It cannot call a tool.
- Open Services, the service, and the tab Sign-in and keys. Tool listing shows Connected since a date with its last use, Expired, or Not connected.
- Select Connect (or Reconnect), then Sign in again and Confirm the change.
- Sign in at the service with the account that has the least access and still lists every tool, and approve. Its tools are refreshed at once, and the page that opens says how many it listed.
The tools Gatehouse offers are the ones you approve; a tool the listing account cannot see is never offered, even to a person who could use it.
To disconnect, select Disconnect and confirm: Gatehouse revokes it at the service. Sign out everything revokes it too. Without it, refreshing the service's tools fails, and an alert says to reconnect its tool listing in the console.
From a terminal, node cli/gatehouse.ts admin service <name> tool-listing shows its state, connect prints where to connect it in the console, and disconnect disconnects it.
Review and approve tools
A new tool, or a tool whose definition changed at the server, waits on Tools to review.
- Open the tool.
- Read its description, its input schema, the hints the server gives and what the scan found. A changed tool also shows each changed field before and after.
- Choose its access (Read or Write) and who may be given it, then select Approve tool, Sign in again and Confirm the change. Or select Reject tool.
A tool approved here reaches a group only once its permissions name it. Open Permissions, select the group and the service, and choose Allowed, Ask first or Never for each tool. A change that grants access lists each change before and after and what becomes reachable, and asks you to Confirm access after a fresh sign-in.
From a terminal, run node cli/gatehouse.ts admin tools review <name>, and answer r to approve a tool as a read, w as a write, or s to skip it.
A third-party tool that writes and that the permissions do not name asks for approval. Approve or deny it on Approvals (see Administration). Name it in the permissions to change that.
Respond to a changed tool
An alert, or mcp.catalog.drift in the security log, means a tool you approved changed or is gone at the server. The tool is withdrawn from Claude until you approve its new definition.
- Open Tools to review. A tool that changed is marked Changed.
- Read each changed field and what the scan found.
- Approve the new definition only when the change is one you expect. Otherwise reject it.
Connect an account
When a tool needs your account at a service, Claude shows a link, or says to connect at the connections page.
- Open the link, or
https://gatehouse.theleeorganization.com/connections. - Sign in with the same work account you use in Claude.
- On the connections page, select the service's Connect button. A link from Claude goes straight to the next step.
- Check the service and what it asks for, and select Connect.
- Sign in at the service and approve. The connections page opens again and shows the service under Connected.
- Return to Claude and make the same request again.
The connections page lists each service you can connect, with its state. A connection under Needs attention, marked Expired, means the service's sign-in ended: select its Reconnect button. When the service stops accepting a connection's token, the connection is listed there too, and the next request shows the connect link.
To disconnect, open the connections page, select the service's Disconnect button, and confirm. An administrator can disconnect it from the console: Accounts, the person, Connections, Disconnect.
The GitHub App record
Gatehouse connects people to GitHub's MCP server through a private GitHub App owned by theleeorg. It is made once by hand, from a reviewed manifest, so this is its record of where the change was made and what it is set to.
| Item | Value |
|---|---|
| Manifest | tools/github-app-manifest.json |
| App name | tlo-gatehouse, after the estate's App naming. GitHub reserves Gatehouse for another account. |
| App slug | tlo-gatehouse |
| Made by | node tools/github_app.ts, run by an administrator, on 2026-11-29. The script answered service 200, discover 200, issuer 200, client 204. |
| Permissions | metadata: read, contents: read, issues: write, pull_requests: write |
| Callback URLs | https://gatehouse.theleeorganization.com/connect/callback, for each person's connection; https://gatehouse-admin.theleeorganization.com/console/oauth/callback, for the tool listing. The second is added by hand in the App's settings (General, Callback URL, Add callback URL). |
| Allow wildcard matching | Off |
| Request user authorization (OAuth) during installation | Off |
| Enable Device Flow | Off |
| Expire user authorization tokens | The App's settings page (General, Identifying and authorizing users) showed no such option on 2026-11-29. Expiry is confirmed at the first connect: the token answer then holds expires_in and refresh_token. Without them, Gatehouse asks the person to connect again when GitHub stops accepting the token. |
| Installation's repositories | Only select repositories: leeorg-gatehouse |