
Codexの結果をChatGPTへ戻す転記を減らす――MCPと人間確認Reducing Manual Transfers of Codex Results Back to ChatGPT with MCP and Human Review
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy
- CodexはMCP経由で実装結果を非公開保存し、Reporterで人間が承認した内容だけをChatGPT Workが指示IDと結果IDから取得できる構成を検証。
- 転記を減らせる一方、重複結果の選択は人間に残るため、設計と実装を往復する利用者に有用です。
- Codex stores results privately via MCP, and ChatGPT Work reads only Reporter-approved output by instruction and result IDs.
- This reduces copying between design and coding.
本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (qiita.com) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (qiita.com).
要約と収集メタデータに基づく AI 解説。元記事全文の転載・翻訳ではありません。AI explainer based on the summaries and collected metadata, not a copy or translation of the full source article.
転記を減らす構成
ブラウザーのChatGPTで設計を相談し、VS CodeのCodexで実装する流れでは、作業結果をChatGPTへ戻す転記が必要になります。そこで、CodexがMCP経由で結果を未公開保存し、人間が確認した本文だけをChatGPT Workから読める構成が検証されました。
MCPで未公開保存
Codex専用STDIO MCPは、標準入出力でCodexと通信するローカルのMCPサーバーです。Codexは実装結果を、まず未公開領域のpendingへ保存します。保存対象は、Codexがtoolへ明示的に渡した本文であり、Codex画面に表示される最終回答を自動取得する仕組みではありません。
この処理によって、ChatGPTへ戻すための結果ファイルを人間が手動で用意する操作を減らせます。テストでは、結果を未公開で保存するところまで動作しています。
人間確認と公開
Reporterは、Locolisu AI Task Monitorで使う自作のVS Code拡張です。Reporterが元の指示とCodexの結果を表示し、人間が内容を確認したものだけをconfirmedへ保存します。
ここでいう「公開」とは、Work向けMCPから読み取れる状態にすることです。インターネット上への一般公開を意味しません。Codexによる保存とWorkによる読取りの間に人間の確認を置くことで、確認済みの本文だけが受渡しの対象になります。
読取りと残る操作
ChatGPT Workは、ブラウザーで使うChatGPTのWork画面を指します。新しいWork会話から指示IDと結果IDを指定し、confirmedに保存された結果を読み取ります。テストでは、人間による確認と公開、その後の新しい会話での読取りまで成功しました。
一方、同じ指示に結果が2件あり、一覧から対象を選べない場面もありました。本文のコピーと貼り付けは減らせても、複数の結果からどれをChatGPTへ戻すかを指定する操作は人間に残ります。
Reducing Manual Transfers
When design discussions happen in browser-based ChatGPT and implementation happens with Codex in VS Code, the resulting work still has to be transferred back to ChatGPT. The tested configuration reduces that copying by storing Codex results through MCP and allowing ChatGPT Work to read only text that a person has reviewed.
Work here means the ChatGPT Work screen used in a browser. Reporter is a custom VS Code extension used with Locolisu AI Task Monitor.
MCP and Human Review
The workflow separates storage, review, and retrieval. A Codex-specific STDIO MCP first saves a result to an unpublished pending area. STDIO MCP is a local MCP server that communicates with Codex through standard input and output.
Reporter then displays the original instruction and the result. After a person reviews the result, Reporter saves the approved material to confirmed. ChatGPT Work can subsequently retrieve it by specifying both the instruction ID and the result ID.
In this configuration, “publishing” means making the approved result readable through the MCP for Work. It does not mean making the material generally available on the internet.
Unpublished and Confirmed Results
Testing succeeded across the full sequence: unpublished storage, human review and publication, and retrieval from a new ChatGPT Work conversation. This reduced the need to prepare result files manually.
The stored material is specifically the text that Codex explicitly passes to the tool. The configuration does not automatically capture the final answer displayed in the Codex interface. Human confirmation therefore controls which submitted text becomes readable from ChatGPT Work.
Instruction and Result IDs
The workflow did not remove every manual decision. In one situation, the same instruction had two results, and there was no way to select the intended one from a list.
Although copying the result body was reduced, a person still had to specify which result should be returned. The tested setup therefore reduces text transfer between design and implementation while retaining human responsibility for selecting and confirming the relevant output.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPokoブラウザーで設計してVS Codeで実装するとき、普段の作業は何が変わるの? 結果を戻す手間が減るのかな。When I plan in the browser and implement in VS Code, what changes in my day-to-day work? Does it cut the effort of bringing results back?
- TECHガイドTECH GuideCodexの結果をMCP経由で未公開保存し、人が確認した内容だけをChatGPT Workで読めます。本文を転記する作業を減らせます。Codex stores output privately through MCP, and ChatGPT Work reads only what a person approves. That reduces manual copying of the output.
- ポコPoko前は、Codexの結果をChatGPTへ自分でコピペするしかなかったの?Before this, did I have no choice but to copy and paste Codex’s results into ChatGPT myself?
- TECHガイドTECH Guideこの記事の作業では転記が残っていました。検証した構成では、未公開保存から人の確認、新しいWork会話での読取りまで成功しています。In the workflow described here, that copying remained. The tested setup successfully went from private storage and human review to reading the result in a new Work chat.
- ポコPokoじゃあ収穫は、コピペは減らせても、同じ指示の結果が複数なら最後に人が選ぶってことだね?So the big takeaway is less copy-pasting, but if one instruction has multiple results, a person still has to choose which one to return, right?
- TECHガイドTECH Guideそうです。同じ指示で結果が2件あり一覧から選べない場面があったので、指示IDと結果IDでどれを戻すかの指定に注目です。Right. There was a case with two results for one instruction and no way to choose from the list, so specifying the right instruction and result IDs is the point to watch.



