Create MCP server
curl --request POST \
--url https://paradigm.lighton.ai/api/v3/mcp \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"url": "<string>"
}
'import requests
url = "https://paradigm.lighton.ai/api/v3/mcp"
payload = {
"name": "<string>",
"url": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', url: '<string>'})
};
fetch('https://paradigm.lighton.ai/api/v3/mcp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"authentication_method": "<string>",
"has_credentials": true,
"enabled": true,
"availability_scope": "<string>",
"is_global": true,
"object": "mcp_server",
"url": "<string>",
"company_id": 123,
"group_id": 123
}{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}MCP
Create MCP server
Create a new MCP server scoped to the authenticated user’s personal group. The server is automatically linked to the user’s company and personal group — users cannot create servers for other companies or groups.
authentication_method determines how the server authenticates requests. Possible values:
none: no authentication requiredurl: credentials are appended to theurlas theapiKeyquery parameterbearer_token: credentials are sent as a Bearer token in the Authorization header (provide the token in thecredentialsfield)
POST
/
api
/
v3
/
mcp
Create MCP server
curl --request POST \
--url https://paradigm.lighton.ai/api/v3/mcp \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"url": "<string>"
}
'import requests
url = "https://paradigm.lighton.ai/api/v3/mcp"
payload = {
"name": "<string>",
"url": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', url: '<string>'})
};
fetch('https://paradigm.lighton.ai/api/v3/mcp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"authentication_method": "<string>",
"has_credentials": true,
"enabled": true,
"availability_scope": "<string>",
"is_global": true,
"object": "mcp_server",
"url": "<string>",
"company_id": 123,
"group_id": 123
}{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/jsonapplication/x-www-form-urlencodedmultipart/form-data