Skip to main content
Glama
Notion MCP Server
by tkc

Claude Desktop Notion MCP Server

A filesystem Model Context Protocol (MCP) server implementation for Claude Desktop. This server provides filesystem capabilities to Claude, allowing it to read, write, and manipulate files on your system.

image

Features

  • List files with glob pattern matching

  • Read file contents

  • Write to files

  • Edit files with diff output

  • Delete files

  • Secure path normalization to prevent directory traversal attacks

Related MCP server: Filesystem MCP Server

Prerequisites

  • Bun v1.2.5 or later

Installation

Clone the repository and install dependencies:

git clone https://github.com/yourusername/claude-desktop-mcp.git
cd claude-desktop-mcp
bun install

Usage

claude_desktop_config.json

{
  "mcpServers": {
    "notion": {
      "command": "~/.bun/bin/bun",
      "args": [
        "run",
        "<your path>/src/notion/index.ts",
        "your_notion_integration_key_here"
      ]
    }
  }
}

If no base directory is provided, the current working directory will be used.

Available Tools

The server exposes the following tools:

  • list_files: Lists files matching a glob pattern

  • read_file: Reads the content of a file

  • write_file: Writes content to a file

  • edit_file: Edits an existing file with the provided content and shows diff

  • delete_file: Deletes a file

Security

The server implements path normalization and validation to ensure that operations are restricted to the specified base directory, preventing directory traversal attacks.

License

MIT

Acknowledgments

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      A custom Model Context Protocol server that gives Claude Desktop and other LLMs access to file system operations and command execution capabilities through standardized tool interfaces.
      23
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that extends AI capabilities by providing file system access and management functionalities to Claude or other AI assistants.
      277 npm
      5
      -
    • A
      license
      Not graded
      quality
      F
      maintenance
      A comprehensive MCP (Model Context Protocol) server for file system operations, providing Claude and other AI assistants with access to local files and directories.
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables Claude Desktop to perform file operations like reading, writing, listing directories, and managing files through natural language commands.
      MIT