> ## Documentation Index
> Fetch the complete documentation index at: https://datagen.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# DataGen MCP Server

> DataGen MCP server 與可用工具類別總覽

位於 `https://mcp.datagen.dev/mcp` 的 DataGen MCP server，透過 Model Context Protocol 提供 DataGen AI Cloud 的工具與整合。將它連接到 Claude Code、Claude Desktop、Cursor 或任何 MCP 用戶端，即可使用 50 個以上的整合服務。

## 連線

```
https://mcp.datagen.dev/mcp
```

身分驗證使用你的 `DATAGEN_API_KEY`，透過 `X-API-Key` header 傳送。連線方式請參考 [Claude Code Plugin 快速開始](/zh/developers/plugin-quickstart) 或 [其他設定方式](/zh/developers/alternative-setup)。

## 工具類別

DataGen 提供 **16 個可用工具**，分為 5 個類別：

### 程式碼執行（1 個工具）

| 工具 | 說明 |
| - | - |
| [`executeCode`](/zh/developers/mcp-tools#executecode) | 執行可整合 MCP 工具的 Python 程式碼 |

### 自訂工具管理（5 個工具）

| 工具 | 說明 |
| - | - |
| [`createCustomTool`](/zh/developers/mcp-tools#createcustomtool) | 將 Python 工作流程部署為可重複使用的 API 端點 |
| [`updateCustomTool`](/zh/developers/mcp-tools#updatecustomtool) | 修改既有的自訂工具 |
| [`getCustomToolDetails`](/zh/developers/mcp-tools#getcustomtooldetails) | 取得完整規格、程式碼與 curl 範例 |
| [`submitCustomToolRun`](/zh/developers/mcp-tools#submitcustomtoolrun) | 執行已部署的自訂工具 |
| [`checkRunStatus`](/zh/developers/mcp-tools#checkrunstatus) | 監控自訂工具的執行進度 |

### 工具探索與執行（3 個工具）

| 工具 | 說明 |
| - | - |
| [`searchTools`](/zh/developers/mcp-tools#searchtools) | 依功能或關鍵字尋找工具 |
| [`getToolDetails`](/zh/developers/mcp-tools#gettooldetails) | 取得完整的工具文件 |
| [`executeTool`](/zh/developers/mcp-tools#executetool) | 以別名執行任何 MCP 工具 |

### MCP Server 管理（6 個工具）

| 工具 | 說明 |
| - | - |
| [`addRemoteMcpServer`](/zh/developers/mcp-tools#addremotemcpserver) | 連接外部 MCP server |
| [`searchBuiltInServers`](/zh/developers/mcp-tools#searchbuiltinservers) | 瀏覽預先設定的 server 範本 |
| [`getBuiltInServerDetails`](/zh/developers/mcp-tools#getbuiltinserverdetails) | 檢視 server 需求與設定 |
| [`checkRemoteMcpOauthStatus`](/zh/developers/mcp-tools#checkremotemcpoauthstatus) | 監控 OAuth 驗證流程 |
| [`ReAuthRemoteMcpServer`](/zh/developers/mcp-tools#reauthremotemcpserver) | 重新驗證已過期的連線 |
| [`updateRemoteMcpServer`](/zh/developers/mcp-tools#updateremotemcpserver) | 更新 server URL 與憑證 |

### 公用工具（1 個工具）

| 工具 | 說明 |
| - | - |
| [`datagen-sdk-doc`](/zh/developers/mcp-tools#datagen-sdk-doc) | 取得 Python SDK 文件 |

<Card title="完整工具參考" icon="book" href="/zh/developers/mcp-tools">
  查看每個工具的完整參數表、回傳型別與範例。
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.