Skip to main content

Crate clickupc_mcp

Crate clickupc_mcp 

Source
Expand description

§clickupc-mcp

crates.io docs.rs License: MIT

The ClickUp Model Context Protocol server behind clickupc mcp serve, as an embeddable library built on rmcp.

Just want to use it? Install the clickupc binary and run clickupc mcp install — this crate is for embedding the server in your own Rust program.

  • 56 clickup_* tools — tasks, bulk & batch, comments, custom fields, tags / links / dependencies, checklists, attachments, time tracking, reports, Docs, and a raw API escape hatch.
  • Model-friendly inputs — names or ids for lists, statuses, members, fields and options; dates like tomorrow, +3d, eow.
  • Compact outputs — task summaries by default (detail: "full" on request), responses bounded to stay under stdio line limits.
  • Safe — delete / remove / clear tools return unsafe_operation unless confirm: true.
  • Stable errors — data.code is one of validation_error, unsafe_operation, auth_missing, config_error, resolve_error (+ suggestions), clickup_api_error (+ status, ecode, trace_id), rate_limited (+ reset_at).
  • Two transports — stdio and Streamable HTTP.
[dependencies]
clickupc-mcp = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
anyhow = "1"
#[tokio::main]
async fn main() -> anyhow::Result<()> {
    // Reads the clickupc profile / CLICKUP_* env vars on every tool call.
    clickupc_mcp::run_stdio().await
    // or: clickupc_mcp::run_streamable_http("127.0.0.1", 8787, "/mcp").await
}

ClickUpMcpServer implements rmcp::ServerHandler if you need to serve it over your own transport.

Full tool reference: docs/MCP.md. Part of clickup-commands. MIT licensed. Not affiliated with or endorsed by ClickUp.

Modules§

app
Tool implementations: validate → resolve names → call core → shape output. Config is reloaded per call so clickupc auth login takes effect without restarting the server; the rate limiter is shared across calls.
error
Tool errors with stable string codes (data.code) so clients can branch on them. 4xx-style problems → INVALID_PARAMS, server-side → INTERNAL_ERROR.
models
Tool inputs. Doc comments become the JSON schema descriptions the model sees, so they are written for the model.

Structs§

ClickUpMcpServer

Functions§

run_stdio
run_streamable_http