Skip to main content
Glama
dyuhaus

dy-mcp-demo (dy-mcp)

by dyuhaus

dy-mcp-demo

dy-mcp 的公开、无需身份验证的演示 —— 一个 MCP 个人上下文服务器。让你无需安装或配置任何东西,即可尝试服务器公开的所有工具。

在线地址: https://demo-mcp.dyuhaus.com

  • 在浏览器中打开该 URL 以查看编辑风格的 Web 配套界面。

  • 或者将任何支持 MCP 的客户端(Claude Desktop、Claude Code 等)指向 https://demo-mcp.dyuhaus.com/mcp —— 无需身份验证头。

数据是虚构的(一位名叫“Alex Quinn”的虚构作家兼开发者),整个数据库每小时重置一次,所以请随意创建、编辑或删除任何内容。你不会弄坏它的。

关于此演示所克隆的真实、受密码保护的服务器,请参阅 dyuhaus/dy-mcp

与 dy-mcp 有什么相同之处?

所有与 MCP 协议和数据模型相关的内容:

  • 六种类型化上下文:projectideapreferencewriting_styleskillgeneral

  • 全部 12 个工具:get_personal_contextlist_contextsget_contextadd_contextupdate_contextdelete_contextsearch_contextsimport_projectimport_project_sectionlist_project_filesget_project_filedelete_project_file

  • context:// 下的所有 7 个资源。

  • 相同的 SQLite 模式、相同的存储代码、相同的导入器、相同的 HTTP 路由。

Related MCP server: MCP Personal Tools Server

有什么不同?

  • 无身份验证。 /auth/*/oauth/*/.well-known/*、会话 cookie、 密码引导 —— 全部移除。/mcp 是开放的。Web UI 直接启动进入仪表板。

  • 每小时重置。 定时任务会清除数据库并使用虚构角色重新填充(参见 scripts/seed.ts)。

  • 默认端口为 7879,因此它可以与同一台机器上的主 dy-mcp 同时运行。

  • Web 侧边栏显示“PUBLIC DEMO” 和“每小时重置”的提示。

从 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 会注册两个 Windows 定时任务:

  1. dy-mcp-demo-api — 在启动时运行构建好的服务器(端口 :7879)。

  2. dy-mcp-demo-reset — 通过 tsx 每小时运行一次 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。

F
license - not found
-
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

  • F
    license
    -
    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
    -
    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.
    15
    MIT

View all related MCP servers

Related MCP Connectors

  • The personal context layer for AI: your profile and files, read by any MCP client over OAuth.

  • One shared context your team's AI tools read & write over MCP. No re-explaining. Free.

  • Pocket Agent (aipocketagent.com) MCP server — read tools for personas, apps, and product info.

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/dyuhaus/dy-mcp-demo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server