Skip to main content
Glama

AFFiNE MCP Server

by DAWNCR0W
types.ts717 B
export type EndpointDef = { method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE"; path: string; // may contain :params }; export type EndpointMap = { listWorkspaces: EndpointDef; listDocs: EndpointDef; // requires :workspaceId getDoc: EndpointDef; // requires :docId createDoc: EndpointDef; // requires :workspaceId updateDoc: EndpointDef; // requires :docId deleteDoc: EndpointDef; // requires :docId searchDocs: EndpointDef; // requires :workspaceId and query param ?q= }; export type AffineDocInput = { title?: string; content?: unknown; properties?: Record<string, unknown>; }; export type AffineDoc = { id: string; title?: string; content?: unknown; [key: string]: unknown; };

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DAWNCR0W/affine-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server