1
0
Fork 0
mirror of https://github.com/imjasonh/mamba synced 2026-07-07 00:42:25 +00:00
mamba/test_mcp_capabilities.sh
Jason Hall 7d05d40e04
initial commit
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-07-14 09:51:37 -04:00

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"