- Match recurring failures to known issues in your issue tracker.
- Consult internal documentation to understand expected behavior.
- Create follow-up tasks with supporting traces, without leaving the investigation.
This page covers giving Loop access to external tools, such as Linear, through their MCP servers. For the reverse, giving an AI coding agent such as Claude Code or Cursor access to your Braintrust data, see Braintrust MCP server.
Connect a server
You need a remote MCP server that supports Streamable HTTP, its URL, and an OAuth account or bearer API key.1
Add the server
Ask Loop to connect an MCP server to open project settings in the workspace, or go to Settings > MCP, add a new server, and enter its Name, URL, and an optional Description.
2
Authenticate
In Credentials, choose an authentication method:
- OAuth: Click Connect with OAuth and complete the provider’s sign-in flow. Connecting saves both the server and the project connection.
-
API key: Enter the server’s bearer token in API key, then click Save. Do not include the
Bearerprefix.
3
Test and use the connection
Open the saved server and click Test connection. A successful test reports how many tools the server exposes.Send your next message in the same Loop thread. Loop picks up saved connection changes on that message, so you don’t need to start a new thread.For example, if you connected a Linear MCP server, ask:
Access and security
Project MCP credentials are encrypted and stored on your data plane using the same mechanism as function environment variables. Loop’s runtime decrypts credentials to authenticate requests to the project’s configured MCP servers. These calls run outside the sandbox and use the shared account’s or API key’s permissions, rather than each project member’s individual account on the external service.Manage connections
Open a server in project MCP settings to manage its credentials.Renew or replace credentials
Renew or replace credentials
- OAuth: Access tokens refresh automatically while the provider’s refresh token remains valid. Click Reconnect if authorization expires or is revoked, or if you change the server URL.
- API key: Click Replace, enter the new key, then click Save.
- Authentication method: Connect with OAuth or save an API key in the other method’s tab.
Remove credentials
Remove credentials
Click Remove, then Save. To cancel the removal before saving, click Undo.
Troubleshoot a connection
Troubleshoot a connection
Click Test connection to check access and tool discovery. If authentication fails, renew or replace the credentials as described above. If the test succeeds but Loop can’t find the tools, send another message to load the saved connection.Opening the settings panel or saving a server without credentials does not authenticate it.
Limitations
- Braintrust-hosted deployments only. This integration is not yet available on self-hosted deployments.
- Remote servers only. Connections require a remote MCP server that supports Streamable HTTP and authenticates with OAuth or a bearer API key.
- Shared credentials. Everyone using the project’s connection acts with the shared account’s or key’s permissions on the external service, rather than their own account’s permissions.
- External writes depend on the server. An MCP connection can expose tools that change external data. Braintrust’s Write tool permissions do not restrict these tools. Limit access through the external account or key.
- No interactive approval in scheduled runs. Loop automations and Patterns can invoke all tools the shared credentials allow without interactive approval.
Next steps
- What Loop can do for tasks you can combine with external context.
- Run Loop on a schedule to use connections in recurring work.
- Add MCP servers to prompts to use external tools in playgrounds.