allenbijo
MCP Serverallenbijopublic

simple mcp client

MCP Client that works with OpenAI and Anthropic

Repository Info

1
Stars
0
Forks
1
Watchers
0
Issues
Python
Language
MIT License
License

About This Server

MCP Client that works with OpenAI and Anthropic

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MCP Client

Overview

This MCP (Model Context Protocol) Client is a command-line tool that allows MCP Servers to interact with both OpenAI's GPT and Anthropic's Claude models. It provides a simple interface for users to send queries and receive responses from either AI model.

Features

  • Supports both GPT and Anthropic models
  • Command-line interface for easy interaction
  • Configuration via mcp_config.json
  • Runs using uv for efficient execution

Requirements

  • Python 3.8+
  • uv (for running the script)
  • OpenAI and Anthropic API keys

Installation

  1. Clone the repository:

    git clone <your-repo-url>
    cd mcp-client
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Set up the mcp_config.json file:

     {
         "mcpServers": {
             "server1": {
                 "command": "uv",
                 "args": [
                     "--directory",
                     "<path to server 1>",
                     "run",
                     "main.py"
                 ]
             },
             "sysinfo2": {
                 "command": "uv",
                 "args": [
                     "--directory",
                     "<path to server 2>",
                     "run",
                     "main.py"
                 ]
             }
         }
     }
    
  4. Set up the environment file (.env)

    API_KEY=<Enter API key>
    

Usage

To start the MCP client, run:

uv run main.py

This will initialize the chat client and allow you to interact with the selected AI model.

Configuration

Modify the mcp_config.json to add or remove servers. Modify the .env to add API Keys.

License

This project is licensed under the MIT License.

Contributions

Feel free to open issues or submit pull requests to enhance functionality!

Quick Start

1

Clone the repository

git clone https://github.com/allenbijo/simple-mcp-client
2

Install dependencies

cd simple-mcp-client
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerallenbijo
Reposimple-mcp-client
LanguagePython
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation