mcp-server

manishkandari9/mcp-server

3.1

If you are the rightful owner of mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The MCP Server is a powerful backend service built in Go, designed to provide real-time access, browsing, and future GitHub integration for seamless code project management and AI-assisted workflows.

🧠 MCP Server — Modular Code Platform Server (v1)

A powerful backend service built in Go that provides real-time access, browsing, and future GitHub integration for seamless code project management and AI-assisted workflows.


šŸš€ Features (v1)

  • āœ… Modular Go Project Structure
  • 🌲 File Tree API: Get a real-time directory structure as JSON
  • 🌐 HTTP Server with CORS and Routing (using gorilla/mux)
  • 🧩 Middleware-ready setup
  • šŸ’” Clean code architecture (cmd, internal, pkg)
  • šŸ› ļø Ready for future GitHub integration (v2)

šŸ› ļø Project Structure

 ## šŸ› ļø Project Structure ``` mcp-server/ ā”œā”€ā”€ cmd/ # Main application entry (main.go) │ └── main.go ā”œā”€ā”€ internal/ # Internal application logic │ ā”œā”€ā”€ api/ # HTTP handlers │ │ └── filetree.go │ ā”œā”€ā”€ middleware/ # Middleware components │ └── config/ # Config & constants (future) ā”œā”€ā”€ pkg/ # Reusable utilities │ └── utils/ # File tree logic ā”œā”€ā”€ go.mod # Go module definition └── README.md # You're here! ``` 

šŸ“¦ File Tree API (v1)

Returns the recursive directory structure from root (.)

URL: GET /filetree

Sample Response:

[
  {
    "name": "cmd",
    "path": "cmd",
    "isDir": true,
    "children": [
      {
        "name": "main.go",
        "path": "cmd/main.go",
        "isDir": false
      }
    ]
  }
]

šŸ“ Future Roadmap (v2+) Feature Status GitHub Repo Integration šŸ• Planned AI Copilot-like context support šŸ• Planned Token-based Authentication šŸ• Planned OAuth GitHub Login šŸ• Planned MCP Desktop Agent / Client App šŸ• Planned Project Metadata & Caching Layer šŸ• Planned

āš™ļø Getting Started 1ļøāƒ£ Clone the Repo

git clone https://github.com/manishkandari9/mcp-server.git
cd mcp-server

2ļøāƒ£ Install Dependencie

go mod tidy

3ļøāƒ£ Run Server

cd cmd
go run main.g
Server will start at: http://localhost:8080

🧱 Tech Stack

Language: Go (v1.20+)

Router: Gorilla Mux

CORS: github.com/rs/cors

šŸ”® Roadmap (v2 Preview)

šŸ” GitHub OAuth Integration

šŸ“‚ Browse Repositories & Files via GitHub API

šŸ“„ Clone and parse GitHub repositories

šŸ¤– AI/Agent-ready endpoints for Copilot-style assistants

šŸ¤ Contributing

Pull requests are welcome. For major changes, open an issue first to discuss what you would like to change.