@symbo.ls/mcp 1.0.13 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -32
- package/bin/symbols-mcp.js +846 -9
- package/package.json +2 -2
- package/symbols_mcp/skills/AUDIT.md +2 -0
- package/symbols_mcp/skills/CLI.md +374 -0
- package/symbols_mcp/skills/COMMON_MISTAKES.md +225 -0
- package/symbols_mcp/skills/DEFAULT_COMPONENTS.md +6 -22
- package/symbols_mcp/skills/LEARNINGS.md +1 -1
- package/symbols_mcp/skills/PATTERNS.md +14 -12
- package/symbols_mcp/skills/PROJECT_STRUCTURE.md +148 -37
- package/symbols_mcp/skills/RULES.md +685 -31
- package/symbols_mcp/skills/SDK.md +440 -0
- package/symbols_mcp/skills/SYNTAX.md +22 -19
package/README.md
CHANGED
|
@@ -2,36 +2,100 @@
|
|
|
2
2
|
|
|
3
3
|
mcp-name: io.github.symbo-ls/symbols-mcp
|
|
4
4
|
|
|
5
|
-
MCP server for [Symbols.app](https://symbols.app) — provides documentation search and
|
|
5
|
+
MCP server for [Symbols.app](https://symbols.app) — provides documentation search, code generation, conversion, auditing, project management, publishing/deployment, and CLI/SDK reference tools for AI coding assistants (Cursor, Claude Code, Windsurf, claude.ai, etc.).
|
|
6
6
|
|
|
7
|
-
No API keys required.
|
|
7
|
+
No API keys required for documentation tools. Project management tools require a Symbols account (login or API key).
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
## Tools
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
### Documentation & Generation
|
|
14
|
+
|
|
15
|
+
| Tool | Description |
|
|
16
|
+
|------|-------------|
|
|
17
|
+
| `get_project_rules` | Returns mandatory Symbols.app rules. **Call this first** before any code generation task. |
|
|
18
|
+
| `search_symbols_docs` | Keyword search across all bundled Symbols documentation files. |
|
|
19
|
+
| `generate_component` | Generate a DOMQL v3 component from a natural language description. |
|
|
20
|
+
| `generate_page` | Generate a full page with routing integration. |
|
|
21
|
+
| `convert_react` | Convert React/JSX code to Symbols DOMQL v3. |
|
|
22
|
+
| `convert_html` | Convert raw HTML/CSS to Symbols DOMQL v3 components. |
|
|
23
|
+
| `convert_to_json` | Convert DOMQL v3 JS source code to platform JSON (mirrors frank's toJSON pipeline). |
|
|
24
|
+
| `audit_component` | Audit component code for v3 compliance — returns violations, warnings, and a score. |
|
|
25
|
+
| `detect_environment` | Detect whether the project is local, CDN, JSON runtime, or remote server. |
|
|
26
|
+
| `get_cli_reference` | Returns the complete Symbols CLI (`@symbo.ls/cli`) command reference. |
|
|
27
|
+
| `get_sdk_reference` | Returns the complete Symbols SDK (`@symbo.ls/sdk`) API reference. |
|
|
28
|
+
|
|
29
|
+
### Project Management & Publishing
|
|
30
|
+
|
|
31
|
+
| Tool | Description |
|
|
32
|
+
|------|-------------|
|
|
33
|
+
| `login` | Log in to Symbols platform — returns a JWT token. |
|
|
34
|
+
| `list_projects` | List the user's projects (names, keys, IDs) to choose from. |
|
|
35
|
+
| `create_project` | Create a new Symbols project on the platform. |
|
|
36
|
+
| `get_project` | Get a project's current data (components, pages, design system, state). |
|
|
37
|
+
| `save_to_project` | Save components/pages/data to a project — creates a new version with change tuples, granular changes, orders, and auto-generated schema entries. |
|
|
38
|
+
| `publish` | Publish a version (make it live). |
|
|
39
|
+
| `push` | Deploy a project to an environment (production, staging, dev). |
|
|
40
|
+
|
|
41
|
+
### End-to-End Flow (from claude.ai or any MCP client)
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
1. generate_component → JS source code
|
|
45
|
+
2. convert_to_json → platform JSON
|
|
46
|
+
3. login → get token
|
|
47
|
+
4. create_project → (if new project needed)
|
|
48
|
+
list_projects → (or pick existing)
|
|
49
|
+
5. save_to_project → push JSON to platform (creates version)
|
|
50
|
+
6. publish → make version live
|
|
51
|
+
7. push → deploy to environment
|
|
52
|
+
```
|
|
15
53
|
|
|
16
54
|
## Resources
|
|
17
55
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
56
|
+
### Skills (documentation)
|
|
57
|
+
|
|
58
|
+
| URI | Description |
|
|
59
|
+
|-----|-------------|
|
|
60
|
+
| `symbols://skills/rules` | Strict rules for AI agents working in Symbols/DOMQL v3 projects |
|
|
61
|
+
| `symbols://skills/syntax` | Complete DOMQL v3 syntax language reference |
|
|
62
|
+
| `symbols://skills/components` | Component reference with flattened props and onX events |
|
|
63
|
+
| `symbols://skills/project-structure` | Project folder structure and file conventions |
|
|
64
|
+
| `symbols://skills/design-system` | Design system tokens, themes, and configuration |
|
|
65
|
+
| `symbols://skills/design-direction` | Modern UI/UX design direction |
|
|
66
|
+
| `symbols://skills/patterns` | UI patterns, accessibility, and AI optimization |
|
|
67
|
+
| `symbols://skills/migration` | Migration guide (v2→v3, React/Angular/Vue→Symbols) |
|
|
68
|
+
| `symbols://skills/audit` | Full audit, enforcement, and feedback framework |
|
|
69
|
+
| `symbols://skills/design-to-code` | Design-to-code translation guide |
|
|
70
|
+
| `symbols://skills/seo-metadata` | SEO metadata configuration reference |
|
|
71
|
+
| `symbols://skills/ssr-brender` | Server-side rendering with brender (SSR/SSG) |
|
|
72
|
+
| `symbols://skills/cookbook` | Interactive cookbook with 30+ runnable recipes |
|
|
73
|
+
| `symbols://skills/snippets` | Production-ready component snippets |
|
|
74
|
+
| `symbols://skills/default-library` | 127+ pre-built components available in all projects |
|
|
75
|
+
| `symbols://skills/default-components` | Complete source code of 130+ default template components |
|
|
76
|
+
| `symbols://skills/learnings` | Framework internals, technical gotchas, deep runtime knowledge |
|
|
77
|
+
| `symbols://skills/running-apps` | 4 ways to run Symbols apps (local, CDN, JSON, remote) |
|
|
78
|
+
| `symbols://skills/cli` | Symbols CLI (`@symbo.ls/cli`) complete command reference |
|
|
79
|
+
| `symbols://skills/sdk` | Symbols SDK (`@symbo.ls/sdk`) complete API reference |
|
|
80
|
+
|
|
81
|
+
### Reference (inline)
|
|
82
|
+
|
|
83
|
+
| URI | Description |
|
|
84
|
+
|-----|-------------|
|
|
85
|
+
| `symbols://reference/spacing-tokens` | Spacing token table (golden-ratio scale) |
|
|
86
|
+
| `symbols://reference/atom-components` | Built-in atom/primitive components |
|
|
87
|
+
| `symbols://reference/event-handlers` | Event handler signatures and patterns |
|
|
28
88
|
|
|
29
89
|
## Prompts
|
|
30
90
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
91
|
+
| Prompt | Description |
|
|
92
|
+
|--------|-------------|
|
|
93
|
+
| `symbols_component_prompt` | Generate a component from a description |
|
|
94
|
+
| `symbols_migration_prompt` | Migrate code from React/Angular/Vue |
|
|
95
|
+
| `symbols_project_prompt` | Scaffold a complete project |
|
|
96
|
+
| `symbols_review_prompt` | Review code for v3 compliance |
|
|
97
|
+
| `symbols_convert_html_prompt` | Convert HTML/CSS to DOMQL v3 |
|
|
98
|
+
| `symbols_design_review_prompt` | Visual/design audit against the design system |
|
|
35
99
|
|
|
36
100
|
---
|
|
37
101
|
|
|
@@ -62,20 +126,10 @@ Add to your MCP client config (e.g. `mcp.json`):
|
|
|
62
126
|
}
|
|
63
127
|
```
|
|
64
128
|
|
|
65
|
-
###
|
|
129
|
+
### Transport modes
|
|
66
130
|
|
|
67
|
-
|
|
131
|
+
By default, the server runs over **stdio**. For SSE transport:
|
|
68
132
|
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
"mcpServers": {
|
|
72
|
-
"symbols": {
|
|
73
|
-
"command": "uvx",
|
|
74
|
-
"args": ["symbols-mcp"],
|
|
75
|
-
"env": {
|
|
76
|
-
"SYMBOLS_SKILLS_DIR": "/path/to/your/skills"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
133
|
+
```bash
|
|
134
|
+
MCP_TRANSPORT=sse MCP_HOST=0.0.0.0 MCP_PORT=8080 uvx symbols-mcp
|
|
81
135
|
```
|