Skip to Content

Replit

Connect Replit to Town to find, build, and publish apps in your Replit workspace.

How to connect

  1. Open Integrations in Town. For a team connection, open that team’s Powers → Integrations. You need Manage integrations access to connect for the team.
  2. Find Replit, select Connect, and continue to Replit.
  3. Sign in to Replit, choose the Replit workspace you intend to connect, and select Allow.
  4. Back in Town, ask Townie to find a Replit app and check its publish status.

Town connects to Replit’s hosted MCP server using OAuth. There’s nothing to install and no API key or custom header to enter. You can connect one Replit workspace per personal account or team in Town.

Eligible teammates and routines can use a team connection to create, update, and publish apps using the grant you authorized at Replit. Choose the intended Replit workspace before allowing access, and use Access in Town to control who can use the team connection.

What you can do

  • Find apps you can edit by name, URL, or recent activity, including apps shared with you.
  • Ask how an app works without changing it.
  • Create an app from a description, copy an existing app, or describe an update for Replit Agent to make.
  • Publish an app and check its status or public URL. Replit deployment charges  can apply.

Replit has no separate publishing approval in Town. A routine running in Auto can publish an app without asking first. Instruct the routine to check status only if you don’t want it to publish.

Existing Custom MCP connections

For new connections to https://mcp.replit.com/server/mcp, use the built-in Replit listing. Town no longer accepts that endpoint as a new Custom MCP connection.

If you already have an eligible saved connection, keep it under Custom integrations so your routines keep their original tools. If its OAuth sign-in expires, choose Reconnect on that saved connection rather than deleting it. Deleting it permanently removes those tool IDs; connecting built-in Replit does not restore them.

To replace a saved connection, connect built-in Replit in the same personal or team scope. Update each affected routine to use the built-in connection and its tools, including any instructions that name the old tools. For a Background Routine, use a connection on the team that owns it.

Town blocks sharing a routine that still uses a retained Custom MCP connection. For an existing Installable Routine that requires a personal Replit Custom MCP connection, the built-in connection doesn’t meet that requirement. A teammate with Edit team routines can open Edit template and ask Townie to replace the personal requirement with built-in Replit and update any instructions that name the old tools. Members should also check and update their installed copies.

If the template has a team-owned Replit Custom MCP attachment, Edit template can’t remove it. Publish a replacement using built-in Replit instead. Turn off auto-install on the old template, test an installed copy of the replacement, then remove the old template from the team page without uninstalling members’ copies. Have members turn off old copies before they install the replacement to avoid duplicate runs.

After you verify the updated routines and no longer need the old connection, find it under Custom integrations on your personal Integrations page or under the team’s Powers → Integrations. Open the old connection’s menu and choose Delete. For a team connection, you need Manage integrations access. Leave the built-in Replit connection in place.

Last updated on