Skip to main content
Glama
types.ts1.55 kB
/** * Notion MCP Configuration */ export interface NotionConfig { apiKey: string; version?: string; } /** * Create page arguments */ export interface CreatePageArgs { parent: | { type: 'page_id'; page_id: string } | { type: 'database_id'; database_id: string }; properties: Record<string, any>; children?: any[]; icon?: | { type: 'emoji'; emoji: string } | { type: 'external'; external: { url: string } }; cover?: { type: 'external'; external: { url: string }; }; } /** * Retrieve page arguments */ export interface RetrievePageArgs { page_id: string; filter_properties?: string[]; } /** * Update page arguments */ export interface UpdatePageArgs { page_id: string; properties?: Record<string, any>; archived?: boolean; icon?: | { type: 'emoji'; emoji: string } | { type: 'external'; external: { url: string } }; cover?: { type: 'external'; external: { url: string }; }; } /** * Retrieve page property arguments */ export interface RetrievePagePropertyArgs { page_id: string; property_id: string; page_size?: number; start_cursor?: string; } /** * Search pages arguments */ export interface SearchPagesArgs { query?: string; filter?: { value: 'page' | 'database'; property: 'object'; }; sort?: { direction: 'ascending' | 'descending'; timestamp: 'last_edited_time'; }; start_cursor?: string; page_size?: number; }

Latest Blog Posts

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/michaelwaves/notion-mcp'

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