Skip to main content
Glama
test_with_curl.txt632 B
# Test Commands: # 1. Test the auth endpoint (should work now): curl -X POST "https://mcp-server-production-110a.up.railway.app/auth/generate-token" \ -H "Content-Type: application/json" \ -d '{}' # 2. Test the new public endpoint: curl -X POST "https://mcp-server-production-110a.up.railway.app/generate-token" \ -H "Content-Type: application/json" \ -d '{}' # Expected Response (200 OK): { "access_token": "1001:xxxxxx:xxxxxxx", "token_type": "bearer", "expires_in": 3600, "generated_for": "external_service", "created_at": "2025-11-04T19:12:xx.xxx" } # If you get 422 error, then Railway still has old code running.

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/Pritrj/mcp-server'

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