Multi-File Reader MCP Server

by strawgate

283 downloads
Not rated
GitHub

About

MCP Server for reading many files at the same time

Details

Author
strawgate
Downloads
283
Categories
Other

- Exposes

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

Add the provided configuration to your McpServer settings, using uvx to run the server directly from its GitHub repository. The server exposes the read_files tool, which accepts a list of file paths.

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"
        ]
    }
}

Multi-File Reader MCP Server

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.