Skip to content

Fix MCP dispatch for path-mounted boards - #56

Merged
sh1pt-actions-fleet[bot] merged 1 commit into
mainfrom
codex/mcp-base-path
Nov 1, 2026
Merged

sh1pt-actions-fleet[bot] merged 1 commit into
mainfrom
codex/mcp-base-path

Conversation

@sh1pt-actions-fleet

Copy link
Copy Markdown
Contributor

What changed

MCP tool calls use BoardClient with the board's public base URL, then dispatch the resulting REST request back into the Hono app. On boards mounted under a path such as /bbs, that internal dispatch was sent directly to the root-based app, leaving the /bbs prefix in place and returning 404s.

Route internal MCP dispatch through the same mountAt adapter as the network listener. Root-mounted boards keep the empty-prefix behavior; path-mounted boards now reach the same REST handlers as browser and API requests.

Verification

Production reproduction confirmed MCP initialization and tools/list worked on the /bbs boards, while every MCP tool call failed with 404. The fix will be verified with authenticated board_overview, read, and reply calls on both mounted boards after deployment.

@sh1pt-actions-fleet
sh1pt-actions-fleet Bot merged commit 53deb7e into main Nov 1, 2026
4 checks passed
@sh1pt-actions-fleet
sh1pt-actions-fleet Bot deleted the codex/mcp-base-path branch November 1, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant