Skip to main content
Glama

MCPDB - Database Access MCP Server

by jantuitman
test-bridge.sh1.13 kB
#!/bin/bash # Test script for the MCP bridge cd /Users/jantuitman/develop/mcpdb echo "Testing MCP Bridge with multiple requests..." # Create a named pipe for two-way communication mkfifo /tmp/mcp_pipe # Start the bridge in background ./mcp-bridge.sh < /tmp/mcp_pipe > /tmp/mcp_responses & BRIDGE_PID=$! # Give bridge time to start sleep 1 echo "1. Testing initialize..." echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{"tools":{}},"clientInfo":{"name":"Bridge Test","version":"1.0.0"}}}' > /tmp/mcp_pipe sleep 1 echo "2. Testing tools/list..." echo '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' > /tmp/mcp_pipe sleep 1 echo "3. Testing add function..." echo '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"add","arguments":{"x":5,"y":3}}}' > /tmp/mcp_pipe sleep 1 # Close the pipe and wait for bridge to finish exec 3>/tmp/mcp_pipe exec 3>&- wait $BRIDGE_PID echo "Bridge responses:" cat /tmp/mcp_responses # Cleanup rm -f /tmp/mcp_pipe /tmp/mcp_responses echo "Test complete. Check /tmp/mcp-bridge.log for detailed logs."

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jantuitman/mcpdb'

If you have feedback or need assistance with the MCP directory API, please join our Discord server