Skip to main content
Glama
tkc
by tkc

クロードデスクトップNotion MCPサーバー

Claude Desktop用のファイルシステムモデルコンテキストプロトコル(MCP)サーバー実装。このサーバーはClaudeにファイルシステム機能を提供し、システム上のファイルの読み取り、書き込み、操作を可能にします。

画像

特徴

  • globパターンマッチングでファイルを一覧表示する

  • ファイルの内容を読み取る

  • ファイルに書き込む

  • diff出力でファイルを編集する

  • ファイルを削除する

  • ディレクトリトラバーサル攻撃を防ぐための安全なパス正規化

Related MCP server: Filesystem MCP Server

前提条件

  • Bun v1.2.5以降

インストール

リポジトリをクローンし、依存関係をインストールします。

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

使用法

claude_desktop_config.json

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

ベースディレクトリが指定されていない場合は、現在の作業ディレクトリが使用されます。

利用可能なツール

サーバーは次のツールを公開します。

  • list_files : globパターンに一致するファイルを一覧表示します

  • read_file : ファイルの内容を読み取ります

  • write_file : コンテンツをファイルに書き込む

  • edit_file : 指定された内容で既存のファイルを編集し、差分を表示します。

  • delete_file : ファイルを削除する

安全

サーバーはパスの正規化と検証を実装し、操作が指定されたベース ディレクトリに制限されるようにして、ディレクトリ トラバーサル攻撃を防止します。

ライセンス

マサチューセッツ工科大学

謝辞

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    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
    F
    maintenance
    A Model Context Protocol server that extends AI capabilities by providing file system access and management functionalities to Claude or other AI assistants.
    226 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