Patrick Rathje
commited on
Commit
·
7d01915
1
Parent(s):
f36616f
Update description
Browse files
README.md
CHANGED
|
@@ -14,9 +14,10 @@ tags:
|
|
| 14 |
|
| 15 |
# Filesystem MCP Server
|
| 16 |
|
| 17 |
-
This is a simple MCP server based on Gradio that allows you to read and write files to a local directory.
|
| 18 |
-
|
| 19 |
-
|
|
|
|
| 20 |
|
| 21 |
## Run
|
| 22 |
|
|
|
|
| 14 |
|
| 15 |
# Filesystem MCP Server
|
| 16 |
|
| 17 |
+
This is a simple MCP server based on Gradio that allows you to read and write files to a local directory. Please note that this code is a proof of concept and not meant for production.
|
| 18 |
+
You can configure whether you want to allow editing the files by setting the environment variable `ALLOW_EDITING`. The files reside in `/app/files`. Using Docker, you can mount external directories as well.
|
| 19 |
+
The API is a simpler version of https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem .
|
| 20 |
+
|
| 21 |
|
| 22 |
## Run
|
| 23 |
|
app.py
CHANGED
|
@@ -65,10 +65,9 @@ with gr.Blocks() as demo:
|
|
| 65 |
|
| 66 |
gr.Markdown("""
|
| 67 |
# Filesystem MCP Server
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
The API is a simpler version of https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem .
|
| 71 |
-
Please note that this code is a proof of concept and not meant for production.
|
| 72 |
""")
|
| 73 |
|
| 74 |
with gr.Tab("Read File"):
|
|
|
|
| 65 |
|
| 66 |
gr.Markdown("""
|
| 67 |
# Filesystem MCP Server
|
| 68 |
+
This is a simple MCP server based on Gradio that allows you to read and write files to a local directory. Please note that this code is a proof of concept and not meant for production.
|
| 69 |
+
You can configure whether you want to allow editing the files by setting the environment variable `ALLOW_EDITING`. The files reside in `/app/files`. Using Docker, you can mount external directories as well.
|
| 70 |
+
The API is a simpler version of https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem .
|
|
|
|
| 71 |
""")
|
| 72 |
|
| 73 |
with gr.Tab("Read File"):
|