Attach servers
A server is an MCP server your agents use, such as GitHub or Notion. Once you attach it, its tools join your org’s one TestMachine address, https://agents.testmachine.ai/o/<org>/mcp, named <server>__<tool>, such as github__create_issue. Agents already connected to TestMachine see them the next time they reload their tools; nobody adds anything new.
Attach a server from the catalog
Section titled “Attach a server from the catalog”The catalog holds 71 common MCP servers, such as Gmail, Slack, GitHub, Linear and Notion, with their address and sign-in already checked.
- Open Servers and choose Add a server. The catalog opens by itself while no server is attached.
- Search by name, vendor or what the server does, or pick a category, then choose the server.
- Keep the suggested Name, such as
github. It is the first part of the server’s tool names, such asgithub__create_issue, and a clause limited to one server uses this name. - Follow the steps for the server’s sign-in:
- Per-person sign-in: choose Attach and connect my account and sign in at the server. There is nothing to register.
- Your OAuth app: create an app at the vendor from the link shown, set its redirect URL to the one shown, and paste its client ID and secret.
- Slack: choose Create Slack app. Slack opens in a new tab with the app’s name, scopes, redirect URL and MCP access filled in. Pick your workspace, choose Create, then paste the Client ID and Client Secret from the app’s Basic Information page. Slack only lets its MCP server talk to apps a workspace made itself or apps in the Slack Marketplace, so each workspace makes its own.
- Gmail: TestMachine hosts the Gmail server, and your Google Workspace brings the OAuth app. In the Google Cloud console, in a project your Workspace owns, enable the Gmail API. Set up the Google Auth Platform with the audience Internal, so only people in your Workspace can sign in and Google doesn’t need to review the app. Add the
gmail.modifyscope under Data Access, create an OAuth client of type Web application with the redirect URL shown, and paste its client ID and secret. Each person then connects their own mailbox. Agents can search, read, draft, send and organize mail, and your clauses decide which of those calls go through. - Google Calendar, Drive, Docs and Sheets: Google’s hosted MCP servers require membership in the Google Workspace Developer Preview Program. Enable both the product API and its MCP API in your Google Cloud project. Set up the OAuth consent screen, then create an OAuth client of type Web application with Use this client for an AI-powered agent selected. Use the redirect URL and scopes shown. See Google’s setup guide.
- Shared key: create a key at the vendor from the link shown and paste it. It is saved with the server.
- Databricks SQL and Snowflake: each company runs its own, so instead of a URL the form asks for your workspace or account host, and for Snowflake the database, schema and MCP server name too. It shows the finished MCP URL as you type. For Your OAuth app, a Databricks account admin creates an OAuth app in the account console, and a Snowflake admin runs
CREATE SECURITY INTEGRATIONwithOAUTH_CLIENT = CUSTOM; both use the redirect URL shown. You can paste a Databricks personal access token or a Snowflake programmatic access token as a Shared key instead. - Freshdesk, BambooHR, Workday, NetSuite and Infor M3 also live at an address each company owns, so the form asks for your subdomain, account ID, region or tenant. NetSuite and Infor M3 take a public OAuth app: leave the client secret blank. Medplum, Redox, Stedi, BigCommerce and iManage sign each person in with no app to create, but each vendor’s admin must first turn its MCP server on or allow TestMachine as a client.
- No sign-in: choose Attach. TestMachine hosts SEC EDGAR this way, free: agents can look up public companies, list and read their filings, and get their reported financials.
Ask an admin for a server
Section titled “Ask an admin for a server”Only an admin can attach a server. If you aren’t one, ask for a catalog server from your agent with TestMachine’s own tools (see Connect an agent): call server_request with the server’s catalog name, such as linear. Asking again changes nothing. The server then shows on every admin’s Issues page, with an Attach button, until it is attached or an admin dismisses it.
Attach any other server
Section titled “Attach any other server”In the catalog, choose Attach by URL. Enter a short Name, the server’s MCP URL and its Auth, then choose Attach server.
You can’t change a server’s URL or auth after you attach it. To change either, attach it again under a new name and remove the old one.
Choose how TestMachine signs in
Section titled “Choose how TestMachine signs in”| Auth | Use it when | What happens next |
|---|---|---|
| No auth | The server needs no sign-in. | Nothing. Agents can use it right away. |
| OAuth, per person | Each person should act as themselves, such as in Notion. | Each person connects their own account the first time their agent needs it. |
| Shared org key | Your org reaches the server with one key, such as a GitHub token. | Open the server’s page, choose Set key, and paste the key. |
For OAuth, per person, also choose a Registration. Use Client metadata URL when the server supports it; there is nothing to register. Otherwise use Dynamic registration, or Manual with a client ID and secret you registered at the server yourself.
Every agent sees an OAuth server’s tools, plus one more, such as notion__connect_account, that returns a link to connect. Until a person connects their account, the server’s tools are blocked with that link. After they sign in, the same tools go through without reloading. Everyone sees the same list, so a client that keeps one list for a whole team, such as an Amp workspace, works for every member.
See a server’s tools
Section titled “See a server’s tools”A server’s Tools tab lists every tool it offers, with how often agents called it, how many of those calls failed and its slowest answers (p95) in the range you pick, and when it last changed. Open a tool to see its calls, the fields agents are asked to fill in on it (Recorded), the clauses that judge it (Enforced), and the tool as the agent sees it. An admin can ask every agent for a field on a tool, such as why it sends an email; such a field never blocks a call. TestMachine learns the list the first time an agent lists the server’s tools; choose List tools under Risk coverage on Home, or List again on the Tools tab once it has a list, to fetch it now with your account or the org’s key.
The Servers page shows a card for each server, worst first, with its version, how many of its calls failed, how many of the risks its tools carry are enforced, its spend and how much of each of the last 30 days it answered. A server’s page adds its MCP protocol, its slowest answers (p95) and how its failed calls ended: a tool error, a refused credential, rate limiting, a timeout or an unreachable server. For servers that charge per call, such as Exa, Tavily and Firecrawl, it shows what the calls cost: the cost the server reported where it reports one, and otherwise an estimate from the vendor’s published prices, which TestMachine keeps in its catalog; estimates are marked ~. Each tool’s page shows the same for that tool, each call’s page shows it for that call, and every list of calls shows each call’s time at the server, how it failed there if it did, and its cost.
A server’s Changes tab lists what happened to it besides your calls: an outage TestMachine sees across its customers, a tool added, removed or changed, and a new version. A changed tool description shows what changed word by word and TestMachine’s read of whether it now tells agents to do something. Nothing is held; changes are for you to read. Home tells you about an ongoing outage in a banner and lists changed tools with the fixes, and Issues in the sidebar lists every open one; choose Mark as reviewed once you have looked.
If listing fails, the Tools tab shows the server’s error. A 403 means the server denied access; it doesn’t establish that your credential is invalid. For Google’s hosted MCP servers, check preview enrollment, both APIs, the AI-powered agent setting on the OAuth client and your Workspace admin’s API access controls.
Manage credentials
Section titled “Manage credentials”A server’s page shows how it signs in and lets you Reconnect or Disconnect your account, or Set, Replace or Remove a shared key. My accounts on Servers lists every server that signs in per person, connected or not.
Servers only your company reads
Section titled “Servers only your company reads”Some servers keep what agents write inside your company, such as an internal wiki where only people at your company can read a page. On the server’s page, choose Settings, then set Writes seen by to Company only. Suggested policies and Policy red teaming then stop counting the server’s writes to a page, document or channel as data leaving the company, so they don’t suggest data-leaving policies or rank data-leaving workflows for them. It still counts them for prompt injection and leaked credentials, and a tool that sends to an outside address still counts as data leaving. Your policies judge its calls as before.
Disable a server
Section titled “Disable a server”Open the server’s page and choose Disable. Calls to it are blocked from then on, and agents are told the server isn’t attached. Your policies keep their clauses for it, enforced or in Shadow mode as before, so choose Enable and they apply again.
To get rid of a disabled server, choose Remove on its page. It leaves the server list, every saved sign-in or key for it is deleted, and its name can be used again. Past calls keep their verdicts.