I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

MCP-Local-Datei-Server
Servidor Para acessar e Manipuläre Arquivos Locais usando MCP
1
Github Watches
1
Github Forks
0
Github Stars
MCP Local File Server
Servidor para acessar e manipular arquivos locais usando MCP (Managed Control Panel).
Instalação
- Clone o repositório:
git clone https://github.com/fmorus/mcp-local-file-server.git
cd mcp-local-file-server
- Instale as dependências:
npm install
- Inicie o servidor:
npm start
O servidor estará rodando em http://localhost:3000
API Endpoints
Listar Arquivos
-
GET
/files?dir={diretório}
- Lista todos os arquivos em um diretório
- O parâmetro
dir
é opcional (padrão: diretório atual)
Ler Arquivo
-
GET
/file?path={caminho_do_arquivo}
- Lê o conteúdo de um arquivo
Upload de Arquivo
-
POST
/file
- Faz upload de um arquivo
- Use
multipart/form-data
com o campofile
Atualizar Arquivo
-
PUT
/file
- Atualiza o conteúdo de um arquivo
- Body:
{ "path": "caminho_do_arquivo", "content": "novo_conteudo" }
Deletar Arquivo
-
DELETE
/file?path={caminho_do_arquivo}
- Remove um arquivo ou diretório
Exemplo de Uso
// Listar arquivos
fetch('http://localhost:3000/files')
.then(response => response.json())
.then(files => console.log(files));
// Ler arquivo
fetch('http://localhost:3000/file?path=/caminho/do/arquivo.txt')
.then(response => response.json())
.then(data => console.log(data.content));
// Upload de arquivo
const formData = new FormData();
formData.append('file', arquivoParaUpload);
fetch('http://localhost:3000/file', {
method: 'POST',
body: formData
});
// Atualizar arquivo
fetch('http://localhost:3000/file', {
method: 'PUT',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
path: '/caminho/do/arquivo.txt',
content: 'Novo conteúdo'
})
});
// Deletar arquivo
fetch('http://localhost:3000/file?path=/caminho/do/arquivo.txt', {
method: 'DELETE'
});
Segurança
⚠️ Atenção: Este servidor tem acesso total aos arquivos do sistema. Use com cautela e apenas em ambientes confiáveis.
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Converts Figma frames into front-end code for various mobile frameworks.
Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.
Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.
Ein einheitliches API-Gateway zur Integration mehrerer Ethercan-ähnlicher Blockchain-Explorer-APIs mit Modellkontextprotokoll (MCP) für AI-Assistenten.
Mirror ofhttps: //github.com/bitrefill/bitrefill-mcp-server
Reviews

user_h4TQke2d
As a devoted MCP application user, I highly recommend mysql-mcp-server by MCP-Mirror. This server offers excellent performance and stability for database management. The seamless integration and easy-to-navigate interface make it a top choice for developers. For more details, visit: https://mcp.so/server/Mineru98_mysql-mcp-server/MCP-Mirror