inseeqdocs
Go to App

MCP Server API Reference

Connect AI agents to your inseeq organization using the Model Context Protocol (MCP).

Authentication

All requests require a valid API key passed as a Bearer token in the Authorization header.

Generate your API key in the inseeq app at Settings → API Key. The key is shown once at creation — copy and store it securely.

Authorization header
Authorization: Bearer inseeq_your_api_key_here

Your API key is scoped to your organization. All operations are automatically filtered to your org's data.

Endpoint

The MCP server accepts JSON-RPC requests over HTTP POST. It follows the Model Context Protocol specification with Streamable HTTP transport.

Endpoint
POST https://mcp.inseeq.com/mcp
Content-Type: application/json
Authorization: Bearer inseeq_your_api_key_here

The server operates in stateless mode — each request is independent. No session management is required.

Permissions

Your API key grants access to the following capabilities:

CapabilityAccess
Read organization & brand profileAllowed
List, read, create, update articlesAllowed
Change article statusAllowed
List, add, resolve commentsAllowed
Read context (knowledge base)Allowed
Read performance metrics & goalsAllowed
Upload imagesAllowed
Publish to CMS (WordPress, Webflow, etc.)Not available
Write or delete context entriesNot available
Send email notificationsNot available

Rate Limits

API keys are rate-limited to 60 requests per minute. If you exceed this limit, you'll receive a 429 Too Many Requests response. Wait and retry after a short delay.

Tools Reference

Each tool is called via the MCP protocol. Your MCP client handles the JSON-RPC framing — you just need to know the tool names and parameters.

Identity

inseeq_agent_whoami

Returns the authenticated agent's identity and organization binding.

No parameters

Organization

inseeq_get_organization

Get organization details by ID.

ParameterTypeRequiredDescription
organization_idstring (UUID)Yes

inseeq_get_brand_profile

Get the brand profile for an organization — voice, tone, vocabulary rules, and writing guidelines.

ParameterTypeRequiredDescription
organization_idstring (UUID)Yes

inseeq_resolve_slack_channel

Look up which inseeq organization a Slack channel is mapped to.

ParameterTypeRequiredDescription
slack_channel_idstringYes
workspace_idstringNo

Articles

inseeq_list_articles

List articles for your organization, optionally filtered by status.

ParameterTypeRequiredDescription
organization_idstring (UUID)Yes
statusstringNoFilter: draft, ready_to_write, writing, generating, in_review, approved, published
limitnumber (1–100)No
offsetnumberNo

inseeq_get_article

Get article details by ID. Returns metadata by default; set include_content=true for full markdown and structured fields.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes
include_contentbooleanNoInclude full article content (default: false)

inseeq_create_article

Create a new article in draft status.

ParameterTypeRequiredDescription
organization_idstring (UUID)Yes
titlestringYes
descriptionstringNo
meta_descriptionstringNo
languagestringNo
language_codestringNo
scheduled_publish_datestring (ISO 8601)No
target_keywordstringNo
outlinestringNo
cluster_topicstringNo
seo_titlestringNo
wordpress_slugstringNo
focus_keyphrasestringNo

inseeq_update_article

Update article content or metadata. Automatically creates a version snapshot before content changes.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes
titlestringNo
contentstringNoFull markdown content
introstringNoIntroduction section
sectionsarray of {heading, content}NoStructured article sections
sourcesstringNo
meta_descriptionstringNo
featured_image_urlstringNo
featured_image_alt_textstringNo
featured_image_titlestringNo
featured_image_captionstringNo
featured_image_descriptionstringNo
focus_keyphrasestringNo
seo_titlestringNo
wordpress_slugstringNo
wordpress_category_idsnumber[]No
wordpress_author_idnumberNo
scheduled_publish_datestring | nullNo
target_keywordstringNo
outlinestringNo
cluster_topicstringNo

inseeq_update_article_status

Change an article's workflow status.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes
statusstringYesdraft, ready_to_write, writing, generating, in_review, approved, published
scheduled_publish_datestring (ISO 8601)No

