body
필수 사항
JSON-RPC 메시지( 프로젝트 런타임에 있는 그대로 전달됨)
MCP(Model Context Protocol) 요청 프로젝트의 메모리 도구 서버 로 전달합니다. 프로젝트 범위는 경로 ID 경로 매개 변수에 의해 전달되며 조직은 해당 프로젝트 에서 파생됩니다. 본문은 단일 JSON-RPC 메시지입니다. JSON-RPC 배치 요청이 거부됩니다. 업스트림 응답은 그대로 다시 프록시됩니다.
curl \
--request POST 'https://agentengine.mongodb.com/api/v1/projects/{id}/mcp' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json"
curl \
--request POST 'https://agentengine.mongodb.com/api/v1/projects/{id}/mcp' \
--header "Authorization: $API_KEY" \
--header "Content-Type: text/plain"
{}
{}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}