Mcp_client_server
@devmadni
关于 Mcp_client_server
This is a Node.js command-line application that integrates with GitHub via the Model Context Protocol (MCP) server and OpenAI's API.
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Mcp_client_server?
Mcp_client_server is a Node.js command-line application that integrates with GitHub via the Model Context Protocol (MCP) server and OpenAI’s API. It allows users to perform GitHub operations (creating repositories, listing repositories) and query OpenAI for GitHub‑related information using context from the MCP server.
How to use Mcp_client_server?
Clone the repository, run npm install, set OPENAI_API_KEY and GITHUB_PERSONAL_ACCESS_TOKEN in a .env file, then start the interactive CLI with node openai-mcp-client.js. Recognized commands include create new repo named <name>, list all repositories, list github api, and natural‑language queries like how to create a pull request.
Key features of Mcp_client_server
- GitHub operations: create and list repositories.
- Query OpenAI with GitHub context from an MCP server.
- Interactive command‑line interface.
- Secure configuration via environment variables.
- On‑demand installation of the GitHub MCP server via npx.
Use cases of Mcp_client_server
- Automating GitHub repository creation from a terminal.
- Listing all repositories in a GitHub account.
- Getting GitHub‑related guidance (e.g., “how to create a pull request”) through OpenAI.
- Testing MCP server integration with a conversational AI.
FAQ from Mcp_client_server
What is Mcp_client_server used for?
It is a CLI tool that combines GitHub operations with OpenAI queries, using the Model Context Protocol to provide GitHub context to the AI.
What dependencies and runtime are required?
Node.js 14 or higher, npm, a GitHub Personal Access Token with repo scope, and an OpenAI API key. The app uses axios, dotenv, and the @modelcontextprotocol/server-github MCP server (installed on demand via npx).
Where do API keys and data live?
API keys are stored in a local .env file (which is git‑ignored). Data queries go directly to GitHub’s API and OpenAI’s API over HTTPS.
What are the known limits or pitfalls?
Commands must be typed exactly as described (e.g., create new repo named my-repo). If the GitHub MCP server fails to start, check the token’s validity and internet connectivity. OpenAI queries fail if the API key is incorrect.
How does authentication work?
GitHub operations are authenticated with a personal access token (GITHUB_PERSONAL_ACCESS_TOKEN). OpenAI queries use an OPENAI_API_KEY. Both are set in the .env file and never committed to version control.
其他 分类下的更多 MCP 服务器
Codelf
unbugA search tool helps dev to solve the naming things problem.
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
评论