MCP Access
Reportkey provides an experimental MCP bridge for automation tools that prefer the Model Context Protocol instead of direct REST calls.
Current status
- Status: preview
- Base URL:
https://api.reportkey.net - Auth: the same personal access tokens and scopes as direct REST usage
- Scope: public
/api/v1/routes only
What the bridge exposes today
account_meprojects_listproject_getproject_reports_listreport_getproject_jobs_listjob_getgeneration_job_getgeneration_job_startexport_job_getexport_job_start
The bridge does not expose token management, billing actions, or binary file proxying. For completed exports it returns the same artifact.download_url metadata that the public API already provides.
Auth and behavior
- Configure the bridge with
REPORTKEY_API_BASE_URLandREPORTKEY_API_TOKEN. - Use the same bearer tokens and scopes as direct REST consumers.
- The same access rules, limits, and error codes apply as in REST.
- Errors such as
authentication_required,invalid_token,api_access_required,rate_limit_exceeded,quota_exceeded, andapi_controls_unavailablecan surface through MCP tool errors.
Bridge configuration
- Public API host:
https://api.reportkey.net
Example:
REPORTKEY_API_BASE_URL="https://api.reportkey.net" \
REPORTKEY_API_TOKEN="rkpat_yourpublicid.yoursecret" \
npm --prefix mcp/reportkey-public-api-bridge run start
Current limitations
- The public API remains the source of truth for automation behavior.
- Binary export downloads are still consumed through the returned download URL.
- Preview tooling may change before general availability.