Skip to content

Commit 479825c

Browse files
docs: polish mcp headings (#84)
1 parent bf6e8d9 commit 479825c

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

docs/src/content/docs/guides/mcp.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ import hostedHITLExample from '../../../../../examples/docs/mcp/hostedHITL.ts?ra
1111
import streamableHttpExample from '../../../../../examples/docs/mcp/streamableHttp.ts?raw';
1212
import stdioExample from '../../../../../examples/docs/mcp/stdio.ts?raw';
1313

14-
## Overview
15-
1614
The [**Model Context Protocol (MCP)**](https://modelcontextprotocol.io) is an open protocol that standardizes how applications provide tools and context to LLMs. From the MCP docs:
1715

1816
> MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.
@@ -37,8 +35,6 @@ Choose a server type based on your use‑case:
3735

3836
Hosted tools push the entire round‑trip into the model. Instead of your code calling an MCP server, the OpenAI Responses API invokes the remote tool endpoint and streams the result back to the model.
3937

40-
### Quick start
41-
4238
Here is the simplest example of using hosted MCP tools. You can pass the remote MCP server's label and URL to the `hostedMcpTool` utility function, which is helpful for creating hosted MCP server tools.
4339

4440
<Code lang="typescript" code={hostedAgentExample} title="hostedAgent.ts" />

docs/src/content/docs/ja/guides/mcp.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ import hostedHITLExample from '../../../../../../examples/docs/mcp/hostedHITL.ts
1111
import streamableHttpExample from '../../../../../../examples/docs/mcp/streamableHttp.ts?raw';
1212
import stdioExample from '../../../../../../examples/docs/mcp/stdio.ts?raw';
1313

14-
## 概要
15-
1614
[**Model Context Protocol (MCP)**](https://modelcontextprotocol.io) は、アプリケーションが LLM にツールとコンテキストを提供する方法を標準化するオープンプロトコルです。MCP ドキュメントより引用します。
1715

1816
> MCP は、アプリケーションが LLM にコンテキストを提供する方法を標準化するオープンプロトコルです。MCP は AI アプリケーション向けの USB-C ポートのようなものと考えてください。USB-C がデバイスをさまざまな周辺機器やアクセサリーに接続するための標準化された方法を提供するのと同様に、MCP は AI モデルをさまざまなデータソースやツールに接続するための標準化された方法を提供します。
@@ -37,8 +35,6 @@ import stdioExample from '../../../../../../examples/docs/mcp/stdio.ts?raw';
3735

3836
Hosted tool では、往復すべてがモデル内部で完結します。あなたのコードが MCP サーバーを呼び出す代わりに、OpenAI Responses API がリモートツールのエンドポイントを呼び出し、その結果をストリームでモデルに返します。
3937

40-
### クイックスタート
41-
4238
Hosted MCP サーバーツールを使うもっともシンプルな例を示します。`hostedMcpTool` ユーティリティ関数にリモート MCP サーバーのラベルと URL を渡すだけで作成できます。
4339

4440
<Code lang="typescript" code={hostedAgentExample} title="hostedAgent.ts" />

0 commit comments

Comments
 (0)