GitHub Copilot App Setup
Add the ASCII Motion MCP server to the GitHub Copilot app, so Copilot sessions can draw, animate and export in an ASCII Motion editor open on the same computer.
Prerequisites
-
The GitHub Copilot app installed and signed in.
-
Node.js 22 or 24, with
npxavailable. -
A desktop browser on the same computer as the Copilot app. Live sync uses a local loopback connection, so it does not work with cloud or remote sessions. See Remote and cloud agents.
-
An existing folder for MCP file output. Create one in a terminal and print its absolute path:
bashmkdir -p ~/ascii-motion-projects && cd ~/ascii-motion-projects && pwdOn macOS this prints something like
/Users/yourname/ascii-motion-projects. You'll paste that path into the server arguments.
Add the server
-
Click Customize in the app sidebar.
-
Click MCP.
-
Choose to add a custom server, and enter:
Field Value Server name ascii-motionServer type Local Command npxArguments -y ascii-motion-mcp@3 --live --project-dir /Users/yourname/ascii-motion-projects --port 9876Replace
/Users/yourname/ascii-motion-projectswith the pathpwdprinted. The folder must already exist, and the app doesn't expand~, so use the full path.Don't repeat npx in Argumentsnpxgoes only in Command. Arguments start at-y. If Arguments also starts withnpx, the server fails to start. -
Save the server. It now appears under Customize → Installed, where you can check its status, edit it, or remove it later.
ascii-motion-mcp@3 runs the latest 3.x release, which these docs and the tool reference describe (verified with 3.0.1). Use 3.0.1 or later in the Copilot app: 3.0.0 crashes when more than one session has the server enabled. To check which version npx runs, use npx -y ascii-motion-mcp@3 --version. It won't jump to a future major version that could change tools. For an ASCII Motion app older than 2.2.6, use the legacy ascii-motion-mcp@2.3.0 instead.
The Copilot app automatically picks up MCP servers configured for Copilot CLI and for your repositories. If you followed the Copilot CLI guide, the server is already available in the app; don't add it twice, or the two copies will compete for the same port.
If the server doesn't start
The Copilot app is a desktop application, so it may not see the PATH from your shell profile. This is common when Node.js is installed with nvm, fnm, Volta or Homebrew. If the server shows as failed under Installed:
- Find the full path to
npxin a terminal: runwhich npxon macOS or Linux, orwhere npxon Windows. - Edit the server and replace the
npxcommand with that full path, for example/opt/homebrew/bin/npx. - If the error mentions
nodenot found, add aPATHenvironment variable to the server that includes the folder containingnode.
If the error says ENOENT with syscall: 'stat' and a path, the --project-dir folder doesn't exist. Create it, or edit the server to use a folder that does, for example the pwd output from Prerequisites.
Connect the editor
The Copilot app starts the server when a session needs it. Connect your browser to that server; don't start another one in a terminal.
-
In a Copilot session, ask:
textUse the ascii-motion MCP server to call get_auth_token and get_connection_status. -
Open ASCII Motion in your browser.
-
Open ☰ → MCP Connection, paste the token into Auth Token, confirm Port is
9876, and click Connect. -
When the status shows Connected, ask Copilot to run the reversible check from Verify the connection.
The token changes whenever the server restarts. If the connection drops after you restart the app or edit the server, repeat these steps.
Each Copilot session that has the server enabled starts its own server process, but only one of them can listen on port 9876. A server claims the port the first time that session uses an ASCII Motion tool, so sessions that never use it don't block anyone. If another session already holds the port, ASCII Motion tools return PORT_IN_USE instead of working. Keep using the session that holds the port, or close it; the next ASCII Motion tool call in your session then claims the port, and you reconnect the editor with the new token.
Try it
Using ascii-motion, add a digital-rain generator layer, then add animated text
that says "HELLO" with a typewriter effect starting at frame 0. Set the frame
rate to 12 fps and show me get_canvas_preview.For more ideas, see Example prompts and the task guides in the sidebar.
What to expect
Version 3 needs ASCII Motion 2.2.6 or later, which ascii-motion.app already runs. While connected, tools go through the open editor: layers, groups, content frames, keyframes, effects, shaders, generators, selection, palettes, import, export and undo. Changes appear immediately, and each one can be undone in the app. Signed-in cloud project tools are still untested; see Cloud projects are untested signed in.
The server lists 216 tools. If your client limits or slows down with many tools, see Discover before you edit.
Troubleshooting
- Server not listed or failed: check Customize → Installed and see If the server doesn't start.
PORT_IN_USEfrom a tool: another Copilot session, terminal or client already used its server on that port. Use ASCII Motion from that session, or close it and retry the tool here. To run both at once, change--portfor one of them and use the same port in the MCP Connection dialog.- Server crashes with
EADDRINUSEon port 9876: you're running 3.0.0. Edit the server so the arguments useascii-motion-mcp@3, then restart it. Ifnpx -y ascii-motion-mcp@3 --versionstill prints 3.0.0,npxis reusing an older copy: runnpm install -g ascii-motion-mcp@latestif you installed it globally, ornpm cache npx rmto clear thenpxcache, and restart the server. - More issues: see Live Sync troubleshooting.