> ## 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

> Overview of the DataGen MCP server and available tool categories

The DataGen MCP server at `https://mcp.datagen.dev/mcp` exposes all DataGen capabilities as MCP tools. Connect it to Claude Code, Claude Desktop, Cursor, or any MCP client to access 50+ integrations.

## Connection

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

Authentication uses your `DATAGEN_API_KEY` via the `X-API-Key` header. See [Quick Start](/guide/quickstart) or [Alternative Setup](/guide/alternative-setup) for connection instructions.

## Tool Categories

DataGen exposes **16 active tools** across 5 categories:

### Code Execution (1 tool)

| Tool                                              | Description                               |
| ------------------------------------------------- | ----------------------------------------- |
| [`executeCode`](/reference/mcp-tools#executecode) | Run Python code with MCP tool integration |

### Custom Tool Management (5 tools)

| Tool                                                                | Description                                       |
| ------------------------------------------------------------------- | ------------------------------------------------- |
| [`createCustomTool`](/reference/mcp-tools#createcustomtool)         | Deploy Python workflows as reusable API endpoints |
| [`updateCustomTool`](/reference/mcp-tools#updatecustomtool)         | Modify existing custom tools                      |
| [`getCustomToolDetails`](/reference/mcp-tools#getcustomtooldetails) | Get full specs, code, and curl examples           |
| [`submitCustomToolRun`](/reference/mcp-tools#submitcustomtoolrun)   | Execute a deployed custom tool                    |
| [`checkRunStatus`](/reference/mcp-tools#checkrunstatus)             | Monitor custom tool execution progress            |

### Tool Discovery & Execution (3 tools)

| Tool                                                    | Description                            |
| ------------------------------------------------------- | -------------------------------------- |
| [`searchTools`](/reference/mcp-tools#searchtools)       | Find tools by functionality or keyword |
| [`getToolDetails`](/reference/mcp-tools#gettooldetails) | Get comprehensive tool documentation   |
| [`executeTool`](/reference/mcp-tools#executetool)       | Execute any MCP tool by alias name     |

### MCP Server Management (6 tools)

| Tool                                                                         | Description                            |
| ---------------------------------------------------------------------------- | -------------------------------------- |
| [`addRemoteMcpServer`](/reference/mcp-tools#addremotemcpserver)              | Connect external MCP servers           |
| [`searchBuiltInServers`](/reference/mcp-tools#searchbuiltinservers)          | Browse pre-configured server templates |
| [`getBuiltInServerDetails`](/reference/mcp-tools#getbuiltinserverdetails)    | View server requirements and config    |
| [`checkRemoteMcpOauthStatus`](/reference/mcp-tools#checkrmotemcpoauthstatus) | Monitor OAuth authentication flows     |
| [`ReAuthRemoteMcpServer`](/reference/mcp-tools#reauthremotemcpserver)        | Reauthenticate expired connections     |
| [`updateRemoteMcpServer`](/reference/mcp-tools#updateremotemcpserver)        | Update server URLs and credentials     |

### Utilities (1 tool)

| Tool                                                      | Description                    |
| --------------------------------------------------------- | ------------------------------ |
| [`datagen-sdk-doc`](/reference/mcp-tools#datagen-sdk-doc) | Fetch Python SDK documentation |

<Card title="Full Tool Reference" icon="book" href="/reference/mcp-tools">
  See every tool with complete parameter tables, return types, and examples.
</Card>
