Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

Second-Me-Mcp

MCP.Pizza Chef: mindverse

Second-Me-Mcp is an MCP server that acts as a chat client built on the OpenAI GPT model. It supports automatic user intent recognition and dynamic calling of local tool functions via MCP. It enables OpenAI function calling and allows for the extension of tool functionality in real time, facilitating interactive and context-aware workflows.

Use This MCP server To

Enable chat-based user intent recognition and response generation Dynamically call local tool functions based on user input Integrate OpenAI GPT with MCP tool services for enhanced interaction Extend tool functionality dynamically during chat sessions Serve as a backend for AI-powered chat clients with tool integration

README

MCP Client

Overview

This is a chat client built on OpenAI GPT model and MCP tool service, which supports automatic recognition of user intent and calling local tool functions. Support OpenAI function calling and dynamically extending tool functionality.

Requirements

Python Version

  • Python 3.12

Required Packages

  1. openai
  2. mcp (Multi-Component Platform client library)
  3. python-dotenv

Quick start

Configuration

1. Fill in the OpenAI API key in the.env file:
OPENAI_API_KEY=your_api_key_here
2. Define MCP servers in config.json:
{
  "mcpServers": {
    "mindverse": {
      "command": "python",
      "args": ["{Local Path}/Second-Me/mcp/mcp_public.py"]
    }
  }
}

The default configuration is for the MCP service of SecondME. Before using the MCP service of SecondME, please ensure that you have downloaded the latest version of the code and completed registration. After completing the above steps, fill in the local computer path to the corresponding configuration item to start using.

Usage

python mcp_openai_client.py

When the following image appears, it proves that the client is running normally.

quick_start.png

Next, you can ask questions or request access to tools.

query.png

Second-Me-Mcp FAQ

How do I configure the OpenAI API key for Second-Me-Mcp?
Place your OpenAI API key in a .env file with the variable OPENAI_API_KEY=your_api_key_here.
What Python version is required to run Second-Me-Mcp?
Python 3.12 is required to run this MCP server.
How do I define MCP servers for Second-Me-Mcp?
Define MCP servers in the config.json file under the mcpServers section with the appropriate command and arguments.
Can Second-Me-Mcp dynamically extend tool functionality?
Yes, it supports dynamic extension of tool functionality during runtime.
Does Second-Me-Mcp support OpenAI function calling?
Yes, it supports OpenAI function calling to interact with local tools.
What packages are required to run Second-Me-Mcp?
The required packages are openai, mcp client library, and python-dotenv.
Is registration required before using Second-Me-Mcp?
Yes, you must complete registration and download the latest code before use.