Retool MCP
AIエージェントで本番アプリを構築し、Retoolを管理します。Retool MCPの機能には、Reactアプリの構築、ワークスペース管理(ユーザーの一覧表示、アプリの権限、リソースとデータの探索、ユーザー管理など)が含まれます。
ドキュメント
You can connect to Retool's MCP server directly from your coding environment. Retool's MCP enables you to build apps from your chosen development environment, import React apps into Retool, and manage your organization's settings and users.
[!-secondary] -secondary note
The MCP server provides access to Retool functionality in an external environment. This functionality is distinct from the MCP resource, which lets you connect third-party tools and services as a native integration in classic apps, workflows, and agents.
Refer to the MCP tool reference for the full list of tools.
Use cases
The following use cases are examples of what can be accomplished using the MCP server:
For a full list of available tools, refer to the MCP tools reference, or install the MCP server and run tools/list.
Connect MCP server
You can connect Retool's MCP server to an MCP-compatible client using the following details:
- URL:
https://<your-retool-instance>/mcp(e.g.https://example.retool.com/mcp) - Transport: HTTP
- Authentication: OAuth 2.0
Once you authenticate your MCP server with OAuth 2.0, you may have to restart your coding agent.
Common coding agents
The following examples show how to connect to the MCP server with common coding agents.
To configure the MCP server as a tool for use in Retool Agents, complete the following steps:
- Navigate to the Resources tab in Retool. Click Create new > Resource, and select MCP Server.
- Configure the resource:
- Title:
Retool MCP2. Description:An MCP server for interacting with Retool.3. Server URL:https://example.retool.com/mcp4. Click Auto-configure authentication. 5. Scroll down and click Connect with OAuth.
- Title:
- Navigate to a new or existing agent and add a new tool.
- Click Add new tool. 2. Select Connect to MCP server. 3. From the dropdown, select the MCP server you created in the previous step. 4. Click Save.
- Test out your agent from the Chat tab.
MCP server for self-hosted instances
Retool's MCP server is available for self-hosted instances that use version 4.0.0 and later. The MCP server has the same requirements as the new app building experience.
Refer to the tutorials in order to set up self-hosted infrastructure for the first time, or the upgrade guides in order to configure your instance for the latest version.