mcp-server
0
The MCP Server is a modular server designed to interact with GitHub repositories and execute various utility tasks through HTTP and stdio transports. It offers flexible tool capabilities and supports cross-origin requests.
MCP Server
A modular Model Control Protocol (MCP) server that provides tools for interacting with GitHub repositories.
Features
- Modular design with extensible tool handlers
- Support for both HTTP and stdio transport
- GitHub repository analysis tools
- Command execution capability
- CORS support for cross-origin requests
Available Tools
- Get current time
- Perform simple calculations
- Get mock weather data
- Clone and analyze GitHub repositories
- Execute system shell commands
API Endpoints
- GET /initialize: Initialize and get available tools
- GET /list_tools: List all tools
- POST /execute_tool: Execute a tool with arguments
Extending the Server
Create a new handler class, implement the execute
method, and register in the server setup.