Hello Plugins
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.mdRelated 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.
Разверните сервер в публичном HTTPS-окружении.
В ChatGPT включите Settings → Security and login → Developer mode.
На экране Plugins нажмите
+и введитеhttps://YOUR-DOMAIN/mcp.Установите созданный персональный Plugin.
В чате 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!"Ссылки
Официальная документация OpenAI Plugin: https://developers.openai.com/plugins
Plugin Quickstart: https://developers.openai.com/plugins/quickstart
Разработка MCP-сервера: https://developers.openai.com/plugins/build/mcp-server
This server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityDmaintenanceA 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
- AlicenseNot gradedqualityDmaintenanceA 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.18MIT
- FlicenseNot gradedqualityCmaintenanceA minimal MCP server offering a hello_world tool that returns a greeting and current UTC time via streamable HTTP.
- -licenseNot gradedqualityCmaintenanceA simple MCP server that provides a 'hello' tool to return a personalized greeting, demonstrating integration with Claude Desktop.
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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