
A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

A simple Model Context Protocol server for reading files, offered in stdio mode managed via Cursor config and in independent SSE mode run with Uvicorn and Starlette.
MCP File Reader Server is cataloged as an MCP server attributed to spar65. A simple Model Context Protocol server for reading files, offered in stdio mode managed via Cursor config and in independent SSE mode run with Uvicorn and Starlette. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP File Reader Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It runs as a stdio server managed by Cursor via global config, or as an SSE server started manually.
The stdio server uses ~/mcp_data, while the SSE server uses ./project_mcp_data_sse within the project directory.
README.md · 1fb7a69c24a2 · Fetched 2026-11-13 11:07:12 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
This project provides a simple MCP (Model-Control-Protocol) server for reading files, runnable in two modes:
file-reader): Managed by Cursor via global config.file-reader-sse): Runs independently via manual start.python3 -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate # On Windows
pip install mcp
# Uvicorn & Starlette are needed for running the SSE server
# httpx is needed for the SSE client
pip install "uvicorn[standard]" starlette httpx
file-reader)To let Cursor manage the stdio server:
~/Library/Application Support/Cursor/cursor_mcp_config.json%APPDATA%\Cursor\cursor_mcp_config.json~/.config/Cursor/cursor_mcp_config.jsonfile-reader, pointing to the correct venv Python and the main file_reader_server.py script:
{
"mcpServers": {
"file-reader": {
// Server name for stdio mode
"command": "/FULL/PATH/TO/YOUR/PROJECT/venv/bin/python",
"args": [
"/FULL/PATH/TO/YOUR/PROJECT/mcp-file-reader-example/file_reader_server.py"
],
"enabled": true,
"env": {}
}
// ... other servers ...
}
}
cursor_mcp_config.json in this repo for a template)file-reader-sse)The project-local .mcp.json file is already configured to describe the SSE server (file-reader-sse) running at http://127.0.0.1:8080. Note that the client will likely need to connect to the /sse subpath (http://127.0.0.1:8080/sse).
file-reader) uses ~/mcp_data by default (in your home directory).file-reader-sse) uses ./project_mcp_data_sse by default (within this project directory).Make sure these directories exist before running the respective servers. The ./start_sse.sh script will create ./project_mcp_data_sse if it's missing.
Choose one method:
file-reader via Cursor)file-reader and toggle it ON.file-reader-sse Manually)Use the provided start script. In your terminal:
./start_sse.sh
This script ensures dependencies (including uvicorn, starlette) are installed and runs the Uvicorn ASGI server, loading the Starlette app defined in file_reader_server_sse.py. The Starlette app mounts the MCP server's SSE handler (mcp.sse_app()) at the root path.
The server will start listening on http://127.0.0.1:8080.
~/mcp_data:
read test.txt using the file-reader server
.mcp.json. Reads from ./project_mcp_data_sse:
read sse_test.txt using the file-reader-sse server
(Note: Use the specific server name file-reader-sse and a filename expected in ./project_mcp_data_sse)This project includes a Python client script (file_reader_sse_client.py) and a wrapper shell script (run_sse_client.sh) to test the SSE server independently using the mcp library's SSE client capabilities.
Ensure the SSE server is running (use ./start_sse.sh).
Run the client wrapper script in your terminal:
# Connects, initializes, lists tools, and calls read_file for sse_test.txt
./run_sse_client.sh
# Tries to read a different file (e.g., another_sse.txt)
./run_sse_client.sh another_sse.txt
(The wrapper script ensures dependencies like httpx are installed and uses the correct Python.)
The client will connect to http://127.0.0.1:8080/sse, initialize the MCP session, call the read_file tool by name, and print the response or any errors.
stderr via Cursor logs if startup fails../start_sse.sh), check its terminal output (stderr) for errors, verify the client can reach http://127.0.0.1:8080/sse.stdio server uses file_reader_server.py.sse server uses file_reader_server_sse.py.stderr for both.file_reader_sse_client.py.start_sse.sh.mcp.sse_app()) which is then run by Uvicorn via start_sse.sh.run_sse_client.sh.mcp.client.sse.sse_client and mcp.ClientSession to interact with the server.MIT
file-reader (Stdio):
file_reader_server.py~/.cursor/mcp.json) & Settings toggle.00-MCP-Server-Rules.txt, 00-MCP-Client-Rules.txt~/mcp_datafile-reader-sse (SSE):
file_reader_server_sse.py (defines FastMCP instance and Starlette app)http://127.0.0.1:8080, client connects to /sse path)start_sse.sh (runs uvicorn ...:app)..mcp.json.00-MCP-SSE-Server-Rule.txt, 00-MCP-SSE-Client-Rule.txt./project_mcp_data_sse (relative to project root)Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP File Reader Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-file-reader-server-example)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.