Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server — fx provider / ACP session setup
Steps to reproduce
- Configure a working MCP server in fx's profile configuration,
~/.fx/mcp.json. This was reproduced with a stdio MCP server; the issue appears to concern profile discovery rather than a specific server. The names below are generic placeholders. - In a terminal, run
fx mcp show {mcp} --json. Confirmstatus: "ready"and that its tools are listed. - Enable fx in T3 Code and start an fx thread on the same machine, in a workspace without a project MCP configuration.
- Ask the agent to find/use the configured server, or call capability search scoped to
{mcp}. - The server is unavailable in the T3 Code thread even though the standalone fx CLI can connect successfully.
Expected behavior
The fx connection should expose an explicit way to inherit the user's existing fx profile MCP servers. If isolation is intentional by default, the provider settings/documentation should make that limitation and its opt-in clear.
This is not a request to silently enable every profile server across all ACP providers.
Actual behavior
The T3 Code fx thread only advertised the client-supplied t3-code MCP server. Searching for {mcp} returned mcp_state: "server_not_found".
The server was excluded before connection/authentication, rather than failing to start or authenticate.
Impact
Major degradation: service tools that work in standalone fx are unavailable through T3 Code unless configured and approved separately for each project.
Version or commit
Reproduced with T3 Code desktop 0.1.6 and fx 0.0.16.
Also inspected T3 Code main at 9bcf75335f9b2a8af877e1317c809b72a070b280; the relevant session setup still omits the opt-in.
Environment
macOS (Darwin 27.0.0), local T3 Code server, fx ACP provider, stdio {mcp} MCP server.
Evidence and likely cause
Standalone checks:
fx mcp list --json
exit 0; {mcp} is configured with source: profile
fx mcp show {mcp} --json
exit 0; status: ready; server tools listed
fx's ACP documentation explicitly says profile servers from ~/.fx/mcp.json are not inherited unless the client sets _meta.fx.profileMcpServers: true when creating, loading, or resuming a session.
The fx provider launches the shared ACP runtime without configuring that opt-in:
- packages/provider-fx/src/server/acpSupport.ts
- ACP initial create/load/resume payloads
- ACP reused-session load/resume payloads
The fx metadata, when explicitly enabled, is:
{
"_meta": {
"fx": {
"profileMcpServers": true
}
}
}Requested direction
Would maintainers accept an fx-specific "Use profile MCP servers" connection option that carries this metadata consistently through new/load/resume, including reused-session activation?
A focused fix should preserve existing client-supplied MCP servers, merge rather than replace any existing metadata, avoid changing other ACP providers, and have regression tests for both enabled and disabled behavior. The default should follow maintainer direction because profile inheritance is a trust/isolation decision.
Workaround
Define the server in the workspace's .mcp.json and approve it with fx mcp approve <name>.
In the observed installation, using the same project server name as the profile entry made fx mcp approve {mcp} report No project server named {mcp} in .mcp.json. Using a distinct project alias ({mcp}-workspace) allowed approval. This approval/name-shadowing detail is separate from the T3 Code integration request.
The project workaround was verified with fx mcp show {mcp}-workspace --json: exit 0, source project, status ready, server tools including {tool}. Discovery in a newly opened T3 Code thread after that workaround was not verified.
Activity