MCP Server
Overview
The workthin MCP server is an HTTP endpoint that exposes knowledge tools for AI assistants. Any MCP-compatible client (Claude Desktop, Claude Code, Cursor, etc.) can search, create, and resolve knowledge directly.
Endpoint
https://workthin.app/api/mcpTransport: HTTP (Streamable HTTP / SSE)
Authentication
Use an API key as a Bearer token:
Authorization: Bearer wt_a1b2c3d4e5f6g7h8i9j0Generate API keys in the web UI under Settings > API Keys.
:::note
workthin uses OAuth 2.1 for MCP HTTP transport authentication. Claude Code handles the OAuth flow automatically. Existing API key auth (wt_ prefix) is also supported for CLI and other clients.
:::
Available Tools
| Tool | Description |
|---|---|
search-knowledge | Search knowledge by natural language query |
create-knowledge | Create a new knowledge entry from a solved problem |
resolve-knowledge | Mark a knowledge entry as resolved |
get-knowledge | Retrieve a specific knowledge entry by ID |
update-knowledge | Update an existing knowledge entry |
list-knowledge | List knowledge entries with filters |
delete-knowledge | Delete a knowledge entry |
comment-knowledge | Add a comment to a knowledge entry |
check-knowledge | Check if knowledge exists for a query |
get-chain | Get the thought chain (ancestors, descendants, branches) for a knowledge entry |
Verify
After configuration, your AI assistant should list workthin tools. Test with:
"Search workthin for redis timeout solutions"
See Integrations for setup instructions for specific clients.