Skip to main content
Glama
MorvanZhou

Customized MCP Server

by MorvanZhou

Proyecto MCP personalizado

Este proyecto aprovecha la biblioteca mcp con soporte CLI y se integra con la API de OpenAI.

Requisitos

Asegúrese de instalar las dependencias necesarias antes de ejecutar el proyecto:

pip install -r requirements.txt

Related MCP server: mcp-server

Uso

  1. Configure su clave API de OpenAI como una variable de entorno:

    export OPENAI_API_KEY="your-api-key"
  2. Inicie el servidor MCP:

    python server.py
  3. Utilice el cliente para interactuar con el servidor:

    python client.py
  4. Alternativamente, utilice el orquestador para consultar el LLM y las herramientas:

    python main.py

Ejemplo

Consultar la herramienta meteorológica

Ejecute el cliente y llame a la herramienta get_weather :

python client.py

Ejemplo de interacción:

You: List tools
Assistant: {
  "tools": [
    {
      "name": "get_weather",
      "description": "Get weather for a city",
      "parameters": {
        "city": {
          "type": "string",
          "description": "Name of the city"
        }
      }
    }
  ]
}

You: Call get_weather with {"city": "Beijing"}
Assistant: 北京的天气是晴天

Dependencias

  • openai==1.70.0

  • mcp[cli]==1.6.0

Licencia

Este proyecto está licenciado bajo la licencia MIT.

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server built with the mcp-framework to provide weather-related tools and data to AI clients. It enables integration of weather capabilities and custom tools into the MCP ecosystem for use with platforms like Claude Desktop.
    11
  • F
    license
    Not graded
    quality
    C
    maintenance
    A proof-of-concept MCP server that provides weather information using the Open-Meteo API, with tools for greeting, getting weather by coordinates, and by location name.

View all related MCP servers

Related MCP Connectors

  • An MCP server that integrates with Discord to provide AI-powered features.

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • MCP server for OpenAI Sora AI video generation

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MorvanZhou/customized_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server