Align MCP setup with Codex JSON transport
This commit is contained in:
@@ -119,7 +119,7 @@ Call MCP tools through the JSON-RPC endpoint:
|
||||
```bash
|
||||
curl -sS http://127.0.0.1:4100/mcp \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H 'Accept: application/json, text/event-stream' \
|
||||
-H 'Accept: application/json' \
|
||||
-H 'MCP-Protocol-Version: 2025-06-18' \
|
||||
-H "Authorization: Bearer $TOKEN" \
|
||||
-d '{"jsonrpc":"2.0","id":"tools","method":"tools/list","params":{}}' | jq
|
||||
|
||||
Reference in New Issue
Block a user