8000 can postman request mcp server? · Issue #846 · modelcontextprotocol/python-sdk · GitHub
[go: up one dir, main page]

Skip to content
8000
can postman request mcp server? #846
Closed
@wenyuanliu

Description

@wenyuanliu

I want to debug my mcp server interface by postman request, Is it available?

When I try to request my MCP server through postman post method,the response is error like this:
{
"jsonrpc": "2.0",
"id": "server-error",
"error": {
"code": -32600,
"message": "Bad Request: Missing session ID"
}
}

my request body is:
{
"jsonrpc": "2.0",
"id": 1,
"method": "call_tool",
"params": {
"session_id": "test-session-1", // 这里必须有
"toolCalls": [
{
"name": "list_trace_files",
"arguments": {}
}
]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0