
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.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
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 · 采集于 2026-11-13 11:07:12 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
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.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
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.