inseeq_upload_article_image

Upload a base64-encoded image for an article. Returns the public URL and storage path. Max 5 MB.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes
image_datastringYesBase64-encoded image bytes
content_typestringYesimage/png, image/jpeg, image/gif, or image/webp
filenamestringNoFilename hint for extension

inseeq_get_image_upload_url

Get a presigned URL for direct image upload. Upload the file binary via PUT, then call inseeq_finalize_image_upload.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes
content_typestringYesimage/png, image/jpeg, image/gif, or image/webp

inseeq_finalize_image_upload

Finalize an image upload after uploading binary to the presigned URL. Returns the public URL.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes
storage_pathstringYesThe storage_path returned by inseeq_get_image_upload_url

Comments

inseeq_list_comments

List all comments for an article, organized into threads with unresolved count.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes

inseeq_poll_new_comments

Poll for new comments on an article since a given timestamp.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes
sincestring (ISO 8601)YesTimestamp to poll from

inseeq_add_comment

Add a comment to an article, optionally as a reply to an existing comment. Supports inline text selection.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes
contentstringYesComment text
parent_idstring (UUID)NoReply to this comment
selection_startnumberNoCharacter offset of selected text start
selection_endnumberNoCharacter offset of selected text end
selected_textstringNoCached copy of the selected text

inseeq_resolve_comment

Resolve or unresolve a top-level comment thread.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes
comment_idstring (UUID)Yes
resolvedbooleanNoDefault: true

Context (Knowledge Base)

inseeq_get_context_index

Get the context index for your organization — a lightweight scan of available knowledge base sections and entries.

ParameterTypeRequiredDescription
organization_idstring (UUID)Yes

inseeq_get_context

Get all context entries for your organization, optionally filtered by section.

ParameterTypeRequiredDescription
organization_idstring (UUID)Yes
sectionstringNoFilter by section slug (e.g. "brand", "memory")

inseeq_log_context_read

Log that the agent read a context file, for activity tracking.

ParameterTypeRequiredDescription
organization_idstring (UUID)Yes
pathstringYesContext file path, e.g. /context/visual/brand-kit.md
session_idstringYes
platformstringYes"slack" or "web"

Performance

inseeq_get_article_queries

Get stored search query data for an article. Aggregated from daily Search Console ingestion.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes
start_datestring (YYYY-MM-DD)Yes
end_datestring (YYYY-MM-DD)Yes
sort_bystringNoimpressions, clicks, or position (default: impressions)
limitnumber (1–200)NoDefault: 50

inseeq_get_article_performance

Get GA4 page-level metrics for an article over a date range.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes
start_datestring (YYYY-MM-DD)Yes
end_datestring (YYYY-MM-DD)Yes
granularitystringNodaily, weekly, or monthly (default: weekly)

inseeq_list_portfolio_performance

Aggregate performance across all published articles for your organization.

ParameterTypeRequiredDescription
organization_idstring (UUID)Yes
periodstringYeslast_7d, last_30d, or last_90d
sort_bystringNopageviews, trend, or position (default: pageviews)
limitnumber (1–200)NoDefault: 100

inseeq_get_traffic_goals

Get traffic goals for an article with organization-level defaults as fallback.

ParameterTypeRequiredDescription
organization_idstring (UUID)Yes
article_idstring (UUID)Yes

inseeq_get_review_settings

Get the review configuration for your organization.

ParameterTypeRequiredDescription
organization_idstring (UUID)Yes

inseeq_get_article_recommendations

Get existing optimization recommendations for an article.

ParameterTypeRequiredDescription
article_idstring (UUID)Yes
statusstringNoFilter: pending, accepted, rejected, applied, reverted
limitnumber (1–50)NoDefault: 10

Skills

inseeq_get_enabled_skills

Get the list of enabled skills for your organization.

ParameterTypeRequiredDescription
organization_idstring (UUID)Yes

inseeq MCP Server API Reference

Need help? Contact peter@inseeq.com