@slake-dev/mcp
v0.3.1
Published
MCP server for Slake — exposes annotations to Claude Code and other MCP-compatible agents
Readme
@slake-dev/mcp
MCP server for Slake — exposes annotations to Claude Code and other MCP-compatible agents.
Setup
The easiest way to set up MCP is via the CLI:
npx @slake-dev/cli mcpThis detects your MCP client (Claude Code, Cursor), installs this package, and writes the config file automatically.
Manual Setup
Add to your MCP client config (.mcp.json, .cursor/mcp.json):
{
"mcpServers": {
"slake": {
"command": "npx",
"args": ["-y", "@slake-dev/mcp"]
}
}
}The server connects to the Slake backend (default http://localhost:4000). Override with the SLAKE_SERVER_URL environment variable for remote or tunneled setups.
Available Tools
| Tool | Description |
|------|-------------|
| slake_get_pending_tasks | Fetch tasks assigned via @mentions |
| slake_get_annotation | Get a single annotation with full context |
| slake_get_annotations | List/filter all annotations |
| slake_get_screenshot | Get the screenshot captured at annotation time |
| slake_reply | Post a reply in-thread (real-time in browser) |
| slake_watch_thread | Watch a thread for follow-up replies |
| slake_get_thread_updates | Get new replies on watched threads |
| slake_update_annotation_status | Mark as resolved/acknowledged/dismissed |
| slake_create_task | Get structured task context for an annotation |
| slake_set_agent_name | Change which agent this instance represents |
Environment Variables
| Variable | Default | Description |
|----------|---------|-------------|
| SLAKE_SERVER_URL | http://localhost:4000 | Slake backend URL |
| SLAKE_MCP_AGENT_NAME | claude | Agent name for @mention matching |
