loading…
Search for a command to run...
loading…
Enables AI assistants to create, animate, and export ASCII art using natural language, with live browser sync.
Enables AI assistants to create, animate, and export ASCII art using natural language, with live browser sync.
A Model Context Protocol (MCP) server that enables AI assistants to create, animate, and export ASCII art from the ASCII Motion app, using natural language.
ASCII Motion MCP allows you to use AI assistants like Claude, GitHub Copilot, and Cursor to:
All through natural language prompts!
npm install -g ascii-motion-mcp
Verify installation:
ascii-motion-mcp --help
Important: The
--liveflag is required for all setups. Without it, the MCP tools have no visual output. After configuring your client, you must also connect the browser to see your AI's work.
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"ascii-motion": {
"command": "ascii-motion-mcp",
"args": ["--live", "--project-dir", "/path/to/your/projects"]
}
}
}
Restart Claude Desktop after saving.
Install the GitHub Copilot extension
Create .vscode/mcp.json in your workspace:
{
"servers": {
"ascii-motion": {
"command": "npx",
"args": [
"ascii-motion-mcp",
"--live",
"--project-dir",
"${workspaceFolder}"
],
"type": "stdio"
}
}
}
Or if you've installed globally (npm install -g ascii-motion-mcp):
{
"servers": {
"ascii-motion": {
"command": "ascii-motion-mcp",
"args": [
"--live",
"--project-dir",
"${workspaceFolder}"
],
"type": "stdio"
}
}
}
Restart VS Code completely (not just reload window)
Open Copilot Chat - the MCP tools should now be available!
Note: VS Code spawns the MCP server automatically when Copilot needs it. You don't run the server manually.
To see edits in real-time:
# Install GitHub CLI
brew install gh # macOS
# or: winget install GitHub.cli # Windows
# Install Copilot extension
gh extension install github/gh-copilot
# Login
gh auth login
~/.config/gh-copilot/config.yml:mcpServers:
ascii-motion:
command: ascii-motion-mcp
args:
- --live
- --project-dir
- ~/ascii-art-projects
gh copilot chat "Create an 8-frame animation of a bouncing ball"
Cmd+, / Ctrl+,){
"mcp.servers": {
"ascii-motion": {
"command": "ascii-motion-mcp",
"args": ["--live", "--project-dir", "/path/to/projects"]
}
}
}
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"ascii-motion": {
"command": "ascii-motion-mcp",
"args": ["--live", "--project-dir", "/path/to/projects"]
}
}
}
After configuring your AI client, you must connect the ASCII Motion browser app to see visual output:
You should see a green "Connected" status. Now your AI's edits appear in real-time!
ascii-motion-mcp [options]
Options:
-d, --project-dir PATH Project directory for file operations (default: cwd)
-l, --live Enable live browser sync via WebSocket (REQUIRED)
-p, --port PORT WebSocket port for live mode (default: 9876)
-h, --help Show help
-v, --version Show version
Once configured, try these prompts with your AI assistant:
Create Art:
"Create a 40x20 canvas with a pixel art heart in red"
Import & Convert:
"Import the image at ./photo.jpg and convert it to ASCII using block characters"
Animate:
"Create an 8-frame animation of a walking stick figure"
Apply Effects:
"Add a digital rain effect with green characters"
Export:
"Export this animation as a GIF with 2x size"
CLI Components:
"Export as an Ink component for my Node.js CLI app"
set_cell, get_cell, clear_cell, set_cells_batch, paste_ascii_block, fill_region, resize_canvas, clear_canvas
add_frame, delete_frame, duplicate_frame, go_to_frame, list_frames, set_frame_duration, set_frame_name
copy_frame_and_modify, shift_frame_content, flip_region, copy_region_to_frame, interpolate_frames
new_project, save_project, load_project, get_project_info, list_project_files, set_project_name
get_canvas_summary, get_canvas_preview, get_canvas_ascii, get_frame_diff, describe_animation
select_rectangle, select_by_color, get_selection, clear_selection, apply_to_selection, delete_selection_content
list_character_palettes, get_character_palette, list_color_palettes, get_color_palette, get_active_colors, set_foreground_color, set_background_color, set_selected_character, suggest_palette_for_style
import_image, import_video, import_ascii_text
apply_effect, get_color_stats, batch_recolor, batch_replace_char
run_generator, preview_generator
export_text, export_json, export_session, export_html, export_react, export_ansi, export_ink, export_bubbletea, export_opentui, export_image, export_video
undo, redo, get_history_status
The server exposes these resources for state introspection:
project://state - Full project state snapshotproject://canvas - Current frame canvas dataproject://frames - Frame list with metadataproject://selection - Current selection stateproject://history - Undo/redo historyproject://ascii - Plain text ASCII previewnpm install sharpbrew install ffmpegMake sure npm global bin is in your PATH:
npm bin -g
# Add the output to your PATH if needed
Restart your AI client after configuration changes. Check that the config file is valid JSON.
Make sure you're using the --live flag AND have connected the browser via MCP Connection.
MIT License - see LICENSE for details.
Выполни в терминале:
claude mcp add ascii-motion-mcp -- npx Browser automation, scraping, screenshots
автор: MicrosoftBrowser automation and web scraping.
автор: modelcontextprotocolPlugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
автор: opentabs-dev1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
автор: robhunterНе уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse