Skip to content

Commit 95f8dd3

Browse files
committed
docs(mcp): add connectors section
1 parent f398241 commit 95f8dd3

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ Only enable this if you're confident the tool list won't change. To invalidate t
102102

103103
You can restrict which tools are exposed from each server by passing either a static filter via `createMCPToolStaticFilter` or a custom function. Here’s a combined example showing both approaches:
104104

105-
<Code
106-
lang="typescript"
107-
code={toolFilterExample}
108-
title="Tool filtering"
109-
/>
105+
<Code lang="typescript" code={toolFilterExample} title="Tool filtering" />
106+
107+
## Connectors
108+
109+
The TypeScript SDK also supports [connectors](https://platform.openai.com/docs/guides/tools-connectors-mcp#connectors) so you can expose existing systems or data sources as MCP tools. The [connectors example](https://github.com/openai/openai-agents-js/blob/main/examples/connectors/index.ts) shows how to register connectors alongside other MCP servers in an agent.
110110

111111
## Further reading
112112

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ Hosted ツールは、往復の処理全体をモデル側に任せます。あ
104104

105105
<Code lang="typescript" code={toolFilterExample} title="Tool filtering" />
106106

107+
## コネクタ
108+
109+
TypeScript SDK は [コネクタ](https://platform.openai.com/docs/guides/tools-connectors-mcp#connectors) にも対応しており、既存のシステムやデータソースを MCP ツールとして公開できます。エージェントで他の MCP サーバーと並行してコネクタを登録する例は、[connectors のサンプルコード](https://github.com/openai/openai-agents-js/blob/main/examples/connectors/index.ts) を参照してください。
110+
107111
## 参考資料
108112

109113
- [Model Context Protocol](https://modelcontextprotocol.io/) – 公式仕様

0 commit comments

Comments
 (0)