loading…
Search for a command to run...
loading…
An MCP server that enables AI assistants to fetch public GitHub repository lists for any username via HTTP or stdio transports. It provides a specialized tool f
An MCP server that enables AI assistants to fetch public GitHub repository lists for any username via HTTP or stdio transports. It provides a specialized tool for repository retrieval and supports both remote web server and local integration modes.
A Model Context Protocol (MCP) server that provides GitHub repository information via both HTTP and stdio transports. This server enables AI assistants and other MCP clients to fetch GitHub repositories for any user.
git clone https://github.com/kh-mahmoud/streamable-mcp.git
cd streamable-mcp
npm install
npm run build
Start the server in HTTP mode:
npm run server
The server will start on http://localhost:3000 (or the port specified in PORT environment variable).
API Endpoint:
/mcp - MCP JSON-RPC endpointFor local MCP client integration:
node build/index.js stdio
Run with hot-reload during development:
npm run server
Inspect the MCP server:
npm run inspect
get_reposFetches all public repositories for a given GitHub username.
Parameters:
username (string): GitHub username to fetch repositories forReturns:
## 📁 Project Structure
```bash
http_mcp/
├── src/
│ └── index.ts # Main server implementation
├── build/
│ └── index.js # Compiled JavaScript
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
└── Readme.md # This file
npm run build: Compile TypeScript to JavaScriptnpm start: Start the HTTP servernpm run server: Start development server with hot-reloadnpm run inspect: Inspect MCP server with MCP InspectorTo use this server with an MCP client, configure it in your MCP client settings:
For stdio mode:
{
"mcpServers": {
"http_mcp": {
"command": "node",
"args": ["path/to/build/index.js"]
}
}
}
For HTTP mode:
npm i mcp-remote
"http-mcp": {
"command": "mcp-remote",
"args": [
"http://localhost:3000/mcp" or "your/deployment/link/mcp"
],
"env":{
"NODE_OPTIONS":"--no-deprecation"
}
}
⭐ If you find this project useful, please consider giving it a star!
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"http-mcp-server": {
"command": "npx",
"args": []
}
}
}