> For the complete documentation index, see [llms.txt](https://help.twinr.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.twinr.dev/website-builders/replit/add-mcp.md).

# Add MCP

Connect Twinr's MCP server to Replit so its agent can read your apps and Twinr's integration guides.

Connecting Twinr's MCP server lets Replit's agent see your real Twinr apps and read Twinr's integration guides, rather than guessing at how Twinr works.

## Connect the server

1. In your Replit project, open the **MCP** or **Connectors** settings.
2. Add a new MCP server.
3. Name it `Twinr` and paste the server address:

```
https://mcp.twinr.dev/mcp
```

4. Keep the authentication type as **OAuth**.
5. Save, then complete the sign-in when Replit opens Twinr in your browser.

Choose which apps to share and click **Allow**. See [Twinr MCP Server](/mcp/mcp.md) for what the approval screen shows.

## Check it worked

Ask the agent:

> List my Twinr apps.

It should name your apps. If it reports no access, open **My Profile → AI connections** in Twinr and confirm the connection is listed with the apps you expected.

## Save the setup for later

Ask the agent to fetch Twinr's setup instructions and append them to `replit.md`. That file is the project context Replit reads on every session, so later conversations know your app ships through Twinr without re-reading the guides.

{% hint style="info" %}
Ask for features by name — "add Twinr push notifications" — rather than naming a tool. The agent picks the right guide itself.
{% endhint %}
