Back to Home
fub05 icon

MCP---Agent-Starter-Kit

by fub05

Overview

Serves local documents via a REST API for manual retrieval or as a tool for Multi-Agent Collaboration Protocol (MCP) agents.

Installation

Run Command
uvicorn app.server:app --reload --port 8100

Security Notes

The server is vulnerable to path traversal. The `name` parameter in `/tool/get/{name}` and the `read_doc` MCP tool directly use user-supplied input to construct file paths (`BASE / name` and `self.base_docs / name`) without sanitization. An attacker could use `../` to access files outside the intended `docs` directory, leading to arbitrary file disclosure (e.g., `/etc/passwd`).

Similar Servers

Stats

Interest Score33
Security Score3
Cost ClassLow
Avg Tokens750
Stars3
Forks0
Last Update2026-01-19

Tags

FastAPIDocument ServerAgent ToolREST APIMCP