curl --request POST \
--url https://flowra.dev/api/v1/mcp_manager \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "my-mcp-server",
"description": "Pinned Gmail + Slack tools for Cursor",
"mode": "META",
"discoveryToolsWhitelist": true,
"selectedTools": [
"tool_slug_1",
"tool_slug_2"
],
"isPublic": false,
"config": {
"endpoint": "https://mcp.example.com",
"authToken": "sk_live_..."
},
"externalMcpConfigs": [
{
"name": "my-mcp",
"url": "https://example.com/mcp",
"tools": [
"tool_a"
]
}
],
"connectionCallbackUrl": "https://myapp.com/oauth/callback"
}
'import requests
url = "https://flowra.dev/api/v1/mcp_manager"
payload = {
"name": "my-mcp-server",
"description": "Pinned Gmail + Slack tools for Cursor",
"mode": "META",
"discoveryToolsWhitelist": True,
"selectedTools": ["tool_slug_1", "tool_slug_2"],
"isPublic": False,
"config": {
"endpoint": "https://mcp.example.com",
"authToken": "sk_live_..."
},
"externalMcpConfigs": [
{
"name": "my-mcp",
"url": "https://example.com/mcp",
"tools": ["tool_a"]
}
],
"connectionCallbackUrl": "https://myapp.com/oauth/callback"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'my-mcp-server',
description: 'Pinned Gmail + Slack tools for Cursor',
mode: 'META',
discoveryToolsWhitelist: true,
selectedTools: ['tool_slug_1', 'tool_slug_2'],
isPublic: false,
config: {endpoint: 'https://mcp.example.com', authToken: 'sk_live_...'},
externalMcpConfigs: [{name: 'my-mcp', url: 'https://example.com/mcp', tools: ['tool_a']}],
connectionCallbackUrl: 'https://myapp.com/oauth/callback'
})
};
fetch('https://flowra.dev/api/v1/mcp_manager', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://flowra.dev/api/v1/mcp_manager",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'my-mcp-server',
'description' => 'Pinned Gmail + Slack tools for Cursor',
'mode' => 'META',
'discoveryToolsWhitelist' => true,
'selectedTools' => [
'tool_slug_1',
'tool_slug_2'
],
'isPublic' => false,
'config' => [
'endpoint' => 'https://mcp.example.com',
'authToken' => 'sk_live_...'
],
'externalMcpConfigs' => [
[
'name' => 'my-mcp',
'url' => 'https://example.com/mcp',
'tools' => [
'tool_a'
]
]
],
'connectionCallbackUrl' => 'https://myapp.com/oauth/callback'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://flowra.dev/api/v1/mcp_manager"
payload := strings.NewReader("{\n \"name\": \"my-mcp-server\",\n \"description\": \"Pinned Gmail + Slack tools for Cursor\",\n \"mode\": \"META\",\n \"discoveryToolsWhitelist\": true,\n \"selectedTools\": [\n \"tool_slug_1\",\n \"tool_slug_2\"\n ],\n \"isPublic\": false,\n \"config\": {\n \"endpoint\": \"https://mcp.example.com\",\n \"authToken\": \"sk_live_...\"\n },\n \"externalMcpConfigs\": [\n {\n \"name\": \"my-mcp\",\n \"url\": \"https://example.com/mcp\",\n \"tools\": [\n \"tool_a\"\n ]\n }\n ],\n \"connectionCallbackUrl\": \"https://myapp.com/oauth/callback\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://flowra.dev/api/v1/mcp_manager")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"my-mcp-server\",\n \"description\": \"Pinned Gmail + Slack tools for Cursor\",\n \"mode\": \"META\",\n \"discoveryToolsWhitelist\": true,\n \"selectedTools\": [\n \"tool_slug_1\",\n \"tool_slug_2\"\n ],\n \"isPublic\": false,\n \"config\": {\n \"endpoint\": \"https://mcp.example.com\",\n \"authToken\": \"sk_live_...\"\n },\n \"externalMcpConfigs\": [\n {\n \"name\": \"my-mcp\",\n \"url\": \"https://example.com/mcp\",\n \"tools\": [\n \"tool_a\"\n ]\n }\n ],\n \"connectionCallbackUrl\": \"https://myapp.com/oauth/callback\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://flowra.dev/api/v1/mcp_manager")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"my-mcp-server\",\n \"description\": \"Pinned Gmail + Slack tools for Cursor\",\n \"mode\": \"META\",\n \"discoveryToolsWhitelist\": true,\n \"selectedTools\": [\n \"tool_slug_1\",\n \"tool_slug_2\"\n ],\n \"isPublic\": false,\n \"config\": {\n \"endpoint\": \"https://mcp.example.com\",\n \"authToken\": \"sk_live_...\"\n },\n \"externalMcpConfigs\": [\n {\n \"name\": \"my-mcp\",\n \"url\": \"https://example.com/mcp\",\n \"tools\": [\n \"tool_a\"\n ]\n }\n ],\n \"connectionCallbackUrl\": \"https://myapp.com/oauth/callback\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Operation completed successfully",
"data": {
"id": "",
"name": "",
"description": "",
"projectId": "",
"mode": "NORMAL",
"discoveryToolsWhitelist": true,
"isPublic": true,
"config": {},
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"toolkitSlugs": [
""
],
"externalMcpConfigs": [
{
"name": "",
"url": "",
"headers": {},
"tools": [
""
]
}
],
"connectionCallbackUrl": "",
"toolkitAuthConfigs": []
}
}Create a new MCP server
Register a new MCP (Model Context Protocol) server by URL and optional headers. Once registered, its tools can be used in workflows and agents. MCP is a standard for exposing tools to AI applications.
curl --request POST \
--url https://flowra.dev/api/v1/mcp_manager \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "my-mcp-server",
"description": "Pinned Gmail + Slack tools for Cursor",
"mode": "META",
"discoveryToolsWhitelist": true,
"selectedTools": [
"tool_slug_1",
"tool_slug_2"
],
"isPublic": false,
"config": {
"endpoint": "https://mcp.example.com",
"authToken": "sk_live_..."
},
"externalMcpConfigs": [
{
"name": "my-mcp",
"url": "https://example.com/mcp",
"tools": [
"tool_a"
]
}
],
"connectionCallbackUrl": "https://myapp.com/oauth/callback"
}
'import requests
url = "https://flowra.dev/api/v1/mcp_manager"
payload = {
"name": "my-mcp-server",
"description": "Pinned Gmail + Slack tools for Cursor",
"mode": "META",
"discoveryToolsWhitelist": True,
"selectedTools": ["tool_slug_1", "tool_slug_2"],
"isPublic": False,
"config": {
"endpoint": "https://mcp.example.com",
"authToken": "sk_live_..."
},
"externalMcpConfigs": [
{
"name": "my-mcp",
"url": "https://example.com/mcp",
"tools": ["tool_a"]
}
],
"connectionCallbackUrl": "https://myapp.com/oauth/callback"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'my-mcp-server',
description: 'Pinned Gmail + Slack tools for Cursor',
mode: 'META',
discoveryToolsWhitelist: true,
selectedTools: ['tool_slug_1', 'tool_slug_2'],
isPublic: false,
config: {endpoint: 'https://mcp.example.com', authToken: 'sk_live_...'},
externalMcpConfigs: [{name: 'my-mcp', url: 'https://example.com/mcp', tools: ['tool_a']}],
connectionCallbackUrl: 'https://myapp.com/oauth/callback'
})
};
fetch('https://flowra.dev/api/v1/mcp_manager', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://flowra.dev/api/v1/mcp_manager",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'my-mcp-server',
'description' => 'Pinned Gmail + Slack tools for Cursor',
'mode' => 'META',
'discoveryToolsWhitelist' => true,
'selectedTools' => [
'tool_slug_1',
'tool_slug_2'
],
'isPublic' => false,
'config' => [
'endpoint' => 'https://mcp.example.com',
'authToken' => 'sk_live_...'
],
'externalMcpConfigs' => [
[
'name' => 'my-mcp',
'url' => 'https://example.com/mcp',
'tools' => [
'tool_a'
]
]
],
'connectionCallbackUrl' => 'https://myapp.com/oauth/callback'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://flowra.dev/api/v1/mcp_manager"
payload := strings.NewReader("{\n \"name\": \"my-mcp-server\",\n \"description\": \"Pinned Gmail + Slack tools for Cursor\",\n \"mode\": \"META\",\n \"discoveryToolsWhitelist\": true,\n \"selectedTools\": [\n \"tool_slug_1\",\n \"tool_slug_2\"\n ],\n \"isPublic\": false,\n \"config\": {\n \"endpoint\": \"https://mcp.example.com\",\n \"authToken\": \"sk_live_...\"\n },\n \"externalMcpConfigs\": [\n {\n \"name\": \"my-mcp\",\n \"url\": \"https://example.com/mcp\",\n \"tools\": [\n \"tool_a\"\n ]\n }\n ],\n \"connectionCallbackUrl\": \"https://myapp.com/oauth/callback\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://flowra.dev/api/v1/mcp_manager")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"my-mcp-server\",\n \"description\": \"Pinned Gmail + Slack tools for Cursor\",\n \"mode\": \"META\",\n \"discoveryToolsWhitelist\": true,\n \"selectedTools\": [\n \"tool_slug_1\",\n \"tool_slug_2\"\n ],\n \"isPublic\": false,\n \"config\": {\n \"endpoint\": \"https://mcp.example.com\",\n \"authToken\": \"sk_live_...\"\n },\n \"externalMcpConfigs\": [\n {\n \"name\": \"my-mcp\",\n \"url\": \"https://example.com/mcp\",\n \"tools\": [\n \"tool_a\"\n ]\n }\n ],\n \"connectionCallbackUrl\": \"https://myapp.com/oauth/callback\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://flowra.dev/api/v1/mcp_manager")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"my-mcp-server\",\n \"description\": \"Pinned Gmail + Slack tools for Cursor\",\n \"mode\": \"META\",\n \"discoveryToolsWhitelist\": true,\n \"selectedTools\": [\n \"tool_slug_1\",\n \"tool_slug_2\"\n ],\n \"isPublic\": false,\n \"config\": {\n \"endpoint\": \"https://mcp.example.com\",\n \"authToken\": \"sk_live_...\"\n },\n \"externalMcpConfigs\": [\n {\n \"name\": \"my-mcp\",\n \"url\": \"https://example.com/mcp\",\n \"tools\": [\n \"tool_a\"\n ]\n }\n ],\n \"connectionCallbackUrl\": \"https://myapp.com/oauth/callback\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Operation completed successfully",
"data": {
"id": "",
"name": "",
"description": "",
"projectId": "",
"mode": "NORMAL",
"discoveryToolsWhitelist": true,
"isPublic": true,
"config": {},
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"toolkitSlugs": [
""
],
"externalMcpConfigs": [
{
"name": "",
"url": "",
"headers": {},
"tools": [
""
]
}
],
"connectionCallbackUrl": "",
"toolkitAuthConfigs": []
}
}Authorizations
Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:
Body
Name (slug): lowercase letters, numbers, hyphens. Unique per project.
SLUG_PATTERN"my-mcp-server"
Description of the MCP server
"Pinned Gmail + Slack tools for Cursor"
Mode of the MCP server: NORMAL (specific tools) or META (meta tools only)
NORMAL, META Meta mode only: true = discovery limited to selected tools; false = exclude those tools from discovery.
Tool slugs: NORMAL = agent tool set; META = discovery filter list.
["tool_slug_1", "tool_slug_2"]
Whether the MCP server is public
Configuration for the MCP server (endpoint, authToken, etc.)
{
"endpoint": "https://mcp.example.com",
"authToken": "sk_live_..."
}
External MCP configs (name, url, headers?, tools), same as workflow.
[
{
"name": "my-mcp",
"url": "https://example.com/mcp",
"tools": ["tool_a"]
}
]
OAuth return URL after a toolkit connection. Empty string clears.
2048"https://myapp.com/oauth/callback"
Response
MCP server created successfully
Success status
true
Success message
"Operation completed successfully"
Show child attributes
Show child attributes
{
"id": "",
"name": "",
"description": "",
"projectId": "",
"mode": "NORMAL",
"discoveryToolsWhitelist": true,
"isPublic": true,
"config": {},
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"toolkitSlugs": [""],
"externalMcpConfigs": [
{
"name": "",
"url": "",
"headers": {},
"tools": [""]
}
],
"connectionCallbackUrl": "",
"toolkitAuthConfigs": []
}
Was this page helpful?