Skip to main content
Glama
mtunell

MCP Filesystem Python

by mtunell

MCP ファイルシステム Python

指定されたディレクトリ内のファイルへの安全な読み取り専用アクセスを提供するモデル コンテキスト プロトコル (MCP) サーバー。

特徴

  • `file://` URI スキームを使用してファイルを MCP リソースとして公開します

  • MCPツールを通じてファイル検索機能を提供する

  • .gitignore パターンを尊重

  • パストラバーサル保護を含むセキュリティ機能

  • MIMEタイプの検出

Related MCP server: Project Content Server

インストール

UVの使用:

uv add mcp-filesystem-python

使用法

サーバーを実行します。

uv run src/filesystem/server.py /path/to/directory

クロードデスクトップ統合

設定例

Claude Desktop の設定例は `examples` ディレクトリにあります。

  • `examples/claude_desktop_config.json`: macOS/Linux の例

  • `examples/claude_desktop_config_windows.json`: Windows の例

これらのファイルは次の場所に配置する必要があります。

  • macOS: `~/ライブラリ/アプリケーションサポート/Claude/claude_desktop_config.json`

  • Windows: `%AppData%\Claude\claude_desktop_config.json`

必ず次の点に注意してください:

  1. パスを実際のパスに置き換えます

  2. macOS/Linuxの場合はスラッシュ(`/`)、Windowsの場合はバックスラッシュ(`\\`)を使用します

  3. 絶対パスを使用する(相対パスではない)

発達

  1. リポジトリをクローンする

  2. 仮想環境の作成と要件の同期、 uv sync

ライセンス

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

-
license - not tested
Not graded
quality - not tested
Not graded
maintenance - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • A MCP server built for developers enabling Git based project management with project and personal…

  • Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.

  • An MCP server that gives your AI access to the source code and docs of all public github repos

View all MCP Connectors

Latest Blog Posts

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/mtunell/mcp-filesystem-python'

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