Skip to content

Direct API

  1. Get your bearer token. Bearer tokens are provided for API integrations. Find yours on your Settings page (opens in new tab) in the Valency app.

  2. Check server health:

    Terminal window
    curl -s https://mcp.valency.io/health

    Should return a health check response.

  3. Authenticate with your token:

    Terminal window
    curl -s -X POST \
    -H "Authorization: Bearer YOUR_TOKEN" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json, text/event-stream" \
    -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' \
    https://mcp.valency.io/

    Should return a JSON response with server capabilities.


Health check fails?

Token rejected?

  • Verify your token is correct and hasn't expired
  • Contact support@valency.io for a new token

Need help? Email: support@valency.io