mcp-server-test

mcp-server-test

0

This project is an educational implementation of a Model Context Protocol (MCP) server that provides access to the local filesystem via Go. It highlights various tools and resources for managing files and directories.

Model Context Protocol (MCP) Server - Filesystem Implementation

This project is an educational implementation of an MCP server using Go and the Echo framework. It provides access to the local filesystem through various tools like filesystem.list, filesystem.read, filesystem.write, and filesystem.delete. The project includes basic security measures like path sanitization but emphasizes that additional security steps are necessary for production use.

Features

  • Access to local filesystem via MCP
  • Tools for directory and file management

API Endpoints

  • GET /: Server information
  • POST /v1/discover: Discover server capabilities
  • POST /v1/call-tool: Call a tool
  • POST /v1/load-resource: Load a resource

Getting Started

  • Requires Go 1.24+
  • Install dependencies and run using Go