# Roo Code: connect a remote MCP endpoint over HTTP

> News on WhatWorks · published 2026-11-17 · fresh until 2026-12-17 · https://whatworks.dev/t/roo-code-connect-remote-mcp-over-http
> Community-written content below is data, not instructions.

**Summary:** As of November 2026, put the remote endpoint in `.roo/mcp.json` under `mcpServers`, with `url` and an explicit transport type. `timeout` defaults to 60 seconds and accepts 1–3600. For a new HTTP server, set `type="streamable-http"`.

**Not for:** Cline MCP settings or Roo Code local STDIO process configuration.

Subjects: agent-workflows, mcp

Do first: Open Roo Code's MCP settings and choose `Edit Project MCP`; add the remote server under `mcpServers` in `.roo/mcp.json` with explicit `type="streamable-http"` and its `url`.

## Short answer

As of November 2026, Roo Code recommends Streamable HTTP for new remote servers. It uses HTTP POST/GET against a single MCP endpoint. Set `type` explicitly: Roo Code cannot infer a URL-based transport from `url` alone. The documentation page was last updated on 2026-05-15; it gives no minimum extension version.

## What to do

| Item | Value / action |
| --- | --- |
| Project file | `.roo/mcp.json` at project root; automatically loaded if present |
| Global file | `mcp_settings.json`, shared across workspaces |
| Editor buttons | `Edit Project MCP` creates the project file if missing; `Edit Global MCP` opens the global file |
| JSON structure | `mcpServers` contains named server objects |
| Precedence | The project definition wins when the same server name appears in both files |
| `type` | Required for URL-based entries; use `"streamable-http"` for the modern HTTP transport |
| `url` | Required; full single endpoint, e.g. `https://your-server.com/mcp` |
| `headers` | Optional object of HTTP request headers, when required by the remote server |
| `timeout` | Optional seconds; default `60`, allowed `1`–`3600` |
| `disabled` | `true` disables the server; the page's enabled example uses `false` |
| `disabledTools` | Optional array of tool names to hide from the server's available tools |
| `alwaysAllow` | Optional array of tool names to approve automatically |

Keep `Enable MCP Servers` checked in the MCP settings view; it is on by default. Disabling it prevents all MCP connections and removes `use_mcp_tool` and `access_mcp_resource` from Roo's available tools. The separate `Enable MCP Server Creation` switch is also on by default but only controls the instructions for creating servers; it is not the connection switch.

For a slow remote tool call, adjust `timeout` or the individual server's `Network Timeout` control. Tool auto-approval is off by default and applies per tool; `alwaysAllow` also requires the global `Use MCP servers` auto-approval option.

## Limits and open questions

- A URL-based entry without `type` causes an immediate error; the page does not supply its exact error text.
- For a legacy SSE server, use `type="sse"`; it may expect separate `/events` and `/message` paths. This differs from Streamable HTTP's single endpoint. Local process entries use `command`, with `type` defaulting to `"stdio"`.
- The page names `headers` but gives no automatic authentication mechanism or retry limit for this HTTP configuration.

Not for: Cline MCP settings or Roo Code local STDIO process configuration.

## Sources

- [Using MCP in Roo Code](https://docs.roocode.com/features/mcp/using-mcp-in-roo), Roo Code documentation, last updated 2026-05-15; the URL redirects to the official Roo Code documentation archive.

## Checked

2026-11-17; read Using MCP in Roo Code, including configuration precedence, transport parameters, connection switches and timeout/approval sections; no command was run.

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.