Remote MCP
Manage your creators, links, and analytics from Claude or Codex over the Model Context Protocol. Every request is scoped to your agency by the API key.
1. Create an API key
In Settings → API keys, create a key. The token (ofm_…) is shown once — copy it. Read-only keys can view analytics but cannot edit or publish.
Endpoint: https://ofmlinks.com/api/mcp · Streamable HTTP · 500 calls/hour per key.
2. Connect your client
Claude Code
claude mcp add --transport http ofm-links https://ofmlinks.com/api/mcp \
--header "Authorization: Bearer ofm_your_key_here"Claude.ai (custom connector)
Settings → Connectors → Add custom connector (beta). Use:
URL: https://ofmlinks.com/api/mcp
Header: Authorization: Bearer ofm_your_key_hereCodex
Add to ~/.codex/config.toml, and export the key in your shell:
[mcp_servers.ofm-links]
url = "https://ofmlinks.com/api/mcp"
bearer_token_env_var = "OFM_LINKS_KEY"
# then: export OFM_LINKS_KEY=ofm_your_key_hereTools
19 tools. Write tools need a read/write key; publishing additionally needs an active plan.
| Tool | Access | Description |
|---|---|---|
| list_models | read | List your creators (id, slug, display_name, custom_domain). |
| get_model | read | Get a creator (by slug or uuid) with its master page + source links. |
| get_master_page | read | Get the master page row for a creator (by slug or uuid). |
| update_master_page | write | Patch a creator's main page. Source links inherit unset fields, so this propagates to every page. Re-lints and returns { updated_master, compliance }. |
| list_source_links | read | List all source links for a creator (by slug or uuid). |
| create_source_link | write | Create a source link for a creator. Starts unpublished, manual destination. |
| update_source_link | write | Patch a source link by id (slug, source, label, overrides). |
| delete_source_link | write | Delete a source link by id. |
| set_tracking_link | write | Attach a destination to a source link. mode 'manual' uses the url; 'auto' creates a LIVE OnlyFans tracking link. |
| check_compliance | read | Run the compliance linter for a creator's page or a source link (records to the audit trail). |
| publish | publish (needs plan) | Publish a source link — only goes live if compliance passes. Requires an active plan. Returns the compliance result. |
| unpublish | write | Take a source link offline. Always allowed. |
| get_analytics | read | Click/view analytics. Scope by model and/or source link; omit both for agency-wide. days defaults to 30. |
| get_conversions | read | OnlyFans-side conversions (subscribers/clicks/revenue) for a source link, or null if it has no OF tracking link. |
| get_dashboard | read | Full analytics payload (KPIs + deltas, funnel, ROI, per-source + leaderboard, geo/device) + rule insights. Scope by source_link_id, else model, else agency-wide. |
| sync_conversions | write | Pull OnlyFans tracking-link totals into the analytics store now. (Platform operators only.) |
| get_ai_insights | read | AI narrative cards grounded on the metrics + rule insights (cached 6h). Scope like get_dashboard. Returns [] without an AI key. |
| create_model | write | Create a new creator (model) in your agency, with a compliant-by-default main page. slug is 1-40 chars a-z 0-9 -. |
| get_domain_status | read | Custom-domain attach + DNS status for a creator (verified / misconfigured / required records). |