style-agent
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| STYLE_AGENT_CDP_URL | No | CDP endpoint | http://127.0.0.1:9222 |
| STYLE_AGENT_SPECS_DIR | No | Spec search dir (point at your app in real use) | ./specs/examples |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| style_statusA | 检查 CDP 是否连通、列出标签。闭环开始时先调。 |
| style_tabsB | 列出调试 Chrome 中的页面标签。 |
| style_findB | 按文案/CSS/testid/role 查找元素,返回 uid(供 style_styles / style_click)。 |
| style_stylesA | 读取模块 computed style 子树(uid 或 css)。探索/对稿时用;有 spec 优先 style_inspect。 |
| style_spacingC | 两 uid 元素间距。 |
| style_clickB | 点击 uid(开下拉/弹层)。也可传 selector 走 Playwright 真实点击。 |
| style_hoverC | 悬停 uid(hover 才展开的菜单)。 |
| style_waitC | 等待元素出现(css/text/testId/role)。默认最多返回 3 条;优先用 css。 |
| style_dialogsC | 列出 dialog / aria-modal。 |
| style_highlightB | 高亮 uid(确认定位)。 |
| style_inspectA | 按 JSON spec 跑样式/布局检查(setup+nodes+relations)。默认只返回失败项。有验收标准时优先用。 |
| style_evalA | 页面内执行 JS 表达式(高级;优先其它工具)。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jtrslar/style-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server