mcp
Provides tools for interacting with the GitHub API, enabling AI agents to manage repositories, commits, search, and other GitHub operations.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Server Project
A simple project demonstrating how to build and use MCP (Model Context Protocol) servers.
Quick Start
Install dependencies:
pip install -r requirements.txtConfigure MCP server in Windsurf/Claude Desktop:
{
"mcpServers": {
"github": {
"command": "python",
"args": ["/path/to/server/github.py"],
"env": {
"GITHUB_TOKEN": "your_github_token_here (see .env.example)"
}
},
"database": {
"command": "python",
"args": ["/path/to/server/database.py"]
}
}
}Use with LLM:
Start Windsurf/Claude Desktop
Ask: "Show me octocat's repositories"
LLM will automatically call the MCP server tools
Related MCP server: GitHub MCP Server
π Live Deployment
This MCP server is deployed and available for testing at:
URL:
https://my-mcp.fastmcp.app/mcpStatus: Production ready
Using the Deployed Server
Configure Windsurf to use the deployed endpoint:
{
"mcpServers": {
"github-mcp-deployed": {
"url": "https://my-mcp.fastmcp.app/mcp",
"disabled": false
}
}
}Test the deployed server:
Ask any LLM with MCP support: "Show me repositories for gn1264"
The deployed server will respond with GitHub data
Benefits of Deployed Server
β No local Python environment required
β Always available and reliable
β Managed infrastructure
β Same functionality as local version
Testing (Optional)
For development and testing:
# Test GitHub server
python testing/test_github_server.py get-repos octocat
# Test Database server
python testing/test_database_server.py query "SELECT * FROM users"Project Structure
mcp/
βββ server/ # MCP servers
β βββ github.py # GitHub API server
β βββ database.py # Database server
βββ client/ # Real LLM client
β βββ mcp_client.py # LLM integration example
βββ testing/ # Server testing utilities
β βββ test_github_server.py # Test GitHub server
β βββ test_database_server.py # Test Database server
βββ simple.db # Sample database file
βββ requirements.txt # Dependencies
βββ README.md # This file
βββ learn.md # Learning guideMCP Servers
Both servers are independent and demonstrate different use cases:
GitHub Server (server/github.py)
Purpose: Demonstrates how GitHub MCP servers work in the market
Use Case: Public GitHub API access for general users
Tools: GitHub API operations (get repos, commits, search, etc.)
Similar to: Commercial GitHub MCP integrations
Database Server (server/database.py)
Purpose: Shows enterprise database integration patterns
Use Case: Internal database access in enterprise environments
Tools: SQL query execution
Similar to: Custom internal MCP servers for company data
Testing vs Real Usage
Testing Utilities (testing/)
Direct tool calls to test server functionality
Manual tool selection
LLM Client (client/mcp_client.py)
Real MCP usage with LLM integration
Dynamic tool selection
Learning
See learn.md for detailed explanations of MCP concepts and how this project works.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Create, deploy, and operate MCP servers directly from your GitHub repositories.
Hosted SQL Server MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA collection of production-ready MCP servers for PostgreSQL, SQLite, Redis, File System, and GitHub API, enabling database operations, file management, and GitHub interactions through natural language.2MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides tools for interacting with the GitHub API, enabling AI assistants to query repositories, pull requests, issues, commits, users, and more.494 npmISC
- AlicenseBqualityCmaintenanceA comprehensive MCP server that exposes 73 GitHub API tools for managing repositories, pull requests, issues, actions, releases, search, and more, enabling natural language control of GitHub.73MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that exposes tools to search and list GitHub repositories synced to SQLite, enabling natural language queries for top repos by stars or by name.MIT