Streamable HTTP JSON-RPC endpoint for remote MCP clients.
curl --request POST \
--url https://api.traxy.ai/api/v1/mcp \
--header 'Accept: <accept>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "<string>",
"id": "<string>",
"params": {}
}
'import requests
url = "https://api.traxy.ai/api/v1/mcp"
payload = {
"jsonrpc": "2.0",
"method": "<string>",
"id": "<string>",
"params": {}
}
headers = {
"Accept": "<accept>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Accept: '<accept>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({jsonrpc: '2.0', method: '<string>', id: '<string>', params: {}})
};
fetch('https://api.traxy.ai/api/v1/mcp', 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://api.traxy.ai/api/v1/mcp",
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([
'jsonrpc' => '2.0',
'method' => '<string>',
'id' => '<string>',
'params' => [
]
]),
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.traxy.ai/api/v1/mcp"
payload := strings.NewReader("{\n \"jsonrpc\": \"2.0\",\n \"method\": \"<string>\",\n \"id\": \"<string>\",\n \"params\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Accept", "<accept>")
req.Header.Add("Authorization", "Bearer <token>")
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://api.traxy.ai/api/v1/mcp")
.header("Accept", "<accept>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"jsonrpc\": \"2.0\",\n \"method\": \"<string>\",\n \"id\": \"<string>\",\n \"params\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.traxy.ai/api/v1/mcp")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Accept"] = '<accept>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"jsonrpc\": \"2.0\",\n \"method\": \"<string>\",\n \"id\": \"<string>\",\n \"params\": {}\n}"
response = http.request(request)
puts response.read_body{
"jsonrpc": "2.0",
"id": 2,
"result": {
"tools": [
{
"name": "traxy_get_workspace_access",
"title": "Get workspace access",
"description": "Return workspace access, usage, and capabilities for this connection.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
},
{
"name": "traxy_get_mcp_connection_status",
"title": "Get MCP connection status",
"description": "Return safe diagnostics for the authenticated MCP connection.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
},
{
"name": "traxy_get_agent_status",
"title": "Get agent status",
"description": "Return safe read-only status for the automated lead-finding agent.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
},
{
"name": "traxy_list_agent_candidates",
"title": "List agent candidates",
"description": "List candidate summaries for one Agent run, the latest Agent run, or the latest onboarding preview.",
"inputSchema": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"format": "uuid"
},
"source": {
"type": "string",
"enum": [
"latest_agent_run",
"latest_onboarding_preview"
]
},
"limit": {
"type": "number",
"minimum": 1,
"maximum": 100
},
"offset": {
"type": "number",
"minimum": 0,
"maximum": 10000
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
}
]
}
}API reference
Streamable HTTP JSON-RPC endpoint for remote MCP clients.
POST
/
mcp
Streamable HTTP JSON-RPC endpoint for remote MCP clients.
curl --request POST \
--url https://api.traxy.ai/api/v1/mcp \
--header 'Accept: <accept>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "<string>",
"id": "<string>",
"params": {}
}
'import requests
url = "https://api.traxy.ai/api/v1/mcp"
payload = {
"jsonrpc": "2.0",
"method": "<string>",
"id": "<string>",
"params": {}
}
headers = {
"Accept": "<accept>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Accept: '<accept>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({jsonrpc: '2.0', method: '<string>', id: '<string>', params: {}})
};
fetch('https://api.traxy.ai/api/v1/mcp', 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://api.traxy.ai/api/v1/mcp",
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([
'jsonrpc' => '2.0',
'method' => '<string>',
'id' => '<string>',
'params' => [
]
]),
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.traxy.ai/api/v1/mcp"
payload := strings.NewReader("{\n \"jsonrpc\": \"2.0\",\n \"method\": \"<string>\",\n \"id\": \"<string>\",\n \"params\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Accept", "<accept>")
req.Header.Add("Authorization", "Bearer <token>")
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://api.traxy.ai/api/v1/mcp")
.header("Accept", "<accept>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"jsonrpc\": \"2.0\",\n \"method\": \"<string>\",\n \"id\": \"<string>\",\n \"params\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.traxy.ai/api/v1/mcp")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Accept"] = '<accept>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"jsonrpc\": \"2.0\",\n \"method\": \"<string>\",\n \"id\": \"<string>\",\n \"params\": {}\n}"
response = http.request(request)
puts response.read_body{
"jsonrpc": "2.0",
"id": 2,
"result": {
"tools": [
{
"name": "traxy_get_workspace_access",
"title": "Get workspace access",
"description": "Return workspace access, usage, and capabilities for this connection.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
},
{
"name": "traxy_get_mcp_connection_status",
"title": "Get MCP connection status",
"description": "Return safe diagnostics for the authenticated MCP connection.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
},
{
"name": "traxy_get_agent_status",
"title": "Get agent status",
"description": "Return safe read-only status for the automated lead-finding agent.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
},
{
"name": "traxy_list_agent_candidates",
"title": "List agent candidates",
"description": "List candidate summaries for one Agent run, the latest Agent run, or the latest onboarding preview.",
"inputSchema": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"format": "uuid"
},
"source": {
"type": "string",
"enum": [
"latest_agent_run",
"latest_onboarding_preview"
]
},
"limit": {
"type": "number",
"minimum": 1,
"maximum": 100
},
"offset": {
"type": "number",
"minimum": 0,
"maximum": 10000
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
}
]
}
}Authorizations
Short-lived OAuth access token issued by traxy for the MCP resource.
Headers
Example:
"application/json, text/event-stream"
Use 2025-11-25 for current clients. 2025-06-18 remains supported for compatibility. The header may be omitted for legacy client compatibility; any supplied value must be supported.
Example:
"2025-11-25"
Browser origins must match CUSTOMER_API_MCP_ALLOWED_ORIGINS.
Body
application/json
Was this page helpful?
⌘I