Servidor MCP

Filesystem

MCP

The reference server for the tree you already trust.

Official Model Context Protocol filesystem server. Roots you name. Reads and writes stay inside them.

latest·MIT·Updated this month·github.com/modelcontextprotocol/servers·Transporte: stdio

Claude CodeCursorVS CodeDesktop
VerificadoAtivo

claude_desktop_config.json

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/allowed"
      ]
    }
  }
}

Por Model Context Protocol

Especificação

O que o servidor realmente oferece.

  • read_file

    leitura

    Read a file inside an allowed root.

  • write_file

    escrita

    Write a file inside an allowed root.

  • list_directory

    leitura

    List a directory you allowed.

  • search_files

    leitura

    Find files by name under a root.

Limites de segurança

  • Roots are explicit
  • No path traversal past a root
  • Writes are logged by the client

mcp-filesystem.mcp/tools

Ferramentas

  • read_file

    Read a file inside an allowed root.

    leitura
  • write_file

    Write a file inside an allowed root.

    escrita
  • list_directory

    List a directory you allowed.

    leitura
  • search_files

    Find files by name under a root.

    leitura

Última chamada

{ "ok": true,
  "tool": "read_file",
  "rows": 12 }

Outros servidores que valem a instalação

Discussão

Nenhum comentário ainda. Seja o primeiro leitor a contar como foi.