Skip to main content
Glama
dy-mcp-demo (dy-mcp)

dy-mcp-demo (dy-mcp)

by dyuhaus

dy-mcp-demo

dy-mcp のパブリックな認証なしデモです。これはMCP個人コンテキストサーバーです。インストールや設定をすることなく、サーバーが公開するすべてのツールを試すことができます。

ライブURL: https://demo-mcp.dyuhaus.com

  • ブラウザでURLを開くと、エディトリアルスタイルのWebコンパニオンが表示されます。

  • または、MCP対応クライアント(Claude Desktop、Claude Codeなど)から https://demo-mcp.dyuhaus.com/mcp を指定してください(認証ヘッダーは不要です)。

データは架空のものです(「Alex Quinn」という架空のライター兼開発者)。データベース全体が1時間ごとにリセットされるため、作成、編集、削除を自由に行ってください。壊れることはありません。

このデモの元となった、パスワードで保護された実際のサーバーについては、dyuhaus/dy-mcp を参照してください。

dy-mcp と同じ点は?

MCPプロトコルとデータモデルに関するすべて:

  • 6つの型付きコンテキスト: project, idea, preference, writing_style, skill, general。

  • 12のツールすべて: get_personal_context, list_contexts, get_context, add_context, update_context, delete_context, search_contexts, import_project, import_project_section, list_project_files, get_project_file, delete_project_file。

  • context:// 配下の7つのリソースすべて。

  • 同じSQLiteスキーマ、同じストレージコード、同じインポーター、同じHTTPルート。

Related MCP server: MCP Personal Tools Server

何が違うのか?

  • 認証なし。 /auth/*, /oauth/*, /.well-known/*, セッションクッキー、パスワードブートストラップなどはすべて削除されています。/mcp はオープンです。Web UIは直接ダッシュボードに起動します。

  • 1時間ごとのリセット。 スケジュールされたタスクがDBを消去し、架空の人物データで再シードします(scripts/seed.ts を参照)。

  • デフォルトポートは 7879 です。これにより、同じマシン上でメインのdy-mcpと並行して実行できます。

  • Webサイドバーに「PUBLIC DEMO」 と「1時間ごとにリセット」という注記が表示されます。

MCPクライアントから試す

Claude Code

claude mcp add --transport http dy-mcp-demo https://demo-mcp.dyuhaus.com/mcp

Claude Desktop / 設定ファイルを使用するクライアント

{
  "mcpServers": {
    "dy-mcp-demo": {
      "transport": "http",
      "url": "https://demo-mcp.dyuhaus.com/mcp"
    }
  }
}

curl

# list all tools
curl -sS -X POST https://demo-mcp.dyuhaus.com/mcp \
  -H "content-type: application/json" \
  -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# call a tool
curl -sS -X POST https://demo-mcp.dyuhaus.com/mcp \
  -H "content-type: application/json" \
  -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_personal_context","arguments":{}}}'

ローカルでデモを実行する

npm install
npm run build
npm run seed       # wipe + reseed the demo DB
npm run web:build
npm run start:api  # http://localhost:7879

Web UIはAPIと同じポートで提供されます。

開発ループ:

npm run dev:api    # backend with tsx watch
npm run web:dev    # vite dev server on :5173

HTTPエンドポイント

メソッド

パス

ボディ / クエリ

GET

/health

{ ok, demo: true, resets_every_minutes, counts } を返す

GET

/contexts

?type=&tag=&parent_id=&limit=&offset=

POST

/contexts

{ type, title, content?, tags?, metadata?, parent_id? }

GET

/contexts/:id

—

PATCH

/contexts/:id

追加ボディの任意のサブセット

DELETE

/contexts/:id

—

GET

/search

?q=&type=&limit=

GET

/activity

?limit= — インメモリリングバッファ、500エントリ、最新順

GET

/export

完全なペイロードスナップショット

GET

/tools

ツール + リソースのカタログ(/Toolsページを駆動)

GET

/contexts/:id/files

?section=

GET

/files/:id

—

DELETE

/files/:id

—

POST

/import/project

{ path, name?, description?, tags?, include_content?, … }

POST

/import/section

{ path, section_name, parent_project_id?, … }

POST

/mcp

ストリーム可能なHTTP経由のMCP(ステートレス、シングルラウンドトリップ)

ホスティング

同梱の scripts/install-demo-task.ps1 は、2つのWindowsスケジュールタスクを登録します:

  1. dy-mcp-demo-api — 起動時に :7879 でビルド済みサーバーを実行します。

  2. dy-mcp-demo-reset — tsx を介して1時間ごとに scripts/seed.ts を実行します。

Cloudflareトンネルを任意のホスト名で http://localhost:7879 に向けてください。正確なコマンドについては CLAUDE.md を参照してください。

環境変数

変数

デフォルト

DY_MCP_DB_PATH

~/.dy-mcp-demo/context.db

DY_MCP_API_PORT

7879

DY_MCP_API_ORIGIN

*

DY_MCP_DEMO_RESET_MIN

60 (情報用)

DY_MCP_WEB_DIST

<repo>/web/dist

VITE_API_BASE_URL

(同じオリジン)

ライセンス

MIT。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A demonstration server showing MCP implementation in Python with resource handling, tool operations, and reusable prompts for a simple user/post system with local database.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A demonstration Model Context Protocol server that includes a web-based interface for managing persistent configurations. It provides foundational tools for greeting, echoing input, and retrieving or updating server settings through MCP.
      MIT