Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.

GitHub MCP Client
A TypeScript client for interacting with GitHub using the Model Context Protocol (MCP) and the Vercel AI SDK with Gemini.
Features
- MCP Integration: Connects to the GitHub MCP server to perform GitHub operations
- AI-Powered: Uses the Gemini model to process natural language queries
- CLI Interface: Provides a command-line interface for interacting with the agent
- Interactive Mode: Supports an interactive chat-like interface
Prerequisites
- Node.js 18 or later
- GitHub Personal Access Token
- Google Gemini API Key
Installation
- Clone the repository:
git clone https://github.com/yourusername/github-mcp-client.git
cd github-mcp-client
- Install dependencies:
npm install
- Create a
.env
file with your API keys:
GITHUB_TOKEN=your_github_personal_access_token
GEMINI_API_KEY=your_gemini_api_key
- Build the project:
npm run build
Usage
CLI Commands
Query Mode
Process a single query:
npm start -- query "Search for repositories related to TypeScript MCP"
Interactive Mode
Start an interactive session:
npm start -- interactive
Or use the shorthand:
npm start -- i
API Usage
You can also use the GitHub MCP client programmatically:
import { GitHubAgent } from 'github-mcp-client';
async function main() {
// Create a GitHub agent
const agent = new GitHubAgent(
'your_github_token',
'your_gemini_api_key'
);
try {
// Process a query
const response = await agent.processQuery(
'Search for repositories related to TypeScript MCP'
);
console.log(response);
} finally {
// Close the agent
await agent.close();
}
}
main().catch(console.error);
Available GitHub Operations
The GitHub MCP client supports the following operations:
- Create a repository
- Search for repositories
- Get file contents
- Create or update files
- Push multiple files
- Create issues
- Create pull requests
- Create branches
- Search code, issues, and users
Development
Project Structure
github-mcp-client/
├── src/
│ ├── client/ # MCP client implementation
│ ├── agent/ # AI agent implementation
│ ├── cli/ # CLI interface
│ ├── config/ # Configuration management
│ └── index.ts # Main entry point
├── dist/ # Compiled JavaScript
├── .env # Environment variables
├── tsconfig.json # TypeScript configuration
└── package.json # Project metadata
Scripts
-
npm run build
: Build the project -
npm start
: Run the CLI -
npm run dev
: Run the CLI in development mode
License
MIT
相关推荐
Text your favorite pet, after answering 10 questions about their everyday lives!
Carbon footprint calculations breakdown and advices on how to reduce it
You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!
Evaluates language quality of texts, responds with a numerical score between 50-150.
Best-in-class AI domain names scoring engine and availability checker. Brandability, domain worth, root keywords and more.
Structured recipes for food and desserts – ingredient lists and step-by-step recipe instructions from any input. Become surprised, try something new or breathe life into grandma's old recipe notebook.
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.
Este proyecto fue creado para demostrar cómo podemos conectarnos con diferentes protocolos de contexto del modelo (MCP).
⛓️Rulego es un marco de motor de regla de orquestación de componentes de alta generación de alto rendimiento, de alto rendimiento y de alto rendimiento para GO.
Traducción de papel científico en PDF con formatos preservados - 基于 Ai 完整保留排版的 PDF 文档全文双语翻译 , 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 等服务 等服务 等服务 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 cli/mcp/docker/zotero
Ejecutar servidores basados en el Protocolo de contexto del modelo existente (MCP) en funciones de AWS Lambda
Una puerta de enlace basada en complementos que orquesta otros MCP y permite a los desarrolladores construir sobre agentes de grado empresarial de TI.
Reviews

user_nuhvH0oH
As a dedicated mcp application enthusiast, I find the GitHub-MCP-Agent developed by objones25 to be immensely useful. This agent seamlessly integrates with GitHub, providing robust automation and efficient management of my projects. It’s user-friendly and significantly streamlines my workflow. Highly recommended!

user_76NIB51G
I've been using github-mcp-agent by objones25, and it's truly a game-changer for developers. It has streamlined my workflow and provided intuitive management of my projects. The integration and support are top-notch, making it an essential tool for anyone serious about efficient coding and project management. Highly recommend!

user_V2H02aie
I've been using the github-mcp-agent for a while now, and it has vastly improved my workflow. Created by objones25, this tool integrates seamlessly with my existing setup. The efficiency and reliability of the agent are top-notch, making my coding tasks much more manageable. I highly recommend it to any developer looking for a robust and user-friendly solution!

user_71cSHuFN
As a dedicated user of mcp applications, I highly recommend the github-mcp-agent created by objones25. This tool is incredibly efficient and user-friendly, enhancing productivity for managing repositories. It seamlessly integrates with GitHub, providing a smooth workflow and powerful features that streamline development tasks. Whether you are a beginner or an experienced developer, this agent will significantly boost your efficiency.

user_GoWT8CU9
As a dedicated user of the github-mcp-agent by objones25, I must say it has significantly streamlined my workflow. Efficient and reliable, this agent seamlessly integrates with my projects, providing robust functionalities that enhance my development experience. Highly recommended for anyone looking to boost their productivity with a dependable tool.