MCP beta
Connect
PUT
/
api
/
mcp
/
servers
/
{server_id}
/
connection
Connect
curl --request PUT \
--url https://api.aixy-gateway.com/api/mcp/servers/{server_id}/connection \
--header 'Content-Type: application/json' \
--cookie gateway_session= \
--data '
{
"credential": "<string>"
}
'import requests
url = "https://api.aixy-gateway.com/api/mcp/servers/{server_id}/connection"
payload = { "credential": "<string>" }
headers = {
"cookie": "gateway_session=",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {cookie: 'gateway_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({credential: '<string>'})
};
fetch('https://api.aixy-gateway.com/api/mcp/servers/{server_id}/connection', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}⌘I
Connect
curl --request PUT \
--url https://api.aixy-gateway.com/api/mcp/servers/{server_id}/connection \
--header 'Content-Type: application/json' \
--cookie gateway_session= \
--data '
{
"credential": "<string>"
}
'import requests
url = "https://api.aixy-gateway.com/api/mcp/servers/{server_id}/connection"
payload = { "credential": "<string>" }
headers = {
"cookie": "gateway_session=",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {cookie: 'gateway_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({credential: '<string>'})
};
fetch('https://api.aixy-gateway.com/api/mcp/servers/{server_id}/connection', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}