Render a chart image for an MCP response
Request and response shapes
Input shape
{ render?: { includeLaunchUrl?: boolean; includePngUrl?: boolean; theme?: 'auto' | 'classic' | 'dark' } }Output shape
{ render: { launchUrl: string; pngUrl?: string; tokenExpiresAt: string } }Examples
Request example
{
"dateTimeUtc": "2026-07-09T18:00:00Z",
"latitude": 39.7392,
"longitude": -104.9903,
"render": {
"includeLaunchUrl": true,
"theme": "dark"
}
}Response example
{
"render": {
"launchUrl": "https://mcp.astrotechne.com/chart/play",
"tokenExpiresAt": "2026-07-09T18:15:00Z"
}
}Common validation errors
- Expired or tampered render tokens fail closed.
- Query-string render tokens are not accepted.
Related questions
- chart image URL
- host cannot embed chart
- render token expiry