Skip to main content
Glama

Notion MCP Server

by gendosu
smithery.yaml1.27 kB
# Smithery configuration file: https://smithery.ai/docs/build/project-config startCommand: type: stdio commandFunction: # A JS function that produces the CLI command based on the given config to start the MCP on stdio. |- (config) => { const env = {}; if (config.notionToken) { env.NOTION_TOKEN = config.notionToken; } else if (config.openapiMcpHeaders) { env.OPENAPI_MCP_HEADERS = config.openapiMcpHeaders; } if (config.baseUrl) env.BASE_URL = config.baseUrl; return { command: 'notion-mcp-server', args: [], env }; } configSchema: # JSON Schema defining the configuration options for the MCP. type: object anyOf: - required: [notionToken] - required: [openapiMcpHeaders] properties: notionToken: type: string description: Notion integration token (recommended) openapiMcpHeaders: type: string default: "{}" description: JSON string for HTTP headers, must include Authorization and Notion-Version (alternative to notionToken) baseUrl: type: string description: Optional override for Notion API base URL exampleConfig: notionToken: 'ntn_abcdef' baseUrl: https://api.notion.com

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

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