Customized MCP ServerServer

MorvanZhou
GitHub
MCPOpenAIWeather

Loading subscription status...

💡 Description

An MCP server that integrates the `mcp` library with OpenAI's API, allowing users to interact with various tools, such as weather information retrieval, through natural language queries.

📝 JSON Entries

{
  "mcpServers": [
    {
      "Customized MCP Server": {
        "env": {
          "OPENAI_API_KEY": "your-api-key"
        },
        "args": [],
        "command": "python server.py"
      }
    }
  ]
}

🛠️ Tools

weather retrievalOpenAI API

Features

  • Natural language queries
  • Integration with OpenAI's API
  • Weather tool functionality

💬 Example Queries

  • List tools
  • Call get_weather with {"city": "Beijing"}