Skip to main content
Glama
synabreu

Hello Plugins

by synabreu

Hello, Plugins! — Python OpenAI Plugin

Это минимальный пример OpenAI Plugin, который при вызове инструмента hello_plugins возвращает ровно Hello, Plugins!.

OpenAI Plugin может состоять из Skill, MCP-сервера или того и другого. Этот проект представляет собой наименьшую форму, для которой требуется исполняемый код, поэтому здесь используется только один Python MCP-сервер. Поскольку OpenAI API напрямую не вызывается, OPENAI_API_KEY также не требуется.

Структура проекта

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

Related MCP server: hello-mcp

Запуск в Windows 11 / PowerShell

Требуется Python 3.10 или выше.

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

После запуска адрес MCP Streamable HTTP будет следующим:

http://localhost:8000/mcp

Если политика выполнения PowerShell блокирует активацию виртуального окружения, сначала выполните следующую команду только в текущем терминале:

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

Запуск в macOS / Linux

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

Тестирование

python -m pytest -q
python verify_mcp.py

Ожидаемый результат:

1 passed
MCP verification passed: Hello, Plugins!

Проверка с помощью MCP Inspector

Если установлен Node.js, выполните следующее:

npx @modelcontextprotocol/inspector

В Inspector выберите Transport — Streamable HTTP и введите http://localhost:8000/mcp в поле URL. После подключения вызовите инструмент hello_plugins — будет возвращена следующая строка:

Hello, Plugins!

Подключение к ChatGPT Work в качестве персонального Plugin

Поскольку ChatGPT не может напрямую обратиться к localhost локального ПК, для тестирования необходимо развернуть эндпоинт /mcp по публичному HTTPS-адресу или использовать OpenAI Secure MCP Tunnel.

  1. Разверните сервер в публичном HTTPS-окружении.

  2. В ChatGPT включите Settings → Security and login → Developer mode.

  3. На экране Plugins нажмите + и введите https://YOUR-DOMAIN/mcp.

  4. Установите созданный персональный Plugin.

  5. В чате Work выберите @Hello Plugins и попросите: «Выведите приветствие плагина».

Запуск в Docker

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

Основной код

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

Ссылки

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