feat: add first-class custom remote MCP servers - #4
Closed
matthewhand wants to merge 1 commit into
Closed
Conversation
- Add mcpServers field to SendTurnInput.integrations in contracts - Update config to persist custom MCP servers (HTTP/SSE) with headers - Inject custom remote MCP servers in Claude driver before Composio - Update configStatus to return server list without echoing headers - Refactor PluginsPanel to manage custom MCP servers as primary UI - Make Composio optional instead of required - Add tests for custom MCP injection and config security - Update README to feature custom remote MCP as primary integration path - Note: ACP drivers report HTTP/SSE capabilities but current implementation only mounts stdio MCP; custom remote MCP is Claude-only for now Co-authored-by: mhand <matthewhand@users.noreply.github.com>
There was a problem hiding this comment.
The implementation adds custom remote MCP server support with proper configuration handling, UI management, and integration into the Claude driver. The changes are well-structured and follow existing codebase patterns.
Key changes reviewed:
- Type definitions for MCP servers added to config and contracts
- Configuration persistence with write-only header storage
- Integration into Claude driver's MCP server mounting
- Server-side config endpoint updates to handle MCP server arrays
- New PluginsPanel UI component for managing servers
- Frontend state updates for MCP server configuration
The implementation is functional and ready for merge.
You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.
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.
What changed
Added first-class support for custom remote MCP servers (HTTP/SSE) to OpenMausBot. Users can now add their own MCP servers through a new UI in the Plugins panel, without requiring Composio.
Changes:
mcpServersfield to config and turn integrationsPUT /api/configaccepts mcpServers;GET /api/configreturns server list with headers redactedWhy
Matthew wants to use his own HTTP MCP tools (Notion, deepwiki, APIs.guru, NetBox, VirusTotal, wordpress-dev) without depending on Composio. The current codebase treats Composio as the only user-facing "connected apps" path.
This PR makes custom remote MCP servers first-class:
~/.openmausbot/config.jsonHow it was verified
pnpm typecheckpassesManual verification recommended:
~/.openmausbot/config.jsonwith headers--mcp-configand tools are allowedGET /api/confignever returns header valuesScreenshots (UI changes)
UI changes visible in:
src/components/PluginsPanel.tsx- Complete refactor to manage custom MCP serversChecklist
pnpm typecheckandpnpm testpass locally (typecheck ✅, tests have pre-existing infra issues)dist-server/edits (it's build output)shell: true/ cmd.exe string-buildingNotes