Skip to content
All docs

MCP server

Credential: OAuth or API token

BirchSeek serves a Model Context Protocol server at https://api.birchseek.com/v1/mcp. An agent connected to it can research keywords, start a pipeline run, approve each gate and publish.

Endpoint Transport Protocol revisions
https://api.birchseek.com/v1/mcp Streamable HTTP 2025-03-26 to 2025-11-25
https://api.birchseek.com/v1/mcp/sse HTTP with SSE 2024-11-05

Connect a client

Add the server URL https://api.birchseek.com/v1/mcp to your client. The client opens BirchSeek in your browser. Sign in, choose the scopes, and click Allow. You do not copy a token. The steps for each client are below.

The consent page shows the address your browser goes back to. Make sure that it belongs to the app you connect.

The connection shows in Settings → Account → API tokens as a connected app. Disconnect ends it within a minute. Access tokens last one hour, and the client refreshes them. A connection that is not used for 90 days ends. An account can connect 20 apps.

Claude on the web and Claude Desktop

  1. Open Settings → Connectors and click Add custom connector.
  2. Name it BirchSeek and paste https://api.birchseek.com/v1/mcp as the URL.
  3. Click Connect, sign in to BirchSeek and click Allow.

On a Team or Enterprise plan, an owner adds the connector first. Then each member connects it.

Claude Code

claude mcp add --transport http birchseek https://api.birchseek.com/v1/mcp

Run /mcp in Claude Code, select birchseek and sign in. To use an API token, add --header "Authorization: Bearer bsk_mcp_…" to the command.

ChatGPT

  1. Open Plugins, select +, then Add custom MCP server.
  2. Name it BirchSeek. Under Connection, enter https://api.birchseek.com/v1/mcp. Choose OAuth.
  3. Accept the warning and select Create as a plugin.
  4. Sign in to BirchSeek and click Allow.

ChatGPT Business and Enterprise get every tool. On Pro, ChatGPT uses only the read tools. On Business, only admins and owners can add a custom MCP server.

Cursor

Add BirchSeek to Cursor. The link opens Cursor with the server filled in. Click Install, then Connect next to birchseek in Settings → MCP to sign in.

Or add it to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "birchseek": {
      "url": "https://api.birchseek.com/v1/mcp"
    }
  }
}

VS Code

Install BirchSeek in VS Code. Or run:

code --add-mcp '{"name":"birchseek","type":"http","url":"https://api.birchseek.com/v1/mcp"}'

Or add it to .vscode/mcp.json in your workspace:

{
  "servers": {
    "birchseek": {
      "type": "http",
      "url": "https://api.birchseek.com/v1/mcp"
    }
  }
}

Start the server from the file or the MCP Servers view, sign in, then use the tools in Copilot Chat agent mode.

Codex CLI

codex mcp add birchseek --url https://api.birchseek.com/v1/mcp
codex mcp login birchseek

The second command opens the sign-in page. To use an API token, put it in an environment variable and add this to the server’s table in ~/.codex/config.toml:

[mcp_servers.birchseek]
url = "https://api.birchseek.com/v1/mcp"
bearer_token_env_var = "BIRCHSEEK_MCP_TOKEN"

Gemini CLI

gemini mcp add --transport http birchseek https://api.birchseek.com/v1/mcp

Then run /mcp auth birchseek in Gemini CLI to sign in. The entry it writes to ~/.gemini/settings.json is:

{
  "mcpServers": {
    "birchseek": {
      "httpUrl": "https://api.birchseek.com/v1/mcp"
    }
  }
}

Windsurf

In Cascade’s MCP menu, select Open MCP config file, and add:

{
  "mcpServers": {
    "birchseek": {
      "serverUrl": "https://api.birchseek.com/v1/mcp"
    }
  }
}

Save and refresh the server list. If no sign-in page opens, add "headers": { "Authorization": "Bearer bsk_mcp_…" } with an API token.

Other clients

