Enable MCP
Once enabled, the Editor displays the MCP configuration panel where you can add your server settings:

Configure an MCP server
Each MCP server requires a JSON configuration object. Here is the complete schema:Configuration reference
| Field | Type | Required | Description |
|---|---|---|---|
type | String | Yes | Currently only "url" is supported. |
url | String | Yes | The MCP server URL. Must start with https://. |
name | String | Yes | A unique identifier for the server. Choose a descriptive name. |
tool_configuration | Object | No | Controls which tools from the server are available. |
tool_configuration.enabled | Boolean | No | Whether to enable tools from the server (default: true). |
tool_configuration.allowed_tools | Array | No | Restrict which tools are allowed. By default, all tools are available. |
authorization_token | String | No | OAuth authorization token, if required by the server. |
Connect to multiple servers
You can connect to multiple MCP servers simultaneously by providing an array of server configurations:Authentication
Many MCP servers require OAuth authentication. To obtain an access token:- Use the MCP Inspector or your server provider’s OAuth flow to generate a token.
- Paste the token into the
authorization_tokenfield in your server configuration.
Keep your authorization tokens secure. If your MCP server’s tokens have an expiry, you will need to refresh them periodically.
Next steps
Use Tools in Prompts
Define custom tools with JSON schemas and HTTP backends.
Tool Calls in Playground
Test MCP-powered and tool-powered prompts in the Playground.

