Hi
Im trying to build a custom Rovo Mcp client using it's API endpoint, this is the request I send to initialize the MCP session
URI: https://mcp.atlassian.com/v1/mcp
Headers:
Accept: application/json, text/event-stream
Cache-Control: no-cache
Content-type: application/json
MCP-Protocol-Version: 2025-06-18
Authorization: Bearer <My Oauth token>
Body:
{
"jsonrpc" : "2.0",
"method" : "initialize",
"id" : "<my ID>",
"params" : {
"protocolVersion" : "2025-06-18",
"capabilities" : { },
"clientInfo" : {
"name" : "agentscope-java",
"title" : "AgentScope Java Framework",
"version" : "1.0.9"
}
}
}
The response shows it is not a valid initialize request
Status Code:
400
Body:
{"jsonrpc":"2.0","error":{"code":-32600,"message":"Request must be an initialize request if no session ID is provided."}}
The request I sent to mcp server is constructed by agentScope framework, which utilize following maven package to encapsulate the request
<dependency>
<groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp</artifactId>
<version>0.17.0</version>
<scope>compile</scope>
</dependency>
Is there anything missing for my initialize request? Much appreciate for your suggestions.