https://github.com/strawgate/mcp-many-files
MCP Server for reading many files at the same time
https://github.com/strawgate/mcp-many-files
Last synced: 7 months ago
JSON representation
MCP Server for reading many files at the same time
- Host: GitHub
- URL: https://github.com/strawgate/mcp-many-files
- Owner: strawgate
- Created: 2025-04-10T01:34:56.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-10T03:12:05.000Z (7 months ago)
- Last Synced: 2025-04-10T04:23:31.010Z (7 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mcp-servers - **filesystem-operations-mcp** - MCP Server for reading many files at the same time `python` `mcp` `server` `pip install git+https://github.com/strawgate/mcp-many-files` (🤖 AI/ML)
- awesome-mcp-servers - **filesystem-operations-mcp** - MCP Server for reading many files at the same time `python` `mcp` `server` `pip install git+https://github.com/strawgate/mcp-many-files` (🤖 AI/ML)
README
# 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:
```bash
# 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:
```bash
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:
```bash
python multi_file_reader_mcp.py
# or using the installed script
multi-file-reader-mcp
```