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.

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 48 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

Distributions scope

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

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.