MCP Server
Woes exposes a remote Model Context Protocol (MCP) server so AI tools, internal assistants, and automation runners can inspect and work with your support workspace through the same public API controls you already use for REST integrations. The MCP endpoint is intentionally a thin adapter over the Woes REST API. Tool calls reuse workspace API keys, scopes, rate limits, usage tracking, tenant isolation, response redaction, and public API side-effect boundaries.Endpoint
Authorization: Bearer <woesk_...>.
Discovery-safe methods such as GET, initialize, ping, resources/list,
prompts/list, and tools/list may be available without a workspace key.
Actual tools/call requests require Authorization: Bearer <woesk_...> and
are checked against the API key’s scopes.
What You Can Use It For
Use the Woes MCP server when an AI assistant or internal tool needs safe access to workspace support data.Configure An MCP Client
MCP client configuration varies by tool, but the important pieces are the remote URL and the Authorization header.Some MCP clients support remote HTTP servers directly. Others require a small local proxy that forwards JSON-RPC requests to
https://woes.dev/api/mcp with the Authorization header. Use your client’s current remote-server instructions when adding the URL.Required API Key Scopes
Leaving a workspace API key unrestricted allows every public API action
available to the MCP server, but scoped keys are safer for AI tools.
Tool Catalog
Conversations
woes_list_conversations lists recent conversations across live chat, email, Discord, and API-origin channels.
Supported filters: status, channel, customerId, and limit.
woes_create_conversation creates an API-origin conversation for a customer or external workflow.
Required input: customer.id and subject.
woes_list_messages lists ordered public messages for one conversation.
Required input: conversationId.
woes_create_message appends a user or assistant message to an existing conversation without invoking the Woes support agent.
Required input: conversationId and body.
Issues
woes_list_issues lists workspace issues with optional statusCategory, priority, customerEmail, sourceConversationId, and limit filters.
woes_create_issue creates a workspace issue with a subject, optional description, customer context, tags, priority, status category, and optional source conversation link.
Clients
woes_list_clients lists client account aggregates with optional search, health, and limit filters.
woes_create_client creates a manual client/account seed so an account is visible before a normal channel conversation exists.
Agents And Sources
woes_list_agents lists public agent metadata, including enabled state, source count, learning status, and widget key metadata.
woes_list_sources lists API context sources by status or type.
woes_get_source reads one source with public, redacted endpoint and document details.
Usage And Analytics
woes_get_usage returns current-month usage meters from GET /api/v1/usage.
It does not expose the /api/v1/usage/api-keys per-key usage endpoint.
woes_get_analytics returns sanitized aggregate analytics for agents, surveys, widgets, and customer feedback.
Manual JSON-RPC Examples
You can test the MCP server without a full MCP client by posting JSON-RPC requests.Initialize
List Tools
Call A Tool
Security Model
The MCP server follows the same public API boundary as/api/v1.
- It authenticates with workspace API keys using the
woesk_prefix. - It respects key scopes and returns authorization errors when a tool needs a scope the key does not have.
- It rate-limits and tracks valid calls by workspace API key.
- It does not expose raw API keys, workspace ids, service-role details, provider internals, system prompts, agent configs, operator-only debug traces, or cross-workspace data.
- It does not invoke the live chat widget identity flow, run the support agent, deliver Discord or email messages, or execute channel automation side effects.
