Show MCP and LSP connections in Braid #46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First, are the braid agents properly connected to the MCP and LSP servers? If not, we should probably fix that. Then we should visually show on the braid GUI the MCP/LSP connections, so its more clear what is available.
Are the agents connected? A run's agents have one MCP server and no LSP. The screenshot above is opencode run by hand, which reads
~/.config/opencode: four MCP servers and three language servers. Runs never see that config, because each run gets its ownHOMEand its ownopencode.json.browser(the default) gets Playwright:@playwright/mcp0.0.80 with headless Chromium. Only thebrowsersubagent can call it;buildand the other subagents haveplaywright*switched off. The run live on production now (run 29) has itsplaywright-mcpprocess up, about 113 MB, although it hasn't used it.osf/engine/shape.py, but nothing attaches them. No pipeline declaresmcp:, and nothing turns a node'smcp:into the run's config. A node that declaredmcp: [forgejo]would get the six Forgejo tool names switched on with no server behind them.lsporformatterentry, and the run config has neither. Every production run logsall LSPs are disabledandall formatters are disabledat startup.Should runs use more? Mostly no. This is going by the tool calls in the 8 runs whose logs are still on production (runs 17 to 29): 1,474 bash calls, 893 reads and 565 edits or writes.
game.test.ts, which failed three builds in a row, and run 25'squeryAllByClassName, a testing-library query that doesn't exist..venvandnode_modulespartway through a step, so until then every import would show as an error.apply.--browser chromiumfix. What's needed next is a run with a UI change, not more servers.AGENTS.mdkeeps git and the forge away from agents, and osfd already writes the brief, opens the PR and merges in scripted steps. Attaching the MCP would put a token within an agent's reach and add about 1,600 tokens to every turn, even allowlisted.webfetch, and no run called it. Thecurls all went to the run's own app on 127.0.0.1.Where the time goes instead.
About 11% of bash calls (156) went on agents starting their own app, polling it with
sleepandcurl, and killing it.About 8% (116) went on hunting for dependencies. Run 22 even looked for
fastapiin osfd's own virtualenv.Two follow-ups:
The tool is better as an opencode custom tool (
tool/*.js, beside the run'scoerce-argsplugin) than as another MCP server.For the panel. Each run's opencode answers
GET /mcpandGET /lsp, so the console can show exactly what a run has. Today that'splaywright · connectedandLSP · off, not the list in the screenshot above.