Docs
The css.observer MCP server
Everything you can do on the site, your agent can do too: find components, write playgrounds, fork, collect and publish — as you, with permissions you choose.
https://css.observer/mcpConnect
Claude (web, desktop, mobile)
Settings → Connectors → Add custom connector → paste the URL above. Claude opens css.observer, you sign in and pick permissions.
Claude Code
claude mcp add --transport http css-observer https://css.observer/mcpCursor, VS Code, Windsurf and others
{
"mcpServers": {
"css-observer": {
"url": "https://css.observer/mcp"
}
}
}Clients that can't do OAuth can send a personal token from Agents & MCP: Authorization: Bearer cso_…
Permissions
read | Search public work; read your playgrounds, favorites, collections, components. |
write | Create, update and fork playgrounds; favorites; collections; components. |
publish | Publish without waiting, if your publish setting is “Publish right away”. |
delete | Delete playgrounds and collections. |
By default, publish_playground queues a request you approve in your dashboard. Identity always comes from the token, never from tool arguments, and private playgrounds are invisible to every other account. Every call is logged under Agent activity. Limit: 120 requests a minute per connection.
Tools
| Group | Tool | Input → output |
|---|---|---|
| Discovery | search_playgrounds | query, category, tags, sort → public playgrounds |
| Discovery | get_playground | id or slug → full HTML/CSS/JS |
| Discovery | list_trending | category, limit |
| Discovery | list_categories | categories with counts |
| Discovery | search_components | query, filters → component catalog |
| Create & edit | create_playground | title, html, css, js, category, tags → private draft |
| Create & edit | update_playground | id + changed fields → new revision |
| Create & edit | fork_playground | source_id → your copy, attribution kept |
| Create & edit | delete_playground | id (needs delete permission) |
| Create & edit | publish_playground | id, visibility → published or pending your approval |
| Collections | create_collection | name, description, visibility |
| Collections | add_to_collection | collection_id, playground_id |
| Collections | remove_from_collection | collection_id, playground_id |
| Collections | list_collections | your collections |
| Collections | get_collection | collection_id → items |
| Library | get_my_playgrounds | query, status |
| Library | get_my_favorites | — |
| Library | get_my_profile | profile + this connection's permissions |
| Library | save_favorite | playground_id, favorite |
| Components | save_component | playground_id, name, usage, dependencies, browser_support |
| Components | get_component | component_id → source + usage |
| Components | list_my_components | query |
Resources
css-observer://categories— category catalogcss-observer://trending— trending this weekcss-observer://guidelines— contribution guidelinescss-observer://my-library— your playgrounds and favoritescss-observer://my-collections— your collections
Prompts
create_css_component, improve_css_component, make_responsive, convert_design_to_css, review_css_accessibility, optimize_css, document_component. In Claude Code they show up as slash commands.
The sandbox
Previews run on an isolated origin with connect-src 'none': no fetch, no external scripts, no access to css.observer cookies. Google Fonts stylesheets and https images work. Keep agent-written code self-contained.