Skip to main content
Custom connectors let you connect services that aren’t in Replit’s integration library. Use them to connect any HTTPS API or internal tool.
Custom connectors are in beta and available on Pro and Enterprise plans. Workspace admins can create and manage them. Access controls for custom connectors are available on Enterprise only.
There are two kinds of custom connector: Both kinds are added from Settings → Integrations → Manage integrations → Add custom.
Add custom menu open on the Manage integrations tab, showing Add workspace MCP server
Only connect to servers and APIs you trust with your data. A connected service can provide tools and data to Agent. Keep credentials out of descriptions and Agent instructions; enter them only in authentication fields.

Add a custom MCP server

1

Open the setup panel

Go to Manage integrations, select Add custom, then Add workspace MCP server.
2

Choose the account type

Under Account type, choose Personal if members connect their own accounts, or Shared if members use one shared account. See Connector access type.
Set up MCP server panel, step 1 of 3, with MCP selected as the protocol and Personal and Shared account type options
3

Choose who has access

Choose which people and groups can use or manage the server. These options work the same way as for other connectors. See Connector access controls.
4

Configure the server

Complete the Configuration step:
  • Authentication: Choose how the server authenticates, such as API key or OAuth with your own app.
  • Configuration name: A name to identify this configuration.
  • Display Name: The name Agent and members see.
  • Description: A short description Agent sees for this server.
  • Base URL: The server’s HTTPS endpoint, such as https://mcp.example.com.
  • Output Scan Enabled: Has Replit check the server’s responses for prompt injection before Agent uses them. Keep it on for servers that return content from untrusted sources, such as email or web pages.
  • Connector scopes and Agent instructions (optional): Limit what the connection can reach and tell Agent how to use it.
Set up MCP server panel, step 3 of 3, with Authentication, Configuration name, Display Name, Description, Base URL, and Output Scan Enabled fields
5

Finish

Select Finish. Replit connects to the server and walks you through any OAuth flow it requires.
For more about using MCP servers with Agent, see Connect via MCP.

Add a custom API connector

Before you begin

Have the following ready:
  • A publicly accessible HTTPS REST API and its base URL.
  • Credentials for the API and access to its documentation.
  • Optionally, a read-only endpoint you can use to test the connection.

Create the connector

1

Open the custom connector form

Select Add custom, then Add custom connector.
Integrations page with the Add custom menu open and Add custom connector listed below the MCP server options
2

Describe the API

Complete the following fields:Replace the example values with those for your service. Agent instructions have a 500-character limit.
Create a custom API connector form showing its name, description, base URL, Agent instructions, bearer authentication, and optional endpoint test
3

Configure authentication

Select the authentication method that matches your API: API key, Bearer token, or No authentication. Complete the fields shown.For a bearer token, enter the token without the Bearer prefix. Replit adds the prefix when it sends a request.
4

Test an endpoint

Optionally, enter a path such as /health under Endpoint test and select Check.The check sends one GET request before you save, and its result isn’t saved. Choose an endpoint that doesn’t change data. A successful check verifies that request, not every endpoint or permission you might need.
5

Set access and save

Choose which people and groups can use the connector, then select Save. See Connector access controls.

Troubleshoot an endpoint test

If the test fails, check the following against your API’s documentation:
  • URL and path: Confirm that the base URL and test path form the intended endpoint.
  • Authentication: Confirm that the credential is valid and can access the endpoint. For bearer authentication, omit the Bearer prefix.
  • Request method: Choose an endpoint that accepts GET requests.
  • Reachability: Confirm that the API is publicly accessible over HTTPS.

Change or remove a custom connector

Open the connector from Manage integrations and select Manage.
  • API connectors: Stored values such as the base URL and credentials are hidden. Leave replacement fields blank to keep current values. If you replace the base URL or API key header, enter a new API key too.
  • MCP servers: Changing the server URL or headers disconnects the server. Members need to log in again after you save.
Removing a workspace MCP server or custom connector deletes every member’s connection to it.