MCP ExplorerExplorer

Openai Mcp Client

@leartbeqiraj1on 9 months ago
6 MIT
FreeCommunity
AI Systems
A client for interacting with GitHub MCP Server using AI queries.

Overview

What is Openai Mcp Client

openai-mcp-client is a client application designed to interact with the MCP server for GitHub, enabling users to perform various tasks on their GitHub profiles using AI-powered queries.

Use cases

Use cases include querying commit history, automating repository management tasks, generating HTML pages, and managing pull requests and branches through AI interactions.

How to use

To use openai-mcp-client, first install the MCP server for GitHub using npm. Configure a GitHub Personal Access Token and specify the path to the MCP server executable. You can run the client in simple mode or integrate it with OpenAI for enhanced functionality.

Key features

Key features include the ability to execute GitHub commands via AI queries, create repositories, manage issues, and perform version control tasks directly from the command line.

Where to use

openai-mcp-client can be used in software development, project management, and automation tasks where GitHub is utilized for version control and collaboration.

Content

openai-mcp-client

  • Install mcp server for GitHub:
npm install -g @modelcontextprotocol/server-github

You need to configure two variables:

  1. Generate a GitHub Personal Access Token
  2. Get path to the MCP server executable (used for StdioClientTransport command):
which mcp-server-github

You can run the app on simple mode, which will call a single tool from GitHub MCP Server:

node client.js

Or you can integrate it with OpenAI and it allows you to interact with your GitHub profile through AI-powered queries. Examples below:

Example 1:

node client-with-openai.js "How many commits does my openai-mcp-client repo have that is under my username leartbeqiraj1?"

Example 2:

node client-with-openai.js "Please do the following: * make a simple html page. * create a repository called 'openai-created-this-repo'. * Push the html page to the 'openai-created-this-repo' repository. * Add a little css to the html page and then push it up. * Make an issue suggesting we add some more content on the html page. *  Now make a branch called feature and make that fix and push the change. *  Make a pull request against main with these changes."

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers