Back to Home
ContexaAI icon

Notion-MCP-Server-SSE

Verified Safe

by ContexaAI

Overview

Implements an MCP server for the Notion API, allowing LLMs to interact with Notion pages, databases, and blocks.

Installation

Run Command
npx -y @notionhq/notion-mcp-server

Environment Variables

  • OPENAPI_MCP_HEADERS
  • BASE_URL

Security Notes

The server parses `OPENAPI_MCP_HEADERS` from environment variables, which includes JSON parsing; this is handled with basic error checking. The `HttpClient` for file uploads uses `fs.createReadStream` with paths provided in tool arguments. While the expectation is for LLMs to provide 'absolute paths to local files' (as per documentation), this pattern could potentially be exploited by a malicious LLM prompt to read or upload arbitrary files accessible to the server process. There's no explicit path sanitization or restriction on `filePath` content before `fs.createReadStream`. The `eval` statement in `OpenAPIToMCPConverter` is commented out, which is good. CORS is enabled for all origins, which is common for API servers but might be a minor concern in certain deployment scenarios.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassHigh
Avg Tokens1000
Stars0
Forks0
Last Update2025-11-20

Tags

Notion APIMCP ServerLLM ToolingAPI IntegrationServer-Sent Events