MCP event stream
curl --request GET \
--url https://api.altrum.ai/mcp \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.altrum.ai/mcp"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.altrum.ai/mcp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<string>MCP
MCP event stream
Opens the server-sent event stream an MCP client listens on.
GET
/
mcp
MCP event stream
curl --request GET \
--url https://api.altrum.ai/mcp \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.altrum.ai/mcp"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.altrum.ai/mcp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<string>Authorizations
bearerapiKeygoogleApiKeyaltrumKey
Your virtual key, sk-alt-.... What every OpenAI and Anthropic SDK sends.
Headers
Your own reference for the request. Altrum uses it instead of making one, and returns it.
Response
200 - text/event-stream
The event stream.
The response is of type string.