A client that speaks Streamable HTTP takes https://api.birchseek.com/v1/mcp. A client that speaks only HTTP with SSE takes https://api.birchseek.com/v1/mcp/sse and an API token in the Authorization header (next section). A client that cannot sign in takes an API token on either URL.

Connect with an API token

Use an API token for an agent that runs without a person, such as a script or a scheduled job.

Settings → Account → API tokens. Name it, pick its scopes, pick an expiry, create.

The secret looks like bsk_mcp_… and is shown once. BirchSeek stores only its hash. Revoking a token ends every session holding it within a minute.

{
  "mcpServers": {
    "birchseek": {
      "type": "sse",
      "url": "https://api.birchseek.com/v1/mcp/sse",
      "headers": { "Authorization": "Bearer bsk_mcp_…" }
    }
  }
}

The token goes in the Authorization header. There is no query-string fallback. The same header works on the Streamable HTTP endpoint, https://api.birchseek.com/v1/mcp.

To check a connection by hand:

curl -N https://api.birchseek.com/v1/mcp/sse -H "authorization: Bearer $TOKEN"
# event: endpoint
# data: /v1/mcp/messages?sessionId=0199f0c8-…

The first frame is always the endpoint event. Post JSON-RPC frames to that path; answers arrive on the stream.

Token scopes

Scope Grants
projects:read Projects, connectors, internal links, calendar
projects:write Create, configure and delete projects, connectors, links, reports
pipeline:read Runs, articles, scores, claims
pipeline:write Start, retry and cancel runs; keyword research; edit drafts; resolve claims
approve Approve and reject the topic, brief and draft gates
publish Publish and reschedule articles
team Invite, re-role and remove team members; leave a team

A new token has publish and team off unless you tick them. The consent page ticks the scopes the app asks for, or the default set when it asks for none. A token without publish can take an article to the publish gate and no further.

MCP tools

Tool Scope Does
list_projects projects:read Your projects
get_project projects:read Readiness: connectors, links, context docs, quota
create_project projects:write New project, with an optional sitemap crawl
list_connectors projects:read Publishing connectors and their status
list_internal_links projects:read Link inventory, suggested and approved
approve_internal_links projects:write Approve suggested links so articles can use them
get_calendar projects:read Scheduled publishes and due refreshes
get_ai_visibility projects:read How often AI engines name your brand, and gaps
list_placements projects:read Off-domain placements: hosts, pieces, listings
research_keywords pipeline:write Start keyword discovery
list_opportunities pipeline:read Ranked keyword opportunities
start_pipeline_run pipeline:write Start a run from an opportunity, a topic, or nothing
get_pipeline_run pipeline:read Run state plus next_action
list_pipeline_runs pipeline:read Runs for a project
approve_gate approve Approve the pending gate by name
reject_gate approve Reject it with a note
publish_article publish Resolve the publish gate and ship
retry_pipeline_run pipeline:write Retry from the failed step
cancel_pipeline_run pipeline:write Cancel a run
dismiss_pipeline_run pipeline:write Hide a failed run from the board, or restore it
reschedule_publish publish Move a scheduled publish
list_articles pipeline:read Articles by text, state and date, in pages
get_article pipeline:read Metadata, scores, sections, body
get_article_claims pipeline:read Every claim and its verification state
update_article_body pipeline:write Replace the body; returns fresh scores
update_article_meta pipeline:write Change title, meta title, meta description or slug
regenerate_section pipeline:write Rewrite one section
resolve_claim pipeline:write Cut a claim or replace its source
set_article_cover_image pipeline:write Your own featured image, by URL or base64
add_article_inline_image pipeline:write Your own image under a section
check_seo_score pipeline:read Score pasted HTML or Markdown (free, 200 a day)
suggest_headlines pipeline:write Five title options (free, 50 a day)
list_templates projects:read Content templates for start_pipeline_run
suggest_edit pipeline:write AI rewrite of one passage (1 credit)
get_edit_suggestion pipeline:read A suggestion and its claim check
resolve_edit_suggestion pipeline:write Accept or reject a suggestion
get_autopilot projects:read Autopilot cadence and upcoming slots
update_autopilot projects:write Change the cadence, or turn autopilot on or off
queue_opportunities projects:write Add keywords to the autopilot queue
create_schema_report pipeline:write JSON-LD for any page, with entities (5 credits)
list_schema_reports pipeline:read A project’s schema reports
get_schema_report pipeline:read Markup, entities, key phrases, missing entities
update_schema_report pipeline:write Change roles, description, page type or the markup
write_entity_content pipeline:write Passages that add missing entities (1 credit)
get_article_schema pipeline:read The JSON-LD an article publishes with
update_article_schema pipeline:write An article’s entity roles and page type
analyze_article_entities pipeline:write Find an article’s entities again (free)

