Overview
Whim exposes a Model Context Protocol (MCP) server that lets external AI agents and tools interact with your workspace programmatically. You can list, search, and manage tasks; create new work; control task lifecycle; and search across conversations and shell history — all from any MCP-compatible client. Whim MCP uses static bearer tokens for authentication. You create a token in your workspace settings, configure your MCP client to send it on every request, and you’re connected. Tokens are workspace-scoped, and Whim verifies live workspace membership on every request.Setup
Copy the workspace MCP URL
The URL determines which workspace your MCP client will operate on. The format is:
Create a Whim MCP token
Click Create Token, copy it immediately, and store it securely. Whim only shows the full token once — you cannot retrieve it later.
Client Configuration Examples
Codex CLI (~/.codex/config.toml)
Codex CLI (~/.codex/config.toml)
Codex uses TOML configuration with an Or add via the CLI:
[mcp_servers.<name>] table. Set a bearer_token_env_var that points to the environment variable holding your token.TOML config file:Claude Desktop / Claude Code (JSON)
Claude Desktop / Claude Code (JSON)
Use the HTTP transport object with the Whim bearer token in
headers.Authorization.Generic HTTP client
Generic HTTP client
If you are wiring up a custom client or transport, send the bearer token plus the correct streamable HTTP
Accept headers.Required HTTP Headers
Streamable HTTP MCP is content-negotiated. Most MCP clients set theAccept header automatically, but custom integrations need to be explicit.
| Method | Required Accept Header |
|---|---|
GET | text/event-stream |
POST | application/json, text/event-stream |
406 Not Acceptable when these headers are missing or incompatible.
Available Capabilities
Once connected, your MCP client has access to 24 tools organized into the following categories:Task Discovery
| Tool | Description |
|---|---|
list_tasks | List tasks in the workspace. Filter by status (active, completed, archived, todo, all), parent task, and limit. |
get_task | Get detailed task information including optional conversation history (first, last, or full). |
get_task_comments | Retrieve comments and threaded replies on a task or todo. |
get_task_attachments | Get attachment metadata and preview URLs for a task. |
search | Full-text search across workspace conversations and shell history. Supports keyword, semantic, and hybrid search modes. |
list_workspace_users | List workspace members with their user IDs, roles, and usernames. |
get_ai_capabilities | Discover available AI providers, model IDs, and reasoning effort options. |
whim_get_workspace_config | Get the resolved workspace configuration including skills, environment variables, MCP servers, plugins, and instructions. |
Task Creation
| Tool | Description |
|---|---|
create_task | Create and immediately start a running task in its own container. Specify title, prompt, model, source branch, and more. |
create_todo | Create a backlog todo without running it. Supports body content, assignee, priority, effort, and tags. |
create_batch | Create multiple tasks or todos in a single call with a shared relationship decision. |
launch_todo | Launch a backlog todo, optionally with a startup prompt override. |
Task Lifecycle
| Tool | Description |
|---|---|
pause_task | Pause a running task (transitions to sleeping state). |
resume_task | Resume a paused task and restore terminal sessions. |
complete_tasks | Mark one or more tasks as completed and suspend their containers. |
archive_tasks | Archive one or more tasks and suspend their containers. |
send_prompt | Send a follow-up prompt to another running task’s agent terminal. |
Task Organization
| Tool | Description |
|---|---|
edit_task | Update task metadata: title, assignee, priority, effort, tags. |
edit_todo | Update todo-specific fields: body, model, source branch, and more. |
nest_task | Nest, unnest, or reorder child tasks under a top-level parent (one level of nesting only). |
fork_task | Create a new task from an existing task using session (full context copy) or summary mode. |
create_task_comment | Add comments to tasks or todos, with optional threading via parentId. |
Configuration
| Tool | Description |
|---|---|
settings | Inspect or apply workspace settings snapshots. |
images | List, build, activate, delete, or inspect workspace container images. |
Operational Notes
Token scope
Tokens are scoped to the workspace where they were created. Use a different workspace’s URL and token to access a different workspace.
Revocation
Revoke tokens from the Whim MCP settings page. Revoked tokens stop working immediately.
Last-used tracking
Whim tracks when each token was last used, visible in the token management UI.
Compatibility
This flow requires clients that can send a custom
Authorization header to a remote MCP endpoint. Clients that only support OAuth-based remote MCP auth will need a different connection path.
