Skip to content

feat: Agent Connect writes an HTTP MCP entry in the installed app - #48

Merged
nodemode-ai merged 2 commits into
mainfrom
fix/owner-decisions-2026-11-29
Nov 30, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
fix/owner-decisions-2026-11-29

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Agent Connect in the installed app: Write config now writes client entries that reach the running app over HTTP at http://127.0.0.1:PORT/mcp, for Claude Code, Codex, Cursor and Antigravity, instead of refusing for lack of a launcher.
  • When FORMWEB_AUTH_TOKEN is set, the written files name the environment variable for the client to read; the token itself is never written to disk. The Antigravity entry cannot name a variable, so in that case its card writes nothing and explains why.
  • An Antigravity entry FormWeb wrote for an earlier port is pointed at the current port; entries a person wrote are left alone.
  • Source checkouts keep the existing stdio launcher files unchanged.
  • New service tests read the written files back with independent JSON and TOML readers, send an MCP initialize to the written address, and cover the Antigravity cases; the manual, the Agents and MCP wiki page and the harness sub-skill describe the behaviour.

Tests

  • Each change has tests that fail on the code before it.
  • The repo's CI commands were run locally on macOS; every local failure also fails on main in the same environment. Please rely on this PR's CI for Linux and Windows.

How to ship

  • Follows the earlier hardening PR, already merged. Independent of other repos. No version bump.

…ver HTTP

The installed app ships no formweb launcher, so Write config in Agent Connect now writes .mcp.json, .codex/config.toml and .cursor/mcp.json naming the running app's http://127.0.0.1:PORT/mcp, and adds an entry with that address to the Antigravity file, instead of refusing.
With FORMWEB_AUTH_TOKEN set, the project files name the variable for the client to read from its own environment and never hold the token; the Antigravity entry cannot name a variable, so there its card writes nothing and says why.
An Antigravity entry FormWeb wrote for an earlier port is pointed at the current one; an entry a person wrote is left alone. Source checkouts keep the stdio launcher files unchanged.
…eady when one is required

With FORMWEB_AUTH_TOKEN set in the installed app, an Antigravity entry FormWeb wrote earlier carries no token and cannot connect, so its card now shows it as changed and says why, instead of ready or offering to point it at this port.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 21:21
@nodemode-ai
nodemode-ai merged commit 5de9357 into main Nov 30, 2026
11 checks passed
@nodemode-ai
nodemode-ai deleted the fix/owner-decisions-2026-11-29 branch November 30, 2026 18:22
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.

2 participants