Created
January 24, 2026 13:35
-
-
Save wullemsb/93a644f3d01b1548ddf49a685c78a521 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Variables | |
| @baseUrl = http://localhost:3000 | |
| @contentType = application/json | |
| ### Initialize MCP Session | |
| POST {{baseUrl}}/mcp/initialize | |
| Content-Type: {{contentType}} | |
| { | |
| "jsonrpc": "2.0", | |
| "id": 1, | |
| "method": "initialize", | |
| "params": { | |
| "protocolVersion": "2024-11-05", | |
| "capabilities": { | |
| "roots": { | |
| "listChanged": true | |
| } | |
| }, | |
| "clientInfo": { | |
| "name": "test-client", | |
| "version": "1.0.0" | |
| } | |
| } | |
| } | |
| ### List Available Tools | |
| POST {{baseUrl}}/mcp/tools/list | |
| Content-Type: {{contentType}} | |
| { | |
| "jsonrpc": "2.0", | |
| "id": 2, | |
| "method": "tools/list" | |
| } | |
| ### Call a Tool | |
| POST {{baseUrl}}/mcp/tools/call | |
| Content-Type: {{contentType}} | |
| { | |
| "jsonrpc": "2.0", | |
| "id": 3, | |
| "method": "tools/call", | |
| "params": { | |
| "name": "get_weather", | |
| "arguments": { | |
| "location": "San Francisco, CA" | |
| } | |
| } | |
| } | |
| ### List Resources | |
| POST {{baseUrl}}/mcp/resources/list | |
| Content-Type: {{contentType}} | |
| { | |
| "jsonrpc": "2.0", | |
| "id": 4, | |
| "method": "resources/list" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment