Connect ClickUp or any MCP client
One URL, one header
Endpoint details
- Endpoint
- https:/
/ readonly-mcp-demo. vercel. app/ mcp - Header
- Authorization: Bearer lakeside-demo-readonly
- Transport
- Streamable HTTP, stateless: POST only, JSON responses, one message per request
- Protocol
- 2025-11-25 (older versions negotiated by the SDK)
- Rate limit
- 60 requests per minute per token (per visitor for this public token)
Adding it to ClickUp
ClickUp Brain and Super Agents can use tools from an external MCP server added as a Custom MCP connection. Following ClickUp's help article on connecting an MCP server to a Workspace:
Open Custom MCP
In ClickUp's browser app, open the App Center (Workspace avatar, then Apps), select Custom MCP in the sidebar and click Add New.
Choose who can use it
Pick Just for me, a personal connection only you can use. Pick For all members only if everyone in the Workspace may see staff hours and pay; only owners and admins can add that.
Name, URL and authentication
Name it, for example Venue data (read-only), and paste the URL:
https:// readonly- mcp- demo. vercel. app/ mcp For authentication choose API key or No authentication, and add a custom header. Name:
AuthorizationValue:
Bearer lakeside-demo- readonly Check the tools
ClickUp connects and lists the tools. Expect the nine on the Tools page, then add them to a Super Agent or use them in Brain.
Not yet tested against a ClickUp Workspace, so labels in the dialog may differ; connecting from a real Workspace is the first thing to check. ClickUp has no fixed outbound IP addresses, so the endpoint relies on its token rather than an IP allowlist. For real data, give ClickUp its own secret token and rotate it by updating the Worker secret.
How a production deployment would be set up
A production version would run in the Cloudflare account and private GitHub repository of the business that owns the data, and that business would keep the API credentials.
The owner's private repo and Cloudflare account
The code lives in the data owner's GitHub repository and deploys from it, through Workers Builds or a deploy token the owner controls.
The owner's team enters the keys
The four API keys go in with
wrangler secret putor the Cloudflare dashboard. Worker secrets cannot be read back once set, so a developer working on the server never sees them.Built against the mocks first
Development runs in mock mode, which uses the same request shapes. The live check is a smoke test that prints counts only (
scripts/smoke.mjs), never names or amounts.Nothing real is published
This public build uses only public API docs and fictional data. A production deployment's code and data would stay private.
List the tools with curl
The Accept header must list both JSON and event streams.
curl -s https://readonly-mcp-demo.vercel.app/mcp \
-H "Authorization: Bearer lakeside-demo-readonly" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Call a tool
Stateless: no session header is needed between calls.
curl -s https://readonly-mcp-demo.vercel.app/mcp \
-H "Authorization: Bearer lakeside-demo-readonly" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0", "id": 2, "method": "tools/call",
"params": {
"name": "labour_cost_percent",
"arguments": { "start": "2026-11-16", "end": "2026-11-22", "groupBy": "day" }
}
}'Generic MCP client config
The common mcpServers shape for remote servers. Some clients name the type streamable-http or the URL key serverUrl.
{
"mcpServers": {
"lakeside-readonly": {
"type": "http",
"url": "https://readonly-mcp-demo.vercel.app/mcp",
"headers": {
"Authorization": "Bearer lakeside-demo-readonly"
}
}
}
}Official TypeScript SDK
The same client the integration tests and the session transcript use.
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const client = new Client({ name: "my-client", version: "1.0.0" });
await client.connect(
new StreamableHTTPClientTransport(new URL("https://readonly-mcp-demo.vercel.app/mcp"), {
requestInit: { headers: { Authorization: "Bearer lakeside-demo-readonly" } },
}),
);
const { tools } = await client.listTools(); // nine read-only tools
const result = await client.callTool({
name: "labour_cost_percent",
arguments: { start: "2026-11-16", end: "2026-11-22", groupBy: "day" },
});