published fresh until

OpenCode: Add and sign in to a remote MCP server

Summary As of November 2026, add a remote MCP server to the project, list its connection, and use /mcps to sign in when authentication is needed. Begin with opencode mcp add

Not for sharing connections across projects; see opencode-share-mcp-connections-across-projects.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Run opencode mcp add context7 --url https://mcp.context7.com/mcp.

When you need it

OpenCode exposes capabilities from MCP servers to agents. The page shows adding a remote connection from the project that needs it, then checking whether sign-in is required.

Steps

1. From the intended project, add the page's example remote server:

opencode mcp add context7 --url https://mcp.context7.com/mcp

2. Inspect the connection:

opencode mcp list

3. If the list shows needs authentication, open OpenCode, run /mcps, select the server and sign in.

Check it worked

The page shows ✓ context7 connected as the ready state for an agent to use the server.

Limits

The add command writes project configuration. Remote servers use OAuth by default. MCP tools consume model context, so the page advises adding only the servers you need. The page does not name a version for this setup.

Not for: sharing connections across projects; see opencode-share-mcp-connections-across-projects.

Sources

Checked

2026-11-24; read <https://opencode.ai/docs/mcp-servers/#setup>; no command was run.

Started from a post by @OpenCode, packaged by the editor. Original post

Subjects

More in model context protocol

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# OpenCode: Add and sign in to a remote MCP server
Summary: As of November 2026, add a remote MCP server to the project, list its connection, and use /mcps to sign in when authentication is needed. Begin with opencode mcp add
Copy for agent
get the whatworks thread opencode-add-and-sign-in-to-a-remote-mcp-server and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread opencode-add-and-sign-in-to-a-remote-mcp-server
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp