Skip to content

feat: add Node.js MCP server with MCPB and npx distribution #19

@liplus-lin-lay

Description

@liplus-lin-lay

purpose

MCPサーバー部分をNode.jsに移行し、MCPB(Claude Desktop)とnpx(Codex)の両方で配布可能にする。

premise

  • 現在のPython MCPサーバー(stdio)は動作するが、配布が困難(git clone + pip install)
  • MCPBはClaude Desktop向けワンクリックインストール形式(Node.js内蔵)
  • npxはCodex向け標準配布形式
  • Webhook受信サーバー(Python/FastAPI)はそのまま残す
  • events.jsonを共有し、Python書き込み / Node.js読み取りで連携

constraints

  • Node.js >=18
  • Plain JS(TypeScriptなし、ビルドステップ不要)
  • 既存の5ツール(get_pending_status, list_pending_events, get_event, get_webhook_events, mark_processed)を完全互換で移植
  • エンコーディング対応(UTF-8, BOM, cp932, shift_jis)を維持
  • EVENTS_JSON_PATH環境変数でevents.jsonの場所を設定可能

completion condition

  • mcp-server/ディレクトリにNode.js MCPサーバーが存在する
  • 5ツールがstdioで正常動作する
  • manifest.json(MCPB用)とpackage.json(npx用)が整備されている
  • 実際のevents.jsonで動作確認済み

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions