Skip to main content
Glama

Kanvas

Kanvas is your agent's screen: a visual surface for you and your AI agents, in any browser, at any size. There is no intelligence inside Kanvas; the agent decides what to show, and Kanvas renders it and reports back.

You talk or type to your agent, and the relevant thing appears on the screen: a chart, a checklist, a map, a code snippet, a plan, an email draft, a calendar. You react, it changes. The goal is the shortest time to clarity, like working through a problem with a colleague at a whiteboard.

See all screenshots

There is a hosted version of Kanvas that is free to try. Add the connector https://kanvas.host/mcp to your agent, open kanvas.host in a browser on any screen, and ask your agent to show you something. Setup guides for each agent are at open-kanvas.ai.

What is in this repository

The complete Kanvas application: the server, the web client and the agent-facing MCP interface, in one TypeScript package.

  • Two MCP tools. Agents use exactly kanvas_discover and kanvas_call. Discovery lists, searches and explains; call executes any operation from a large built-in catalog (publish, patch, navigate, point, share, monitor, checklists, settings...). Full operation reference.

  • Native templates. Charts, tables, code, maps, diagrams, itineraries, checklists, planners, signage, media and more, each with a schema the agent fills in. Templates are what make Kanvas fast: the agent sends data, not markup, so a view appears almost instantly. Template guides.

  • Custom HTML. For anything the templates do not cover, the agent can publish its own HTML, so Kanvas can show anything you like. It is slower to produce and less uniform, which is why it is the fallback, not the default.

  • Multi-screen sessions. A phone, a laptop and a room display can each show a different view of the same session; views are retained and browsable.

  • Accounts and access. Email sign-in, device approval, session permissions, sharing and invitations.

Kanvas does not run a language model, fetch your source data or listen to your microphone. Content is preserved as supplied and private unless you choose otherwise.

Related MCP server: Napkin

How the code is organised

src/server/ — Node server: HTTP app, domain model, PostgreSQL store, auth
src/server/mcp/ — the two tools, operation registry, discovery, guidance
src/client/ — React viewer, workspace and one renderer per template
src/shared/ — template schemas, types and the help catalog used by both
docs/ — architecture, integration, operations, templates
tests/ — unit (vitest), MCP contract and end-to-end (playwright)

A template lives in three places: its schema in src/shared/view-schemas.ts, its renderer in src/client/renderers/, and its help entry in src/shared/help.ts. Start there to add or change one.

Run it

Self-hosting needs Node.js 24+, PostgreSQL 15+ and a public HTTPS origin. Follow docs/operations/self-hosting.md, or hand this repository URL to your agent and ask it to install and verify it.

Contribute

Kanvas has a deliberate philosophy: a light visual surface with no intelligence inside, native templates first, built for low-latency, live interaction between a person and their agent. Before proposing a feature, read the yardstick in CONTRIBUTING.md. We want Kanvas to stay lightweight, so we are careful about changes that add intelligence or logic that belongs in the agent. New and better templates are the most welcome kind of contribution.

CONTRIBUTING.md covers local development and tests. Documentation map: docs/README.md. Security policy: SECURITY.md.

Schemas are always taken from the running instance at /docs/; release identity lives in package.json and /readyz (deployment packages may also provide /version.json).

License

Kanvas is licensed under the Apache License, Version 2.0. See LICENSE. Third-party code, data and assets retain their own terms; see NOTICE and the complete licence index and unresolved rights. "Kanvas" and the Kanvas logo are trademarks of the project and are not covered by the license.

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

    • A
      license
      A
      quality
      D
      maintenance
      A minimal MCP server for AI-driven canvas manipulation and visualization using tldraw. It enables AI clients to programmatically create, update, and manage shapes, flowcharts, and frames on a live interactive canvas.
      9
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A shared whiteboard for you and your AI agent I wanted my AI agent and me to be able to point at the same thing. Any MCP-capable agent can read the canvas, draw on it, drop thought bubbles, animate elements, and react when you sketch something.
      1
      MIT