Skip to main content
OneRep speaks the Model Context Protocol, which lets an AI assistant read your training and nutrition log and — if you allow it — add to it. You use the same API keys, the same scopes, and the same rate limits as the REST API, so there is nothing new to provision. The endpoint is a single POST URL that your assistant calls to discover tools and invoke them.

Endpoint and protocol

Your MCP endpoint is:
Find your exact URL under Settings → API & MCP in the app. Copy it from there — do not assemble it by hand.

Authentication

Pass your API key as a bearer token in every request:
You create and manage keys under Settings → API & MCP. Each key is either Read only (scope: read) or Read & write (scope: write). Scopes, rate limits, and key management work the same way here as they do for the REST API.
A read-only token lists only 5 tools — the read tools. The 6 write tools are hidden from it entirely, and calling one directly is refused. If tools/list returns only 5 entries, you have a read-only token. Create a read & write token to unlock all 11 tools.

Connecting an AI assistant

Run this command once to register OneRep as an MCP server. Replace the URL with your deployment URL and the key with your API key.

Quick connection test

To confirm the endpoint is reachable and your token is valid, call tools/list directly:
A working response lists the tools available to your token. A missing or revoked token returns a 401 with a WWW-Authenticate header — it does not return an empty list — so a misconfigured client will tell you immediately rather than silently appearing to be an empty account.