Jake Shore 8e9d1ffb87 calendly: Complete MCP server with 27 tools and 12 React apps
- Calendly API v2 client with auth, pagination, error handling
- 27 MCP tools across 6 categories (events, event types, scheduling, users, orgs, webhooks)
- 12 React MCP apps with dark theme and client-side state
- Both stdio and HTTP modes supported
- Full TypeScript types and documentation
2026-02-12 17:08:15 -05:00

36 lines
1.0 KiB
TypeScript

/**
* ClickUp Docs Tools
*/
import { z } from 'zod';
import type { ClickUpClient } from '../clients/clickup.js';
export function createDocsTools(client: ClickUpClient) {
return [
{
name: 'clickup_docs_list',
description: 'List all docs in a workspace',
inputSchema: z.object({
workspace_id: z.string().describe('Workspace/Team ID'),
}),
handler: async (args: any) => {
const response = await client.getDocs(args.workspace_id);
return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] };
}
},
{
name: 'clickup_docs_search',
description: 'Search docs in a workspace',
inputSchema: z.object({
workspace_id: z.string().describe('Workspace/Team ID'),
search: z.string().describe('Search query'),
}),
handler: async (args: any) => {
const response = await client.searchDocs(args.workspace_id, args.search);
return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] };
}
},
];
}