# feat\(mcp\): expose fork and merge-back commands · PR \#10558 · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/pull/10558)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

State: merged

Source repository: pingdotgg/t3code

Source branch: agents/mcp-thin/conversation-transfer

Target branch: agents/mcp-thin/configuration

Head commit: e3e71c75fa04a4bdfc277c8eea3266686a56aa72

[Discussion and reviews](https://git.cafe/pingdotgg/t3code/pull/10558)

[Commits](https://git.cafe/pingdotgg/t3code/pull/10558/commits?format=markdown)

[Files changed](https://git.cafe/pingdotgg/t3code/pull/10558/diffs?format=markdown)

## Description

---

Part 8/16 of the [shared-core and MCP stack](https://github.com/pingdotgg/t3code/stacks/10582). Based on [#10557](https://github.com/pingdotgg/t3code/pull/10557). Next: [#10559](https://github.com/pingdotgg/t3code/pull/10559).

Expose the existing fork and merge-back commands plus transfer status. The caller supplies an existing stable source point; orchestration owns lineage, persistence and provider transfer execution.

Each invocation generates a new command. No additional clientRequestId protocol, transfer journal or provider implementation. Merge targets remain in the calling project.

MCP-only rebuild of [#8696](https://github.com/pingdotgg/t3code/pull/8696), [#8697](https://github.com/pingdotgg/t3code/pull/8697), preserving attribution to Julius Marminge's original work. Original branches remain available for separate service follow-ups.

Validation: The composed stack passes 94 tests across 12 focused files, including shared core MCP and real MCP/V2 integration, attachment intake, project RPC/service contracts, and client model command selection. Server/contracts/shared/client-runtime typechecks and targeted format/lint/diff checks pass. New behavior coverage lives with the shared operation; no per-tool mock suite was added. Current-head CI is shown below.

Layer size: 4 files, +99/-1. No domain-service production implementation or documentation files change in this MCP layer.

Prepared with Codex in the OpenAI agent runtime.

