
mcp
com.weav/mcp
Sign up for Weav in chat, set up your AI agent, triage conversations, and manage your Help Center.
Documentation
Weav.com Model Context Protocol (MCP)
Learn how to use the Model Context Protocol (MCP) to enable AI agents to securely access and interact with your Weav workspace.
The Weav MCP server is available for Weav workspaces.
This repository documents the workspace server (com.weav/mcp at https://mcp.weav.com/mcp). A separate public server answers pricing and product questions without login:
| Server | URL | Auth | Registry |
|---|---|---|---|
| Weav (this repo) | https://mcp.weav.com/mcp | None for signup, setup key or OAuth for setup, OAuth for workspace tools | com.weav/mcp |
| Weav Customer Service | https://weav.com/mcp | None | io.github.dubdubdubco/weav-customer-service |
The public server cannot read inbox, customers, training data, or Help Center data. Source: dubdubdubco/weav-site-mcp.
What is Model Context Protocol?
MCP is a protocol that enables AI tools and applications to connect with Weav's data and services in a secure, standardized way. It provides a structured method for AI models to:
- Find and retrieve Weav data (conversations, customers, agent training data, Help Center articles)
- Access specific tools and functionality provided by Weav
- Maintain context about your Weav workspace when working with AI assistants
How MCP Works
Weav hosts a remote MCP server that follows the authenticated remote MCP specification (docs). This server handles requests from AI tools and provides access to Weav data through a secure interface.
Connection URL:
- Streamable HTTP:
https://mcp.weav.com/mcp
When an AI tool or application needs to access Weav data:
- The tool connects to Weav's MCP server. New users can sign up right in the chat with
start_signupandverify_signup_code(email code, no browser), then set up with the returnedsetup_key - For inbox, customer, training data and Help Center tools, a workspace admin or owner signs in when the client prompts for OAuth
- The tool can then access relevant Weav data and functionality for that workspace
- The connection remains live until it is revoked
Benefits of Using MCP
- Secure Access: All data access is authenticated and authorized. Only a workspace admin or owner can finish consent.
- Standardized Interface: Consistent interaction pattern across different AI tools
- Contextual Understanding: AI assistants maintain awareness of your Weav inbox, customers, agent training data, and Help Center
- Increased Development Efficiency: Triage conversations, reply to customers, and manage agent training data and Help Center articles from the AI tools you already use
Available Tools
The Weav MCP server provides 48 tools: 2 signup tools, 7 setup tools, 4 conversation tools, 2 customer tools, 5 agent training data tools, and 28 Help Center tools.
Signup (no sign-in)
start_signup
Email a 6-digit signup code to the user. Parameters: email.
verify_signup_code
Check the code, create a free Lite workspace, and return a setup_key valid for 24 hours. Parameters: signup_token, code, company_name. Existing accounts are told to sign in instead.
Setup (setup key or OAuth)
Each setup tool takes an optional setup_key; omit it when signed in.
- get_setup_status: setup checklist, next step, AI credits and plans
- start_website_training / get_training_status: train the AI agent on a website (
website) - get_chat_widget_install: chat widget script and install instructions
- kb_start_import / kb_import_status: copy an existing help center into a private Weav Help Center (
url) - create_checkout_link: Stripe Checkout link for a plan or more AI credits (
purchase,interval,quantity)
The onboard_my_workspace prompt walks an AI through signup and setup.
Conversations
search_conversations
Search support conversations the same way the Weav inbox does.
Key Features:
- Matches subject, customer name, or email
- Only returns conversations that have at least one message
- Spam is excluded unless
spamistrue - Optional filters:
status(open,closed),channel(email,chat),limit(1–50)
get_conversation
Get a conversation, including recent messages.
Key Features:
- Use the conversation UUID returned from
search_conversations - Returns conversation metadata and recent message history
send_reply
Post a reply to a conversation as a workspace teammate.
Key Features:
- Requires
conversation_idandcontent - Sends the reply in the connected workspace
update_conversation
Update a conversation's status, priority, or assignee. Does not delete conversations.
Key Features:
status:openorclosedpriority:low,normal,high, orurgentassignee_idplusassignee_type(useroragent); omit to leave unchanged, sendnullto unassign
Customers
search_customers
Search customers by name or email.
Key Features:
- Optional
queryandlimit(1–50)
get_customer
Get a customer profile, company, and recent conversations.
Key Features:
- Use the customer UUID returned from
search_customers
Agent training data
These are the sources Weav AI agents answer from, separate from the public Help Center managed by the kb_* tools.
search_training_data
Search agent training data items by title, description, type, or source.
Key Features:
- Optional
typefilter:text,url,file,video,qa - Optional
limit(1–50)
get_training_data
Get a single training data item.
Key Features:
- Use the training data UUID returned from
search_training_data
add_training_data
Add agent training data as text, Q&A, or a website URL. Every agent in the workspace is given access automatically.
Key Features:
type:text,qa, orurlurlcrawls the website and trains on discovered pagesurlstrains only the listed pages, without crawling the rest of the site
delete_training_data
Delete a training data item.
Key Features:
- For website/URL sources, also deletes discovered URLs and chunks
resync_training_data
Re-scrape an existing URL training data item.
Key Features:
- Requires the training data UUID of a URL source
Help Center knowledge base
The kb_* tools manage the workspace's public Help Center articles and categories, separate from agent training data managed by *_training_data.
Browse
kb_get_overview
Get counts and available locales for the Help Center.
Key Features:
- No parameters
- Includes the sections in display order
kb_list_categories
List Help Center categories.
Key Features:
- Optional
limit(1–50, default 20) andpage(default 1)
kb_list_sections
List Help Center sections in display order.
Key Features:
- Optional
limit(1–50, default 20) andpage(default 1)
kb_list_articles
List Help Center article summaries.
Key Features:
- Optional filters:
category_idoruncategorized,status(draft,published), andlocale - Optional
limit(1–50, default 20) andpage(default 1)
kb_search_articles
Search Help Center article titles and content.
Key Features:
- Required
query(1–255 characters) - Optional filters:
locale,status(draft,published),category_idoruncategorized - Optional
limit(1–50, default 20) andpage(default 1)
kb_get_article
Get a full Help Center article and its translation content.
Key Features:
- Required
article_id; optionallocale
kb_get_preview_link
Get a shareable link to preview a draft article, or a pending proposal, inside the whole Help Center before it is published.
Key Features:
- Provide exactly one of
article_id(a draft article) orproposal_id(a pending proposal) - Optional
regenerate(truereplaces the link so the old one stops working) - Anyone with the link can view the preview; it never expires and is not indexed
kb_create_articleandkb_update_articlealso return apreview_urlfor drafts
Revisions
kb_list_article_revisions
List revision summaries for an article.
Key Features:
- Required
article_id; optionallocale,limit(1–50, default 20), andpage(default 1)
kb_get_article_revision
Get a revision's full content.
Key Features:
- Required
article_idandrevision_id
kb_restore_article_revision
Restore an article translation from a prior revision.
Key Features:
- Required
article_idandrevision_id; optionalexpected_version - Saves the current translation as a revision before restoring
Improvement proposals
kb_list_proposals
List Help Center improvement proposals.
Key Features:
- Optional
status(pending,needs_decision,published,dismissed,ignored); ignored proposals are omitted by default - Optional
limit(1–50, default 20) andpage(default 1)
kb_get_proposal
Get full details for an improvement proposal.
Key Features:
- Required
proposal_id
kb_edit_proposal
Save a pending improvement proposal's title and Markdown without publishing.
Key Features:
- Required
proposal_id,title(up to 255 characters), andcontent(full replacement Markdown) - Only
pendingproposals can be edited; others returnPROPOSAL_CONFLICT - For a new-article proposal, the linked draft is saved with it; for an update proposal, the published article is unchanged
- Returns the updated proposal, still
pending. Use this instead ofkb_update_articlefor suggestion drafts
Articles
kb_create_article
Create a Help Center article.
Key Features:
- Requires at least one
translationsentry withlocale,title, and Markdowncontent;excerptandslugare optional excerptis used as the meta description whenseo_descriptionis empty- Translation entries optionally accept
seo_title(search/social title; the page heading staystitle),seo_description(search/social description; the visible excerpt is unchanged),noindex(hide from search engines),canonical_url(absolute HTTP(S) URL), andog_image_url(HTTPS social preview image) - Optional
category_id,position, andstatus(draftorpublished)
kb_update_article
Update a Help Center article.
Key Features:
- Required
article_id; optionalexpected_version,category_id,position,status, andtranslations - Translation entries accept the same optional SEO fields as
kb_create_article;excerptis used as the meta description whenseo_descriptionis empty - Send
category_id: nullto uncategorize; omit it to keep the current category - Content edits to an existing locale save a revision; SEO-only edits do not. A new locale needs
titleandcontent
kb_publish_article
Publish an article immediately.
Key Features:
- Required
article_id; optionalexpected_version
kb_unpublish_article
Return a published article to draft.
Key Features:
- Required
article_id; optionalexpected_version
kb_delete_article
Soft-delete a Help Center article.
Key Features:
- Required
article_id; optionalexpected_version
kb_delete_article_translation
Delete one translation from an article.
Key Features:
- Required
article_idandlocale; optionalexpected_version - The article must retain at least one translation
kb_reorder_articles
Set the order of all articles in one category group.
Key Features:
- Required
idscontaining all article UUIDs in the desired order - Optional
category_id; omit it or sendnullfor uncategorized articles
Sections
kb_create_section
Create a Help Center section.
Key Features:
- Required
name; optionalslugandposition
kb_update_section
Update a Help Center section.
Key Features:
- Required
section_id; optionalname,slug, andposition
kb_delete_section
Delete a Help Center section.
Key Features:
- Required
section_id; its categories become unsectioned
kb_reorder_sections
Set the display order of all Help Center sections.
Key Features:
- Required
idscontaining all section UUIDs in the desired order
Categories
kb_create_category
Create a Help Center category.
Key Features:
- Required
name; optionalslug,position, andsection_id
kb_update_category
Update a Help Center category.
Key Features:
- Required
category_id; optionalname,slug,position, andsection_id - Send
section_id: nullto clear the section assignment
kb_delete_category
Delete a Help Center category.
Key Features:
- Required
category_id; its articles become uncategorized
kb_reorder_categories
Set the display order of all Help Center categories.
Key Features:
- Required
idscontaining all category UUIDs in the desired order
Help Center behavior
- New articles are drafts by default. Set
status: publishedon create or update, or usekb_publish_article, to publish immediately; there is no approval step. - Search first with
kb_search_articles; update an existing article instead of creating a duplicate. kb_get_articlereturns aversion. Pass it asexpected_versionto update, publish, unpublish, delete, delete a translation, or restore. A stale version returnsPRECONDITION_FAILEDwithcurrent_version; re-read and retry. If the article lock cannot be acquired within its wait period, the tool returnsARTICLE_LOCKED; retry shortly. Other error codes includeSLUG_TAKENandPROPOSAL_CONFLICT.- Locales match by language:
en,en-US, anden-GBall match English content. - Articles created over MCP have source
mcp; each revision records the user and MCP client that made it. - Help Center settings, logo and image uploads, GitHub sync, and publishing or dismissing improvement proposals are not available over MCP; use the Weav app.
Setting things up
Authentication
Connecting needs no sign-in. Access depends on the tool:
- Signup tools (
start_signup,verify_signup_code) need no authentication; the emailed 6-digit code verifies the user - Setup tools accept the
setup_keyreturned byverify_signup_code(valid 24 hours, setup tools only) or OAuth - All other tools use OAuth: the first call prompts the client to open Weav's browser consent screen
For OAuth:
- Only a workspace admin or owner can finish consent
- Tokens are scoped to that workspace with the
mcp:useability - Admins can disconnect a client later in Settings → Developers → MCP connections
There is no API-token shortcut for workspace tools. The setup_key is not a bearer token; pass it as the setup_key argument.
Configuration Examples
Configuration Guide The examples below are generic templates. Always refer to your specific LLM provider's official documentation for the most up-to-date configuration instructions, as setup details may vary between versions and providers.
For OAuth authentication:
{
"mcpServers": {
"weav": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.weav.com/mcp"
]
}
}
}
Required Scopes
The Weav MCP server issues tokens with the mcp:use scope. That scope is granted when an admin or owner completes consent for the workspace.
Debugging and Troubleshooting MCP-Remote
- Authentication Problems
# Kill existing connections
pkill -f mcp-remote
# Clear MCP auth cache
rm -rf ~/.mcp-auth
- Connection Testing
# Test direct connection (starts the OAuth browser flow)
npx mcp-remote https://mcp.weav.com/mcp
- View Active MCP Connections
ps aux | grep mcp-remote | grep -v grep
Error Handling
- Authentication failures: Restart the OAuth flow. Confirm a workspace admin or owner completed consent.
- 401 Unauthorized: The access token is missing, expired, or the connection was revoked in Settings.
PRECONDITION_FAILED: The article changed since itsexpected_version; re-read it and retry withcurrent_version.ARTICLE_LOCKED: The article lock wait timed out; retry shortly.PROPOSAL_CONFLICT: The proposal is no longer pending or its article changed; re-read it withkb_get_proposal.- Tool errors: Confirm the IDs you pass belong to the connected workspace.
Troubleshooting Tips
- Restart the AI agent after configuration changes
- Confirm the URL is
https://mcp.weav.com/mcp(including/mcp) - Check the browser for OAuth consent errors
- Disconnect and reconnect from Settings → Developers → MCP connections if a client is stuck
No installation packages available.