Manage projects

These tools do what the dashboard’s settings do, with the same checks, plan limits and credit costs. A team member’s token acts with that member’s role.

Tool Scope Does
update_project projects:write Change name, site URL or settings
delete_project projects:write Delete a project; needs its exact name
get_context_document projects:read Read a brand context document
put_context_document projects:write Replace a brand context document
list_project_members projects:read Who can see a project, with roles
create_connector projects:write Add a connector
get_webhook_contract projects:read What a webhook receiver must implement
update_connector projects:write Change a connector; a new secret is write-only
delete_connector projects:write Remove a connector
test_connector projects:write Check the connector reaches its destination
add_internal_link projects:write Add a page by hand (approved at once)
update_internal_link projects:write Edit a link, or deactivate it
reject_internal_links projects:write Delete links you do not want
import_internal_links projects:write Crawl the sitemap for suggestions
get_link_import projects:read Status of the latest sitemap import
get_search_console projects:read Property, connection, and the next step
list_search_console_properties projects:read Your verified properties
set_search_console_property projects:write Choose the property a project reads
sync_search_console projects:write Sync now (once an hour)
query_search_console projects:read Ask Search Console now (60 an hour)
list_refresh_schedules projects:read Refresh schedules of published articles
create_refresh_schedule pipeline:write Schedule a refresh, once or on a cadence
update_refresh_schedule pipeline:write Move a schedule or change its cadence
cancel_refresh_schedule pipeline:write Take a schedule off the calendar
get_ai_visibility_settings projects:read Tracking settings, prompts and recent runs
update_ai_visibility_settings projects:write Turn tracking on or off, brands, engines
add_ai_visibility_prompt projects:write Track a prompt
update_ai_visibility_prompt projects:write Reword or archive a prompt
get_ai_visibility_answers projects:read Each engine’s latest answer to a prompt
run_ai_visibility pipeline:write Ask every prompt now (5 credits per prompt)
create_template projects:write Create a template
update_template projects:write Replace one of your templates
delete_template projects:write Delete one of your templates
pin_template projects:write Pin a template to a project, or unpin
create_client_report projects:write Create a client report and its share link
update_client_report projects:write Change a report’s settings
revoke_client_report projects:write Stop a report’s link working
get_team team Your team, invites and the teams you are in
invite_team_member team Invite someone with a role
update_team_member team Change a member’s role or projects
remove_team_member team Remove a member
revoke_team_invite team Withdraw a pending invite
leave_team team Leave a team you belong to
get_billing_summary projects:read Plan, credits, websites, run cap
list_credit_ledger projects:read Every credit grant, charge and refund
get_notification_preferences projects:read How gate emails reach you
set_notification_preferences projects:write Digest, instant or off
list_api_tokens projects:read Your tokens (never a secret)
revoke_api_token projects:write Revoke one of your tokens
get_schema_profile projects:read Organization, local business, authors, markup
update_schema_profile projects:write Change the schema profile
generate_service_area projects:write Towns and postal codes near you (Agency, 3 cr)

start_pipeline_run takes reference_url (a page whose structure and tone the brief follows) and instructions (at most 2,000 characters, this run only). create_project and update_project take language, the article language as a BCP 47 tag such as de or pt-BR.

