fs-mcp 0.1.0

mcp server for filesystem access
[
  {
    "name": "set_context",
    "description": "Set the working context path for a session",
    "inputSchema": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "description": "Directory path to set as context"
        },
        "session_id": {
          "type": "string",
          "description": "Optional session identifier. Required for operations relative to context path"
        }
      },
      "required": [
        "path"
      ]
    }
  },
  {
    "name": "list_directory",
    "description": "List directory contents with session context support and gitignore awareness",
    "inputSchema": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "description": "Directory path or glob pattern. Can be absolute, or relative to session context path. Can include wildcards like 'src/**/*'."
        },
        "session_id": {
          "type": "string",
          "description": "Optional session identifier for context"
        },
        "include_gitignore": {
          "type": "boolean",
          "description": "Include files normally ignored by gitignore. Defaults to false"
        },
        "recursive": {
          "type": "boolean",
          "description": "Recurse into directories (only relevant if path does not contain a glob pattern)"
        }
      },
      "required": [
        "path"
      ]
    }
  }
]