Conversation
…cp] to V0 reference The MCP settings page still said MCP servers can be defined in config.toml [mcp] (sse_servers/shttp_servers/stdio_servers) and used TOML for all examples. Current OpenHands no longer reads that section (removed in OpenHands/OpenHands#14241), and third-party integrations have followed the stale instructions (e.g. hindsight-openhands writes ./config.toml). - Document Customize > MCP Servers > Add custom server with the actual Agent Canvas form fields (Server Type, URL, Authentication, Timeout, Command Arguments, Environment Variables) and Test connection - Point CLI users to ~/.openhands/mcp.json and SDK users to mcp_config - Warn that config.toml [mcp] is ignored; add guidance for tool authors - Replace the OAuth 'Config File' tab with an Agent Canvas tab - Preserve the legacy TOML reference in V0 configuration options Co-authored-by: openhands <openhands@all-hands.dev>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of changes
The MCP settings page says MCP servers can be defined "in the
config.tomlfile under the[mcp]section if not using the UI". All of its configuration examples usesse_servers/shttp_servers/stdio_serversTOML. Current OpenHands doesn't read that section; TOML-based MCP config was removed in OpenHands/OpenHands#14241. Third-party integrations are following the stale page. For example,hindsight-openhands initwrites the Hindsight MCP server to./config.toml, so Agent Canvas users get no Hindsight tools.openhands/usage/settings/mcp-settings.mdx:Customize > MCP Serversopenhands mcp add/~/.openhands/mcp.jsonmcp_config<Warning>:config.toml[mcp]is ignored by current releases, with a link to the V0 reference.Add custom server→Server Type→ fields →Test connection→ save). It includes a note that local Agent Canvas stores servers in its settings store (~/.openhands/settings.jsonby default) with encrypted credentials, and that there's no per-project MCP file.Server name,URL,Authentication(None/Bearer token/Header/OAuth),API Key,Headers,Timeout (seconds)(SHTTP only),Name,Command,Command Arguments,Environment Variables.Add custom serverfield tables instead of TOML, plus a note aboutlocalhostreachability from Docker or a remote sandbox.Add custom servervalues and the CLI command, not aconfig.toml[mcp]section, and to put standing agent instructions inAGENTS.md.Config File(TOML) tab is replaced with anAgent Canvastab (Marketplace install, orAuthentication: OAuthon a custom server).openhands/usage/v0/advanced/V0_configuration-options.mdx:[mcp]TOML reference and example for V0 users, with a note pointing to the current page.Verification
enlocale plusextensions-navigation(MCP Servers),routes/mcp(Add custom server) andmcp-server-form(per-type fields).config.toml[mcp]were not loaded.POST /api/mcp/testreturnedokwith its tools, and the agent called those tools in a conversation.mint broken-links: no broken links.mint broken-links --check-anchors: the same 20 findings asmain, none on these pages.mint dev; the tabs and tables display correctly.llms.txt/llms-full.txtare not regenerated here. Running the generator picks up a lot of unrelated drift, so I left that to the weekly sync workflow.This PR was created by an AI agent (OpenHands) on behalf of @rajshah4.