Endpoint
Setup
On first connection your client opens a browser to sign in with your Atomscale account, then caches a token for subsequent requests. Headless clients can authenticate with an API key instead (see Authentication).- Claude Code
- Claude Desktop / claude.ai
- Cursor
- Other
/mcp inside Claude Code to complete sign-in and list the tools.Authentication
- OAuth (default)
- API key (headless)
Interactive clients sign in through your browser on first connect. There’s nothing to configure — approve the access request and the client caches its token.
Tools
Your assistant chooses which tools to call. Write tools (marked below) prompt for confirmation in most clients before making changes.Streaming
Streams let an instrument or agent send timeseries data point-by-point instead of uploading a finished file.start_stream opens a stream with a fixed chunk size (points_per_chunk) and returns its data_id. Push points with push_stream_chunk, one call per channel per chunk:
- Every chunk must contain exactly
points_per_chunkpoints. Only the final chunk beforestop_streammay be shorter. Chunk length is not validated server-side, so a short chunk leaves a gap and an oversized chunk overwrites the start of the next slice. timestampsare unix epoch seconds and pair 1:1 withvalues.- Chunks may arrive out of order, and retrying a
(channel_name, chunk_index)pair replaces that slice, so retries are safe. - For multiple channels, call once per channel with the same
chunk_index.
stop_stream once all chunks are pushed to finalize the stream and trigger processing.
A
ping tool is also available for liveness checks and requires no authentication.