Docs / Integrations
MCP

Use Prefsly with Replit Agent

Let Replit Agent retrieve one authorized Prefsly profile in your projects.

Set it up

  1. Open the Replit Integrations page and scroll to MCP Servers for Replit Agent.
  2. Choose Add MCP server, enter Prefsly as the display name, and use the server URL below. Select Test & Save.

    Replit MCP server URL

    https://www.prefsly.io/mcp
  3. Complete the Prefsly OAuth and profile consent flow if Replit prompts you. In Workspace Settings → Customization → Custom Instructions, add the startup instruction below.

    Startup instruction for Replit Custom Instructions

    At the start of every new session, call the `prefsly` MCP tool `get_profile` and use its returned preferences throughout the session. If the call fails, tell me that prefsly.io preferences could not be loaded.
Good to know

Replit Agent discovers the tools after the connection is saved and makes them available across your projects. Replit's custom MCP traffic passes through its security scanner. Replit's documented flow is in the web Integrations panel; there is no separate local Replit CLI setup for this connection.

Update or disconnect

For copied prompts, copy a new prompt after edits. For MCP, your next tool call sees the saved revision. Revoke a connection from Prefsly Connections when you no longer want a client to retrieve the profile.

Official source

Replit MCP server documentation ↗

Related Prefsly guides

Create and manage profilesMCP authentication optionsMCP troubleshootingPrivacy and sharing controls
Published by Prefsly · Last reviewed September 25, 2026 · All documentation