Drama Service
БесплатноНе проверенThin Host Protocol Adapter between an MCP host and the Drama Plugin, exposing plugin tools via MCP with automatic discovery and secure routing.
Описание
Thin Host Protocol Adapter between an MCP host and the Drama Plugin, exposing plugin tools via MCP with automatic discovery and secure routing.
README
drama-mcp-service is the thin Host Protocol Adapter between an MCP host and
the independent Drama Plugin. The Plugin tool registry remains the only source
of tool names, descriptions, input schemas, handlers, and provider routing.
Local setup
Python 3.12 is required. From this directory:
python3.12 -m venv .venv
.venv/bin/pip install -e ../drama-plugin/plugin -e '.[dev]'
The local Python interpreter may be supplied by the existing Plugin virtual
environment when python3.12 is not installed globally.
Local configuration
Copy .env.example to .env, then configure the three
DRAMA_PLUGIN_SERVICE_*_API_TOKEN values to match the Java Drama Service
DRAMA_TOOL_SECRET. Set DRAMA_PLUGIN_MEDIA_IMPORT_ALLOWED_ROOTS to the local
directories from which media imports are allowed. The private .env is ignored
by Git and must not be committed. Restart the MCP Server after changing it.
Run the complete stack
- Start Java Drama Service with
DRAMA_TOOL_SECRETconfigured. - Configure the same value only as the Plugin provider tokens in
.env:DRAMA_PLUGIN_SERVICE_MEMORY_API_TOKEN,DRAMA_PLUGIN_SERVICE_ASSET_API_TOKEN, andDRAMA_PLUGIN_SERVICE_MEDIA_API_TOKEN. - Set
DRAMA_PLUGIN_ROOTandDRAMA_PLUGIN_CONFIGas shown in.env.example. - Run
.venv/bin/drama-mcp-service. - Point the MCP host at
http://127.0.0.1:8765/mcpand runtools/list. - Call a canonical tool such as
work.list_works.
The checked-in Plugin Host configuration is
../drama-plugin/plugin/.mcp.json; it names the formal server drama-tools
and uses the URL above. Restart/reinstall the local Plugin snapshot after a
source checkout change because an already installed Codex cache will retain
its previous MCP server name until refreshed.
The MCP schemas never expose Java URLs, endpoint paths, or provider secrets.
The browser/frontend must never receive provider tokens. Unit tests use the
Plugin's default Mock/Local routing and require no Java or MySQL service.
New Plugin tools, including media.import_media and media.resolve_media, are
discovered automatically; this project contains no media-specific wrapper.
Verify
.venv/bin/python -m pytest -ra
.venv/bin/python -m mypy src/drama_mcp_service
With the full stack running, execute
.venv/bin/python integration/run_mcp_e2e.py. It is intentionally excluded
from regular pytest because it creates temporary E2E_B03_ cloud data.
Установка Drama Service
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/zuimengyz/drama-mcp-serviceFAQ
Drama Service MCP бесплатный?
Да, Drama Service MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Drama Service?
Нет, Drama Service работает без API-ключей и переменных окружения.
Drama Service — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Drama Service в Claude Desktop, Claude Code или Cursor?
Открой Drama Service на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Drama Service with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
