Skip to main content
Glama

MCP Filesystem Python

MIT License
19
  • Apple
  • Linux

MCP 파일 시스템 파이썬

지정된 디렉토리에 있는 파일에 대한 안전하고 읽기 전용 액세스를 제공하는 MCP(Model Context Protocol) 서버입니다.

특징

  • `file://` URI 체계를 사용하여 파일을 MCP 리소스로 노출합니다.
  • MCP 도구를 통해 파일 검색 기능을 제공합니다.
  • .gitignore 패턴을 존중합니다.
  • 경로 횡단 보호를 포함한 보안 기능
  • MIME 유형 감지

설치

UV 사용:

지엑스피1

용법

서버를 실행합니다:

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

Claude 데스크톱 통합

구성 예제

Claude Desktop의 예제 구성은 `examples` 디렉토리에서 찾을 수 있습니다.

  • `examples/claude_desktop_config.json`: macOS/Linux용 예제
  • `examples/claude_desktop_config_windows.json`: Windows용 예제

다음 위치에 파일을 저장해야 합니다.

  • macOS: `~/라이브러리/애플리케이션 지원/클로드/클로드_데스크탑_config.json`
  • Windows: `%AppData%\Claude\claude_desktop_config.json`

다음 사항을 확인하세요.

  1. 경로를 실제 경로로 바꾸세요
  2. macOS/Linux의 경우 슬래시(`/`)를 사용하고 Windows의 경우 백슬래시(`\\`)를 사용합니다.
  3. 절대 경로를 사용하세요(상대 경로가 아님)

개발

  1. 저장소를 복제합니다
  2. 가상 환경 생성 및 동기화 요구 사항, uv sync

특허

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

이 서버는 MCP를 통해 디렉토리 파일에 대한 안전하고 읽기 전용 액세스를 제공하며, 파일 검색, .gitignore 준수, 경로 탐색 보호 및 'file://' URI 체계를 사용한 MIME 유형 감지를 지원합니다.

  1. 특징
    1. 설치
      1. 용법
        1. Claude 데스크톱 통합
          1. 구성 예제
        2. 개발
          1. 특허

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A secure MCP server enabling read-only access and file search capabilities within a specified directory, while respecting .gitignore patterns.
              Last updated -
              Python
              MIT License
              • Apple
              • Linux
            • -
              security
              F
              license
              -
              quality
              This MCP server enforces pre-read checks and detailed commit documentation to prevent unauthorized file modifications, ensuring write and diff operations are preceded by explicit reads.
              Last updated -
              4
              JavaScript
            • A
              security
              A
              license
              A
              quality
              An MCP server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface for LLMs.
              Last updated -
              10
              58
              Python
              MIT License
              • Apple
            • A
              security
              F
              license
              A
              quality
              A MCP server that allows searching for files in the filesystem based on path fragments, returning file metadata including name, path, size, and creation date.
              Last updated -
              1
              Python
              • Apple

            View all related MCP servers

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

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