Skip to main content
Glama

Visthinker

Interact, play, learn and contribute.

A shared canvas where Claude sees your drawing as data, not pixels.

CI License: MIT

🚧 Early days. Visthinker is being built in the open toward its first release, v0.1.0. The demo GIF arrives with it.

What it is

You draw on a canvas, and every stroke, shape and tap reaches Claude as structured events instead of a screenshot. Claude understands what you drew and answers on the same canvas. The first game is tic-tac-toe: you draw the grid, you play X, Claude plays O.

Related MCP server: tl-draw-mcp

Try it

The canvas runs on its own today. You need Node 24 and pnpm.

pnpm install
pnpm dev

Then open the address it prints. Draw with the pen, or place boxes, circles and arrows from the toolbar, and watch each one arrive as an event in the story panel.

Play with Claude

Once the visthinker package is on npm, adding it to Claude Code is one line:

claude mcp add visthinker -- npx visthinker

It isn't published yet. Until then, build it from this repo and point Claude Code at the built file:

pnpm install && pnpm build
claude mcp add visthinker -- node "$PWD/packages/visthinker/dist/visthinker.js"

Then ask Claude to open the canvas, place a tic-tac-toe board from the toolbar, and tap a cell to play X.

How it works

part

what it does

status

πŸ–ΌοΈ Canvas

React + Konva in your browser: ink, shapes, arrows, the live story

βœ… working

πŸ“œ Contract

the shared shapes: events, scene objects, strokes, MCP tools, packs

βœ… working

🧠 Core

pure TypeScript: the event story, the scene, the game blocks and packs; the recognizer that turns strokes into lines and cells is next

🚧 in progress

πŸ”Œ Bridge

a local MCP server that connects the canvas to Claude Code

βœ… working

πŸ“¦ Packs

games and knowledge as small data packs, not code changes

βœ… working

Layout

packages/contract   the shared shapes, as Zod schemas
packages/core       the Fast Brain: no React, no Konva, no Node
packages/bridge     the MCP server
packages/visthinker the npm package: the bridge bundled with the canvas and packs
apps/canvas         the React + Konva app
packs/              the starter packs: shapes, tic-tac-toe

Imports go one way: the canvas uses the core, and the core uses only the contract. Lint enforces it.

Open core

The app runs fully on your machine and is open source under the MIT licence. An optional hosted API adds more later, and you can plug in your own.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides a collaborative SVG canvas that allows Claude to create, read, and manipulate graphics in real-time through a browser-based Fabric.js editor. It enables seamless bidirectional interaction between the AI and user for visual tasks like UI prototyping, diagramming, and template management.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude to draw on a live tldraw canvas from prompts, with real-time visualization in a browser. Provides tools for creating, updating, deleting shapes and retrieving canvas state.
      16
      MIT