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 approximately 54 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"; the MCP tools retain the distribution naming.

ToolOperation
get_distributionRetrieve promotion by ID
list_distributionsList promotions with filters
create_distributionCreate new promotion
update_distributionUpdate existing promotion
delete_distributionDelete promotion
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

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.