manishkandari9/mcp-server
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.