@symbo.ls/mcp 1.0.4 → 1.0.6
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/generate-mcpb.sh +1 -1
- package/manifest.json +15 -12
- package/package.json +1 -1
- package/publish.sh +7 -0
- package/pyproject.toml +1 -1
- package/server.json +3 -3
- package/symbols-mcp.mcpb +0 -0
package/generate-mcpb.sh
CHANGED
package/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": "0.3",
|
|
3
3
|
"name": "symbols-mcp",
|
|
4
4
|
"display_name": "Symbols MCP",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.5",
|
|
6
6
|
"description": "MCP server for Symbols/DOMQL v3 — documentation search and framework reference",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Symbols",
|
|
@@ -18,10 +18,11 @@
|
|
|
18
18
|
"keywords": ["symbols", "domql", "mcp", "design-system", "ai"],
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"server": {
|
|
21
|
-
"type": "
|
|
21
|
+
"type": "node",
|
|
22
|
+
"entry_point": "bin/symbols-mcp.js",
|
|
22
23
|
"mcp_config": {
|
|
23
|
-
"command": "
|
|
24
|
-
"args": ["symbols-mcp"]
|
|
24
|
+
"command": "node",
|
|
25
|
+
"args": ["${__dirname}/bin/symbols-mcp.js"]
|
|
25
26
|
}
|
|
26
27
|
},
|
|
27
28
|
"tools": [
|
|
@@ -38,27 +39,29 @@
|
|
|
38
39
|
{
|
|
39
40
|
"name": "symbols_component_prompt",
|
|
40
41
|
"description": "Generate a Symbols/DOMQL v3 component",
|
|
41
|
-
"arguments": ["description", "component_name"]
|
|
42
|
+
"arguments": ["description", "component_name"],
|
|
43
|
+
"text": "Generate a Symbols/DOMQL v3 component with these requirements:\n\nComponent Name: ${arguments.component_name}\nDescription: ${arguments.description}\n\nFollow these strict rules:\n- Use DOMQL v3 syntax ONLY (extends, childExtends, flattened props, onX events)\n- Components are plain objects with named exports: export const ${arguments.component_name} = { ... }\n- Use design-system tokens for spacing (A, B, C), colors, typography\n- NO imports between files — reference components by PascalCase key name\n- All folders flat — no subfolders\n- Include responsive breakpoints (@mobile, @tablet) where appropriate\n- Follow modern UI/UX: visual hierarchy, minimal cognitive load, confident typography\n\nOutput ONLY the JavaScript code."
|
|
42
44
|
},
|
|
43
45
|
{
|
|
44
46
|
"name": "symbols_migration_prompt",
|
|
45
47
|
"description": "Migrate React/Angular/Vue code to Symbols/DOMQL v3",
|
|
46
|
-
"arguments": ["source_framework"]
|
|
48
|
+
"arguments": ["source_framework"],
|
|
49
|
+
"text": "You are migrating ${arguments.source_framework} code to Symbols/DOMQL v3.\n\nKey conversion rules for ${arguments.source_framework}:\n- Components become plain objects (never functions)\n- NO imports between project files\n- All folders are flat — no subfolders\n- Use extends/childExtends (v3 plural, never v2 singular)\n- Flatten all props directly (no props: {} wrapper)\n- Events use onX prefix (no on: {} wrapper)\n- Use design-system tokens for spacing/colors\n- State: state: { key: val } + s.update({ key: newVal })\n- Effects: onRender for mount, onStateUpdate for dependency changes\n- Lists: children: (el, s) => s.items, childrenAs: 'state', childExtends: 'Item'\n\nProvide the ${arguments.source_framework} code to convert and I will output clean DOMQL v3."
|
|
47
50
|
},
|
|
48
51
|
{
|
|
49
52
|
"name": "symbols_project_prompt",
|
|
50
53
|
"description": "Scaffold a complete Symbols project",
|
|
51
|
-
"arguments": ["description"]
|
|
54
|
+
"arguments": ["description"],
|
|
55
|
+
"text": "Create a complete Symbols/DOMQL v3 project:\n\nProject Description: ${arguments.description}\n\nRequired structure (smbls/ folder):\n- index.js (root export)\n- config.js (platform config)\n- vars.js (global constants)\n- dependencies.js (external packages)\n- components/ (PascalCase files, named exports)\n- pages/ (dash-case files, camelCase exports, route mapping in index.js)\n- functions/ (camelCase, called via el.call())\n- designSystem/ (color, spacing, typography, theme, icons)\n- state/ (default exports)\n\nRules:\n- v3 syntax only — extends, childExtends, flattened props, onX events\n- Design tokens for all spacing/colors (padding: 'A', not padding: '16px')\n- Components are plain objects, never functions\n- No imports between project files\n- All folders completely flat\n\nGenerate all files with complete, production-ready code."
|
|
52
56
|
},
|
|
53
57
|
{
|
|
54
58
|
"name": "symbols_review_prompt",
|
|
55
|
-
"description": "Review Symbols/DOMQL code for v3 compliance"
|
|
59
|
+
"description": "Review Symbols/DOMQL code for v3 compliance",
|
|
60
|
+
"arguments": [],
|
|
61
|
+
"text": "Review this Symbols/DOMQL code for v3 compliance and best practices.\n\nCheck for these violations:\n1. v2 syntax: extend→extends, childExtend→childExtends, props:{}, on:{}\n2. Imports between project files (FORBIDDEN)\n3. Function-based components (must be plain objects)\n4. Subfolders (must be flat)\n5. Hardcoded pixels instead of design tokens\n6. Wrong event handler signatures\n7. Default exports for components (should be named)\n\nProvide:\n- Issues found with line references\n- Corrected code for each issue\n- Overall v3 compliance score (1-10)\n- Improvement suggestions\n\nPaste your code below:"
|
|
56
62
|
}
|
|
57
63
|
],
|
|
58
64
|
"compatibility": {
|
|
59
|
-
"platforms": ["darwin", "win32", "linux"]
|
|
60
|
-
"runtimes": {
|
|
61
|
-
"python": ">=3.10"
|
|
62
|
-
}
|
|
65
|
+
"platforms": ["darwin", "win32", "linux"]
|
|
63
66
|
}
|
|
64
67
|
}
|
package/package.json
CHANGED
package/publish.sh
CHANGED
|
@@ -46,6 +46,13 @@ npm publish --access public
|
|
|
46
46
|
|
|
47
47
|
# Publish to MCP registry
|
|
48
48
|
echo "Publishing to MCP registry..."
|
|
49
|
+
mcp-publisher login github
|
|
49
50
|
mcp-publisher publish
|
|
50
51
|
|
|
52
|
+
# Commit, tag and push
|
|
53
|
+
git add pyproject.toml package.json server.json manifest.json
|
|
54
|
+
git commit -m "chore: release v$NEW"
|
|
55
|
+
git tag "v$NEW"
|
|
56
|
+
git push && git push --tags
|
|
57
|
+
|
|
51
58
|
echo "Done! Published symbols-mcp $NEW"
|
package/pyproject.toml
CHANGED
package/server.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.symbo-ls/symbols-mcp",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.6",
|
|
5
5
|
"title": "Symbols MCP",
|
|
6
6
|
"description": "MCP server for Symbols/DOMQL v3 — documentation search and framework reference",
|
|
7
7
|
"repository": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"registryType": "pypi",
|
|
14
14
|
"registryBaseUrl": "https://pypi.org",
|
|
15
15
|
"identifier": "symbols-mcp",
|
|
16
|
-
"version": "1.0.
|
|
16
|
+
"version": "1.0.6",
|
|
17
17
|
"runtimeHint": "uvx",
|
|
18
18
|
"transport": {
|
|
19
19
|
"type": "stdio"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{
|
|
23
23
|
"registryType": "npm",
|
|
24
24
|
"identifier": "@symbo.ls/mcp",
|
|
25
|
-
"version": "1.0.
|
|
25
|
+
"version": "1.0.6",
|
|
26
26
|
"runtimeHint": "npx",
|
|
27
27
|
"transport": {
|
|
28
28
|
"type": "stdio"
|
package/symbols-mcp.mcpb
ADDED
|
Binary file
|