oneblink

Connect an AI agent

Oneblink exposes 36 tools over the Model Context Protocol. An agent can create campaigns, schedule posts, write comment automations, publish pages, and read leads and reports, without anyone opening the dashboard.

1. Create a token

Log in to Oneblink, open Akses AI, and create a token. Choose only the scopes the agent needs. The secret is shown once. A token can be revoked at any time, and revocation takes effect on the next call.

2. Point your agent at the endpoint

The transport is HTTP. The endpoint is:

https://app.oneblink.app/mcp

Authenticate with a bearer token:

Authorization: Bearer <your token>

For Claude Code:

claude mcp add --transport http oneblink https://app.oneblink.app/mcp \
  --header "Authorization: Bearer <your token>"

There is no published npm package yet, so there is no one-line npx installer. The HTTP endpoint above is live and is what the tools below are served from.

3. Scopes

Each token carries explicit scopes. A tool called without its scope returns scope_denied with the required scope named, rather than failing quietly.

workspace:read, connection:write, flow:read, flow:write, flow:simulate, page:read, page:write, page:publish, lead:read, analytics:read, campaign:read, campaign:write, campaign:publish

4. The tools

ToolWhat it does
analytics_get_funnelRead the measured funnel, with unmeasured metrics returned as null
audit_listRead the audit trail of changes in the workspace
campaign_cancelCancel a scheduled campaign before it publishes
campaign_createCreate a campaign: media, caption, schedule, automation and page in one object
campaign_getRead one campaign
campaign_listList campaigns
campaign_reportRead the evidence-based report for one campaign
campaign_retry_automationRetry binding the automation after a publish
campaign_scheduleSchedule a campaign to publish at a given time
campaign_set_automationAttach or change the automation on a campaign
campaign_updateUpdate a campaign draft
connection_disconnectDisconnect a social account and delete its stored token
connection_listList connected accounts and their health
connection_startStart the OAuth flow to connect an account
conversation_listRead conversations and their current step
flow_createCreate an automation: trigger, keyword, messages, destination
flow_getRead one automation
flow_listList automations
flow_set_liveTurn real sending on or off for an automation
flow_set_statusSet an automation to draft, active, paused or archived
flow_simulateRun the whole conversation in simulation, sending nothing
flow_updateUpdate an automation, creating a new version
flow_version_getRead one historical version of an automation
flow_versions_listList versions of an automation
lead_exportExport leads as CSV
lead_listList leads with their consent records
media_getRead one uploaded media asset
media_listList uploaded media assets
page_create_draftCreate a public page draft
page_getRead one page
page_listList pages
page_previewGet a signed preview of a page version
page_publishPublish a reviewed page version
page_update_draftUpdate a page draft
simulation_getRead a simulation run and its history
workspace_getRead the workspace and the scopes of the current token

Honest limits