Docs

MCP tokens reference

Technical reference for Boki MCP server tokens

MCP tokens reference

Technical specification for Boki's MCP server and personal access tokens.

Boki supports two authentication methods for MCP clients:

  • OAuth — For ChatGPT and Claude. See How to connect ChatGPT or Claude.
  • Personal access tokens (PAT) — For Cursor and clients that need a Bearer token. Documented below.

Server endpoint

PropertyValue
URLhttps://app.boki.io/api/mcp
ProtocolMCP (Model Context Protocol)
AuthenticationBearer token

Token specification

Format

boki_pat_[unique_identifier]

Tokens always start with the boki_pat_ prefix.

Properties

PropertyValue
Prefixboki_pat_
LengthVariable
Character setAlphanumeric
Case sensitiveYes
Expiration30 days from creation

Security

  • Tokens are shown once at creation
  • Boki does not store the full token after display
  • Tokens cannot be retrieved after creation
  • Tokens can be revoked at any time

Available tools

The MCP server exposes tools across these scopes:

Articles scope

ToolOperation
get_articleRetrieve article by ID
list_articlesList articles with filters
post_articleCreate new article
update_articleUpdate existing article
delete_articleDelete article
export_article_markdownExport article as Markdown

Briefs scope

ToolOperation
get_briefRetrieve brief by ID
list_briefsList briefs with filters
post_briefCreate new brief
update_briefUpdate existing brief
delete_briefDelete brief

Plans scope

ToolOperation
get_planRetrieve plan by ID
list_plansList plans with filters
create_planCreate new plan
update_planUpdate existing plan
delete_planDelete plan

Social posts scope

ToolOperation
get_social_postRetrieve social post by ID
list_social_postsList social posts with filters
create_social_postCreate new social post
update_social_postUpdate existing social post
delete_social_postDelete social post
list_social_connectionsList connected social accounts

Promotions scope

The UI calls this feature "Promotions"; some MCP tools still use distribution in their names.

ToolOperation
get_distributionRetrieve promotion by ID
list_distributionsList promotions with filters
create_distributionCreate new promotion
update_distributionUpdate existing promotion
delete_distributionDelete promotion
list_promotion_tasksList tasks on a promotion
create_promotion_taskCreate a promotion task
update_promotion_taskUpdate a promotion task
delete_promotion_taskDelete a promotion task
list_promotion_commentsList comments on a promotion
add_promotion_commentAdd a comment to a promotion
list_promotion_activitiesList activity on a promotion
create_promotion_postCreate a promotion post
update_promotion_postUpdate a promotion post
delete_promotion_postDelete a promotion post
override_promotion_post_metricsOverride post engagement metrics
reset_promotion_post_metricsReset post engagement metrics

Reports scope

ToolOperation
list_reportsList promotion reports
get_reportRetrieve a promotion report
create_reportCreate a promotion report
update_reportUpdate a promotion report
delete_reportDelete a promotion report
list_report_promotionsList promotions on a report
list_report_commentsList comments on a report
add_report_commentAdd a comment to a report
list_report_activitiesList activity on a report
preview_report_performancePreview report performance
ToolOperation
get_shortlinkRetrieve short link by ID
list_shortlinksList short links with filters
create_shortlinkCreate new short link
update_shortlinkUpdate existing short link
delete_shortlinkDelete short link

Experts scope

ToolOperation
get_expertRetrieve expert by ID
list_expertsList experts with filters
create_expertCreate new expert
update_expertUpdate existing expert
delete_expertDelete expert

Insights scope

ToolOperation
get_insightRetrieve insight by ID
list_insightsList insights with filters
create_insightCreate new insight
update_insightUpdate existing insight
delete_insightDelete insight

Components scope

ToolOperation
create_mdx_componentCreate MDX component
delete_mdx_componentDelete MDX component

Comments scope

Inline comments can be added and listed across articles, briefs, and plans.

ToolOperation
add_article_inline_commentAdd inline comment to article
list_article_commentsList comments on an article
add_brief_inline_commentAdd inline comment to brief
list_brief_commentsList comments on a brief
add_plan_inline_commentAdd inline comment to plan
list_plan_commentsList comments on a plan

Workspace scope

ToolOperation
get_workspace_contextGet workspace context
get_brand_voiceGet brand voice settings
update_brand_voiceUpdate brand voice
ensure_brand_voiceEnsure brand voice exists

Read-only workspace data

Authorized MCP clients can read saved results from the workspace. These tools do not start SEO analyses, run reviews, or insert links.

DataWhat clients can read
Saved SEOGuidelines, analyses, competitor evidence, and article audits
Article SEOInternal-link suggestions from accessible articles
ReviewsLatest technical and marketing document reviews
Promotions and socialPromotion and social post metrics
Short linksClick totals and traffic breakdowns

Required scopes

ScopeGrants
seo:readSaved SEO guidelines, analyses, competitor evidence, and article audits
articles:readRequired with seo:read for article SEO and internal-link suggestions
reviews:readSaved technical and marketing reviews

Existing connections need tokens that include these scopes. Generate a new token in Settings → Connections → MCP if an older token cannot read this data.

Manage tokens from Settings → Connections → MCP. MCP server and token management moved here from Agents.

Authentication

Request format

Include the token in the Authorization header:

Authorization: Bearer boki_pat_xxxxxxxxxxxx

Error responses

StatusMeaning
401Token missing or invalid
403Token valid but insufficient permissions
410Token expired or revoked

Rate limits

Rate limits apply per token. Limits vary by plan tier.