mcp

v0.1.0
@designtoolkit/mcp Checked 4 days ago Published 2 months ago

Give your AI coding agent the real numbers behind any web page: sizes, spacing, type, colors and the animation timings a screenshot can't carry.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_selection

The element the person last sent from their browser: size, spacing, layout, type, colours with contrast, hover/focus changes and animation timings. Start here.

ParameterTypeDescription
detailstringsummary (default) is compact text. full returns the raw JSON.

list_captures

Recent captures with their ids, newest first. Use when the person mentions something they sent earlier.

get_capture

One capture by id, optionally with extra sections.

ParameterTypeDescription
id *stringCapture id from list_captures.
includearraySections to return as JSON. Omit for the compact summary.

get_page_palette

The colours, fonts, spacing steps and radii used across the captured page, so code can reuse the page's own scale.

compare_captures

What differs between two captures — the original and the version you rebuilt — in size, layout, type, colour, effects and motion.

ParameterTypeDescription
rebuild *stringCapture id of your rebuilt version.
reference *stringCapture id of the original.