A few months ago I posted Gissen here, a headless visual editor for Vue 3 (basically Puck, but for Vue). You can register your own components with a typed config, then people drag them onto a canvas, and you get JSON that renders back into real Vue components. At that time, the MCP server for agents was a skeleton, but it's on npm now as gissen-mcp and the video is it running with Claude as the client.
Instead of a separate schema or a prompt describing your components, the agent gets tool schemas generated from the same config the editor already uses. This is the config for the card in the video:
fields: {
icon: { type: 'text', label: 'Icon (emoji)' },
title: { type: 'text', label: 'Title' },
description: { type: 'textarea', label: 'Description' },
badge: { type: 'number', label: 'Badge number', min: 1, max: 99 },
highlighted: { type: 'boolean', label: 'Highlighted' },
},
In the first prompt I ask for normal edits like removing a block, adding a card and moving the hero. Then I ask for badge 150, but the server responds with a refusal:
Value 150 for number field "badge" on component "0ED43EAQK6" (type "FeatureCard") is out of range. Allowed range: 1 to 99. The page was not changed.
The browser on the right doesn't move, because a rejected edit does not affect the file in any way. (That browser is just the Vite dev server reloading page.json, there's no live link between the agent and the editor yet.) Claude doesn't retry here, it states that the limit is set in the config, says it can't change it on its end, and offers 99. That's exactly the behavior I wanted because it means the config is the boundary and the agent can't edit it
Then I try "Seven", which gets rejected with "expects a number, received a string", and Claude asks if I meant 7
That part is less deterministic than it appears in the video. In some runs Claude turns "seven" into 7 on its own before calling the tool, so the server never sees a string, and in other cases it passes the string and gets rejected. The capital "S" take is one where it passed the string through. The server does the same thing every time, but the model varies from run to run, resulting in a different outcome
There is one limitation: if the agent asks for a component type that doesn't exist, the MCP SDK rejects it against the schema before my code runs, so that message comes out as a "raw" Zod error. It still includes the list of valid types, but it looks less polished than the other messages
Status: pre-alpha, tested by hand with Claude only
To try it, point your MCP client at
npx gissen-mcp --config /path/to/gissen.config.ts --data /path/to/page.json
Run it in a terminal first and it prints the grammar it derived from your config and then just sits there waiting for a client.
Repo: github.com/gissen-dev/gissen
So the thing I'm thing about: in about half of the cases the model itself converts the word "seven" into the number 7 before the data even reaches my server. Should I still enforce strict server-side validation that rejects invalid values, or is it better to accept and convert the obvious cases? If you've built tools for agents I'd like to know where you landed.