Back to Home
BootcampToProd icon

embabel-mcp-file-server

Verified Safe

by BootcampToProd

Overview

Demonstrates how to build a Model Context Protocol (MCP) Server using Embabel and Spring Boot to expose local file system CRUD operations as tools for external AI agents.

Installation

Run Command
mvn spring-boot:run

Environment Variables

  • OPENAI_API_KEY

Security Notes

The server's file operations are restricted to the application's current working directory (BASE_DIR). It explicitly sanitizes filenames to prevent directory traversal attacks by stripping path components. The main security consideration is ensuring the application is run in a non-sensitive directory and with appropriate OS-level permissions.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens50
Stars0
Forks0
Last Update2025-12-08

Tags

EmbabelMCPAI ToolsFile SystemSpring Boot