Add an MCP server
add_mcp_serverConnect, add or set up an MCP server in a Replo project by its address or URL, so its tools can be used. Returns connected when the project already has it. Otherwise returns connectUrl: give the user that link; it signs them in to the server and connects it to the project in one click. Never ask for a token in chat. When they say they're done, call this again to confirm it's connected. Each integration has a skill named by its key: before using an integration's tools, read it (call skills with name "shopify", for example).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serverUrl": "<serverUrl>",
"tag": "<tag>",
"projectId": "<projectId>"
},
"name": "add_mcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | The Integrations category it goes under, the one that best fits what its tools do. | |
| projectId | Yes | The project to add it to. | |
| serverUrl | Yes | The MCP server's address, such as https://mcp.deepwiki.com/mcp. Public https only. |