Skip to main content
Glama
synabreu

Hello Plugins

by synabreu

Hello, Plugins! — Python OpenAI Plugin

Ejemplo mínimo de plugin de OpenAI que devuelve exactamente Hello, Plugins! al llamar a la herramienta hello_plugins.

Un plugin de OpenAI puede configurarse como Skill, servidor MCP or ambbos. Este proyecto es la forma más pequeña que requiere código ejecable, por lo que usa un único servidor MCP de Python. Al no llmar directamente a la API de OpenAI, tampoco se necesita OPENAI_API_KEY.

Estructura del proyecto

hello-plugins-python/
├── server.py          # MCP 서버와 hello_plugins 도구
├── test_server.py     # 반환 문자열 테스트
├── requirements.txt  # 고정된 Python 의존성
├── pyproject.toml
├── Dockerfile
└── README.md

Related MCP server: hello-mcp

Ejecución en Windows 11 / PowerShell

Se requiee Python 3.10 o superior.

cd hello-plugins-python
py -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements.txt
python server.py

Después de la ejecución, la direrección MCP Streamable HTTP es la siguiente:

http://localhost:8000/mcp

Si la política de ejecución de PowerShell impide la activación del entorno virtual, ejecute primero el siguiente comando solo en la terminal actual.

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

Ejecución en macOS / Linuux

cd hello-plugins-python
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
python server.py

Prueba

python -m pytest -q
python verify_mcp.py

Resultado espero:

1 passed
MCP verification passed: Hello, Plugins!

Comprobación con MCP Inspector

Si tiene Node.js instalado, ejecute lo siguiente:

npx @modelcontextprotocol/inspector

En MCP Inspector, seleccione Transport como Streamable HTTP e introduzca http://localhost:8000/mcp en la URL. Tras conectar, al llamar a la herramienta hello_plugins se devuelve la siguiente cadena:

Hello, Plugins!

Conexión de un plugin personal a ChatGPT Work

Como ChatGPT no puede acceder directamente a localhost el PC local, para probar el plugin debe publicar el endpoint /mcp en una dirección HTTPS pública o usar OpenAI Secure MCP Tunnel.

  1. Despliegue el servidor en un entorno HTTPS público.

  2. En ChatGPT, active Settings → Security and login → Devveloper mode.

  3. En la pantalla de Plugins, pulse + e introduzca https://YOUR-DOMAIN/mcp.

  4. Instale el plugin personal generado.

  5. En el chat de Work, seleccione @Hello Plugins y solicite «imprime el saludo del plugin».

Ejecución con Docker

docker build -t hello-plugins .
docker run --rm -p 8000:8000 hello-plugins

Código principal

@mcp.tool(
    name="hello_plugins",
    description="Return the exact greeting 'Hello, Plugins!'. This tool is read-only.",
)
def hello_plugins() -> str:
    return "Hello, Plugins!"

Referencia

F
license - not found
Not graded
quality - not tested
C
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

  • A
    license
    Not graded
    quality
    D
    maintenance
    A minimal Model Context Protocol server that facilitates network-based client connections using Streamable HTTP transport. It provides a greeting tool and is optimized for consistent deployment across local environments, Docker, and Kubernetes.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A minimal learning-focused MCP server that demonstrates core primitives like tools and resources through simple greeting functions. It provides a foundational example for connecting AI models to external data using both Streamable HTTP and stdio transports.
    18
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    A minimal MCP server offering a hello_world tool that returns a greeting and current UTC time via streamable HTTP.
  • -
    license
    Not graded
    quality
    C
    maintenance
    A simple MCP server that provides a 'hello' tool to return a personalized greeting, demonstrating integration with Claude Desktop.

View all related MCP servers

Related MCP Connectors

  • Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.

  • MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

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/synabreu/hello-plugins-python'

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