MCP in App settings and the status bar (#189) #202
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/ai-studio!202
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-189-mcp-settings"
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?
Closes #189. Part of #157.
What changed
claude mcp add --transport http ai-studio <url> --header "Authorization: Bearer <token>"line and a JSONmcpServersentry for other harnesses. A port the page refuses goes back to the saved port.OpenSessionguard that counts the session while it lives, so the count drops when a harness ends its session, the session idles out, or the server stops.McpSettingsDtoreports the count asclients.changedevent of kindmcp(MCP_CHANGE) goes out when the server starts, stops or fails, and when a harness connects or leaves. A newmcpstore in the root layout follows it.Known limits
http://127.0.0.1:<port>/mcpeven while the server is off, so the configuration can be set up before switching it on.Testing
cargo test --workspace --all-features,bun test srcandbun run checkall pass.mcpchange. #188's test already covers the old token being refused.initializemakes the status bar and the page show a connected client.The screenshots were taken before the review fixes, so the status line reads "Listening, …" where it now reads "Listening. …". The token is blacked out.