update_project can set settings.gates (who approves each gate) only with a token of the project’s owner or an admin. Brief takes manual, ai or auto; draft and publish take manual or ai; topic is always manual.

Some things stay in the dashboard: connecting Google (a consent screen), minting tokens, and billing. No tool returns a secret you gave. The one secret a tool returns is a new webhook connector’s signing secret: create_connector shows it once, like the dashboard does. Put it in your receiver at once; get_webhook_contract says how to verify each delivery with it.

query_search_console reads the property the project is bound to, live from Google: rows by query, page, country, device or date, with filters, for up to the last 16 months. get_site_analytics reads the stored daily copy instead and costs no Google quota.

set_article_cover_image and add_article_inline_image take an https url (10 MB at most; BirchSeek reads it once and keeps its own copy) or base64 data (3 MB at most). PNG, JPEG and WebP are saved as WebP. An article has 3 in-article images at most.

Nine birchseek:// resource templates cover projects, runs and articles; birchseek://runs/{id} and birchseek://articles/{id} are subscribable. Three prompts ship with the server: publish_one_article, triage_review_queue, plan_content_batch.

The approval loop

Every run has four gates, and an agent has to resolve all four. Address them by name. A run you start over MCP does not email its gates to the account owner: it is yours to drive. Its started_via is mcp.

Gate Payload Rejecting
topic_approval {opportunity_id} cancels the run
brief_approval {}, or {section_plan, meta_options} to edit re-runs research with your note
draft_review {} re-runs drafting with your note
publish_approval {connector_id, publish_date?, slug_override?} cancels the run

get_pipeline_run returns a next_action naming the one move to make:

next_action.kind Move
wait Poll again, or subscribe to the run resource
approve_gate Approve, using the payload schema in the answer
resolve_claims get_article_claims, then resolve_claim
edit_draft regenerate_section or update_article_body
retry_run retry_pipeline_run
blocked Credits or subscription; the answer says which
done Stop

A recovering run answers wait with next_attempt_at: BirchSeek retries the failed step by itself. A run whose gate the AI editor is reviewing also answers wait. Runs you start over MCP never go to the AI editor; their gates are yours. A failed run’s run.failure gives its class: input (fix the cause, then retry) or hard (no draft is offered; a retry searches and fetches again).

draft_review refuses until every planned section has text and the final edit ran, the content score is 70 or higher, the SEO score is 80 or higher, and there are no critical SEO issues or unresolved claims. next_action lists the failing checks before you try, and a refused approval returns them one per line.

An approval made with a token is recorded as yours, tagged with the token.

Publishing

publish_article needs the publish scope and a connector whose status is ok. Test the connector first (GitHub, WordPress, Ghost, Webflow, Shopify, Wix, Notion, GoHighLevel, webhook).

A publish_date in the future schedules the publish instead of shipping it now. Omit it to publish immediately.

Limits

  • 600 tool calls per hour, per token.
  • 2 active runs per account. A run is charged in credits before research starts: your plan’s credits for the period first, then any top-up credits. See credit costs.
  • 5 keyword research runs per project per day; 3 sitemap imports per project per day.
  • 4 concurrent sessions per token; a session with no traffic for 10 minutes closes.

Troubleshooting

  • 401 on connect - the bearer is missing, revoked or expired, or is a dashboard sign-in token rather than a bsk_mcp_ token. An OAuth client signs in again.
  • 403 on connect - a browser Origin header that is not https://birchseek.com. Non-browser clients send no Origin and are fine.
  • 403 on a message - the sessionId belongs to a different token. Open your own stream.
  • -32001 - a request arrived before notifications/initialized. Finish the handshake.
  • gates_not_green - the draft is below the bar. The message lists every failing check.
  • too_many_active_runs - two runs are already open. Finish or cancel one.
  • quota_exceeded - your plan’s credits for the period, and any top-up credits, are spent. Parked runs resume when the next period opens.