Skip to main content
Glama
pshempel

MCP Time Server Node

by pshempel
test-rate-limit.sh592 B
#!/bin/bash # Test rate limiting with rapid requests echo "=== Testing Rate Limiting ===" echo "Sending 10 rapid requests with RATE_LIMIT=5..." echo # Set low rate limit for testing export RATE_LIMIT=5 export RATE_LIMIT_WINDOW=1000 # Send 10 requests rapidly for i in {1..10}; do echo -n "Request $i: " echo '{"jsonrpc":"2.0","method":"tools/call","id":'$i',"params":{"name":"get_current_time","arguments":{}}}' | \ node dist/index.js 2>/dev/null | head -n 1 | \ grep -o '"result":\|"error":[^}]*}' | head -n 1 done echo echo "=== Rate limiting test completed ==="

Latest Blog Posts

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/pshempel/mcp-time-server-node'

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