Skip to main content
Glama

Notion MCP Server

by snowan
notion.js478 B
const express = require('express'); const router = express.Router(); const notionController = require('../controllers/notion'); // Regular API routes router.post('/search', notionController.searchPages); router.post('/page', notionController.getPage); router.post('/database/query', notionController.queryDatabase); router.post('/page/create', notionController.createPage); // MCP endpoint router.post('/mcp/invoke', notionController.handleMcpCall); module.exports = router;

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

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