0.0.17 • Published 5 months ago
@demotime/mcp v0.0.17
Demo Time MCP
Demo Time MCP is a package that provides Model Context Protocol (MCP) server capabilities for the Demo Time extension. It enables advanced scripting, automation, and integration features for live coding demos and presentations in Visual Studio Code.
What this package does
This package implements a Model Context Protocol (MCP) server for Demo Time. It enables AI assistants and other MCP-compatible clients to:
- Search through Demo Time documentation using natural language queries
Usage
To set up and use the MCP server, refer to the instructions for your MCP host, such as Visual Studio Code. The Demo Time MCP server is published on npm under @demotime/mcp.
Use the following values:
- Type:
stdio - Command:
npx - Arguments:
-y@demotime/mcp
- Environment:
none
Configuration for Visual Studio Code
Configure the MCP server in your workspace by creating or editing .vscode/mcp.json:
{
"servers": {
"Demo Time": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@demotime/mcp"],
}
}
}- Reconnect the MCP server in Visual Studio Code
Example Demo Step (Open a File)
{
"action": "open",
"path": "src/content/docs/actions/file.mdx"
}Resources
License
See LICENSE for details.