source-sage-mcp-server

source-sage-mcp-server

2

SourceSage MCP is a server application designed to visualize and document project directory structures in a Markdown format. It provides features like auto-documentation, directory tree visualization, and flexible file exclusion patterns, enhancing project understandability and management.

🌟 SourceSage MCP

Overview

SourceSage is an MCP server that visualizes project directory structures in a beautiful Markdown format. Implemented in TypeScript, it offers high customizability and flexible exclusion pattern features. Additionally, it auto-documents the content of each file to provide a comprehensive project overview.

Features

  • Outputs directory structures in Markdown format
  • Beautiful tree structure display
  • Auto-documentation of file contents
  • Flexible exclusion patterns (.SourceSageignore)
  • Latest implementation with ES2022 and Node16
  • High reliability with strict type checking

Usage

  • Install via npm: 'npm install -g @sunwood-ai-labs/source-sage-mcp-server'
  • Build from source:
    1. Clone the repository
    2. Install dependencies
    3. Run build
  • Use as an MCP server by adding configuration to the MCP config file

Development

The project utilizes TypeScript, MCP SDK, Node.js, glob, and ignore packages for various functionalities including async processing and directory structure building.