Add a Remote MCP Server to goose: Streamable HTTP Extensions
How to add a remote MCP server to goose as a Streamable HTTP extension: the Desktop dialog, goose configure, the config.yaml entry, OAuth sign-in, and fixing a server that will not connect.
goose calls MCP servers extensions. A remote one is an extension of type streamable_http with a uri, in ~/.config/goose/config.yaml [1]:
extensions:
my-server:
name: My Server
type: streamable_http
uri: https://mcp.example.com/mcp
enabled: true
timeout: 300
You do not have to write it by hand. In goose Desktop, open the sidebar, click Extensions, then Add custom extension, set the type to Streamable HTTP and paste the URL [1]. In the CLI, run goose configure, choose Add Extension, then Remote Extension (Streamable HTTP) [1].
Everything below is checked against goose's extensions documentation on 28 November 2026 [1].
TL;DR:
- A remote extension is
type: streamable_httpplus auri.timeoutis how long goose waits for a tool call, in seconds [1]. - OAuth is automatic for most servers. goose gets a client ID through Client ID Metadata Documents or Dynamic Client Registration, and you set
client_idonly for a server that supports neither [1]. - You can try a server for one session with
goose session --with-streamable-http-extension "<url>", without installing it [1]. - goose runs tools without asking by default. Set a permission mode if you want approval first [1].
Add the server
The URI is the MCP endpoint itself, usually ending in /mcp, not the product's homepage or its docs page. In the Desktop dialog the Timeout field sets how long goose waits for one tool call from this extension before giving up [1].
To try a server before you install it, start a session with it enabled for that session only [1]:
goose session --with-streamable-http-extension "https://mcp.example.com/mcp"
Nothing is written to your config. Close the session and the extension is gone.
Sign in to a server that needs it
When a remote extension needs OAuth, goose gets a client ID on its own, using Client ID Metadata Documents or Dynamic Client Registration [1]. Most servers that ask for a sign-in support one of the two: we read the authorization metadata of 169 such servers from our registry census on 9 October 2026, and 162 offered Dynamic Client Registration [2].
For a server whose authorization server supports neither, register a client with it yourself and put the ID in the entry [1]:
extensions:
my-server:
name: My Server
type: streamable_http
uri: https://mcp.example.com/mcp
client_id: your-registered-client-id
scopes:
- example.readonly
enabled: true
timeout: 300
client_secret_key names a secret for a confidential client; the secret itself stays in goose's secret store and never goes in the file [1]. scopes limits what goose asks for. Leave it out and goose picks scopes from the server's advertised metadata, which the goose docs warn "may be broader than the extension needs" [1].
goose serves the OAuth callback on 127.0.0.1 on a random port. If the authorization server only accepts one fixed redirect URI, set GOOSE_OAUTH_CALLBACK_PORT to that port [1]. MCP OAuth covers what a server has to publish for the sign-in to work.
Decide what runs without asking
goose works autonomously by default: with the Developer extension on, it can run commands and change files without your approval [1]. A remote extension's tools run the same way. If you are adding a server that writes to an account, set goose's permission mode or per-tool permissions first, as the goose docs describe under Configuring Access Controls [1].
To turn an extension off without removing it, use its toggle under Extensions in Desktop. A change made mid-session applies to that session only [1].
When it will not connect
| What you see | Usual cause | Fix |
|---|---|---|
| No tools, or an error when the extension starts | The URI is the homepage or docs page | Use the endpoint, usually ending in /mcp |
| Sign-in fails before it starts | The server supports neither Client ID Metadata Documents nor Dynamic Client Registration | Register a client and set client_id [1] |
| Sign-in redirect is rejected | The authorization server wants one fixed redirect port | Set GOOSE_OAUTH_CALLBACK_PORT [1] |
| Tool calls stop partway | The call took longer than the extension's timeout | Raise timeout |
| Extension fails to activate on a work network | Corporate or airgapped network | See goose's Airgapped/Offline Environments page [1] |
For what the server's own error codes mean, see MCP server errors and MCP server connection failed.
Check it from outside before you share it
goose connects from your own machine, so a server on localhost or your VPN works for you and for nobody else. Our MCP connection test calls your server from our network, runs the handshake and tools/list, and reports what a stranger on the internet gets back, with a dated URL you can share. If it passes there and fails in goose, the problem is in your extension entry, not the server.
The same setup in other clients is in Cursor, VS Code, Zed, JetBrains, Claude Code, Codex, Claude Desktop and ChatGPT, and remote MCP server vs stdio covers whether your server should have a public address at all.