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/mcp

Connect

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/mcp

Cursor, 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

readSearch public work; read your playgrounds, favorites, collections, components.
writeCreate, update and fork playgrounds; favorites; collections; components.
publishPublish without waiting, if your publish setting is “Publish right away”.
deleteDelete 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

GroupToolInput → output
Discoverysearch_playgroundsquery, category, tags, sort → public playgrounds
Discoveryget_playgroundid or slug → full HTML/CSS/JS
Discoverylist_trendingcategory, limit
Discoverylist_categoriescategories with counts
Discoverysearch_componentsquery, filters → component catalog
Create & editcreate_playgroundtitle, html, css, js, category, tags → private draft
Create & editupdate_playgroundid + changed fields → new revision
Create & editfork_playgroundsource_id → your copy, attribution kept
Create & editdelete_playgroundid (needs delete permission)
Create & editpublish_playgroundid, visibility → published or pending your approval
Collectionscreate_collectionname, description, visibility
Collectionsadd_to_collectioncollection_id, playground_id
Collectionsremove_from_collectioncollection_id, playground_id
Collectionslist_collectionsyour collections
Collectionsget_collectioncollection_id → items
Libraryget_my_playgroundsquery, status
Libraryget_my_favorites—
Libraryget_my_profileprofile + this connection's permissions
Librarysave_favoriteplayground_id, favorite
Componentssave_componentplayground_id, name, usage, dependencies, browser_support
Componentsget_componentcomponent_id → source + usage
Componentslist_my_componentsquery

Resources

  • css-observer://categories — category catalog
  • css-observer://trending — trending this week
  • css-observer://guidelines — contribution guidelines
  • css-observer://my-library — your playgrounds and favorites
  • css-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.