Skip to content

Instantly share code, notes, and snippets.

@melvincarvalho
Created February 2, 2025 07:46
Show Gist options
  • Save melvincarvalho/25674f27465f89f84df8a94902bbd059 to your computer and use it in GitHub Desktop.
Save melvincarvalho/25674f27465f89f84df8a94902bbd059 to your computer and use it in GitHub Desktop.
mcp-log.json
Connected to server.
Sending request: {
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"capabilities": {}
}
}
Received response: {
"jsonrpc": "2.0",
"id": 1,
"result": {
"capabilities": {
"tools": {
"echo": {
"description": "Echo tool"
}
}
},
"serverInfo": {
"name": "Simple MCP Server",
"version": "1.0.0"
}
}
}
Sending request: {
"jsonrpc": "2.0",
"id": 2,
"method": "echo",
"params": {
"message": "Hello, MCP!"
}
}
Received response: {
"jsonrpc": "2.0",
"id": 2,
"result": {
"echoed": {
"message": "Hello, MCP!"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment