v

vscode-demo-time

@estruyf/vscode-demo-time
Hosted
0 Stars 24 次浏览 estruyf 更新于 2026-08-23

Enables AI assistants to interact with Demo Time and helps build presentations and demos.

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "@demotime/mcp": {
      "args": [
        "@demotime/mcp@0.0.55"
      ],
      "command": "npx"
    }
  }
}

可用工具 (5 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

tavily_search 14 个参数 需填 1 项

Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.

必填参数:query

tavily_extract 6 个参数 需填 1 项

Extract content from URLs. Returns raw page content in markdown or text format.

必填参数:urls

tavily_crawl 11 个参数 需填 1 项

Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.

必填参数:url

tavily_map 8 个参数 需填 1 项

Map a website's structure. Returns a list of URLs found starting from the base URL.

必填参数:url

tavily_research 2 个参数 需填 1 项

Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.

必填参数:input

服务介绍

# Features

  • Scripted Demos: Automate your coding demonstrations to maintain a perfect
    flow.
  • Code Highlighting: Emphasize specific code segments to draw audience
    attention.
  • Integrated Slides: Present slides directly within VS Code for a cohesive
    experience.
  • Customizable Actions: Execute various VS Code commands and tasks as part
    of your demo.
  • PowerPoint Integration: Seamlessly move from slides to code using the
    PowerPoint integration.

# Getting Started

  1. Installation: Install the extension.
  2. Initialization: After installation, initialize the extension in your
    project by opening the Explorer panel in VS Code. Locate the Demo Time
    view and click on the "Initialize" button. This action creates a .demo
    folder in your workspace containing either a demo.json or demo.yaml file,
    depending on your chosen format.
  3. Creating Demos: Populate the act file with your actions, defining each
    step and action as required. More information about the available actions
    can be found in the supported actions
    documentation section.

# Documentation

For detailed instructions, advanced configurations, and best practices, please
refer to the comprehensive documentation available at
https://demotime.show. This resource offers in-depth
guides and examples to help you maximize the extension's capabilities.

# Example act file

Here is an example demo:

{
  "$schema": "https://demotime.show/demo-time.schema.json",
  "title": "Sample demo",
  "description": "This is a sample demo configuration to show the capabilities of the extension.",
  "demos": [
    {
      "title": "Step 1",
      "description": "This is step 1",
      "steps": [
        {
          "action": "create",
          "path": "sample.json",
          "content": "{\n  \"firstName\": \"Elio\",\n  \"lastName\": \"Struyf\"\n}"
        },
        {
          "action": "open",
          "path": "sample.json"
        },
        {
          "action": "highlight",
          "path": "sample.json",
          "position": "2:3"
        }
      ]
    },
    {
      "title": "Step 2",
      "description": "This is step 2",
      "steps": [
        {
          "action": "snippet",
          "contentPath": "./snippets/insert_and_highlight.json",
          "args": {
            "MAIN_FILE": "sample.json",
            "CONTENT_PATH": "content.txt",
            "CONTENT_POSITION": "3",
            "HIGHLIGHT_POSITION": "4"
          }
        }
      ]
    }
  ]
}

You can also explore a comprehensive example in the following GitHub
Repositories:

# Testing

Run linting and unit tests with:

npm run lint
npm test

Tests use Jest with built-in coverage. New tests are
located in the tests/ directory.

# Support

If you enjoy my work and find them useful, consider sponsor me and the ecosystem
to help Open Source sustainable. Thank you!

# License

This project is licensed under the Apache License 2.0 - see the
LICENSE file for details.

相关 MCP 服务