mirror of
https://github.com/imjasonh/mamba
synced 2026-07-07 00:42:25 +00:00
13 lines
No EOL
587 B
Bash
Executable file
13 lines
No EOL
587 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Test script to check MCP server capabilities
|
|
|
|
echo "Testing MCP server initialization and capabilities..."
|
|
|
|
# Send initialize request and check response
|
|
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{"roots":{"listChanged":false}},"clientInfo":{"name":"test-client","version":"1.0.0"}}}' | ./cmd/josh/josh mcp 2>/dev/null | jq '.'
|
|
|
|
echo -e "\n\nThe server should now report capabilities for:"
|
|
echo "- tools (with listChanged: false)"
|
|
echo "- logging"
|
|
echo "- And include recovery middleware for error handling" |