Multi-File Reader MCP Server

by strawgate

283 downloads Not rated yet
GitHub

About

This is a FastMCP server that exposes a tool to read the content of multiple files. It is designed for use with MCP-compatible clients.

Explore

read_files Tool: Reads a list of specified file paths and returns their content or error information if a file cannot be read.
Progress Reporting: Reports progress as it reads through the list of files.

  • Error Handling: Handles common errors like FileNotFoundError and PermissionError.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Multi-File Reader MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Simply add the following to your McpServer configuration

    "Read Many Files (GitHub)": {
"command": "uvx",
"args": [
"https://github.com/strawgate/mcp-many-files.git"
],
"alwaysAllow": [
"read_files"
]
},

multi-file-reader-mcp
```

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "multi-file reader mcp server": {
            "mcp-many-files": {
                "command": "uv",
                "args": [
                    "venv"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-many-files": {
        "command": "uv",
        "args": [
            "venv"
        ]
    }
}

This project provides a FastMCP server that exposes a tool to read the content of multiple files.

Features

read_files Tool: Reads a list of specified file paths and returns their content or error information if a file cannot be read.
Progress Reporting: Reports progress as it reads through the list of files.

  • Error Handling: Handles common errors like FileNotFoundError and PermissionError.


McpServer Usage


Simply add the following to your McpServer configuration
    "Read Many Files (GitHub)": {
"command": "uvx",
"args": [
"https://github.com/strawgate/mcp-many-files.git"
],
"alwaysAllow": [
"read_files"
]
},

Development

1. Clone the repository:

    # Replace with the actual repository URL
git clone https://github.com/your-username/mcp-many-files.git
cd mcp-many-files

2. Create a virtual environment and install dependencies:
    uv venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
uv pip install -e .[dev] # Install in editable mode with dev dependencies

3. Run the server locally for testing:
    python multi_file_reader_mcp.py
# or using the installed script
multi-file-reader-mcp

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.