@symbo.ls/mcp 1.0.0 → 1.0.5
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/.claude/settings.local.json +9 -0
- package/README.md +46 -150
- package/bin/symbols-mcp.js +17 -0
- package/generate-mcpb.sh +17 -0
- package/manifest.json +67 -0
- package/package.json +8 -13
- package/publish.sh +51 -0
- package/pyproject.toml +4 -10
- package/server.json +32 -0
- package/symbols-mcp.mcpb +0 -0
- package/symbols_mcp/__init__.py +1 -1
- package/symbols_mcp/server.py +18 -773
- package/symbols_mcp/skills/AUDIT.md +287 -0
- package/symbols_mcp/skills/DEFAULT_COMPONENTS.md +1939 -0
- package/symbols_mcp/skills/DEFAULT_DESIGN_SYSTEM.md +468 -0
- package/symbols_mcp/skills/OPTIMIZATIONS_FOR_AGENT.md +253 -0
- package/symbols_mcp/skills/PROJECT_SETUP.md +217 -0
- package/symbols_mcp/skills/REMOTE_PREVIEW.md +144 -0
- package/symbols_mcp/skills/SEO-METADATA.md +110 -0
- package/uv.lock +826 -0
- package/.env.example +0 -16
- package/.env.railway +0 -13
- package/LICENSE +0 -21
- package/mcp.json +0 -57
- package/railway.toml +0 -26
- package/run.sh +0 -17
- package/symbols_mcp/skills/GARY_TAN.md +0 -80
- package/windsurf-mcp-config.json +0 -18
package/.env.example
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# OPTION 1: Use public MCP server (no API key needed - easiest for users)
|
|
2
|
-
# Contact the maintainer for the public server URL
|
|
3
|
-
SYMBOLS_MCP_URL=your_mcp_server_url_here
|
|
4
|
-
|
|
5
|
-
# OPTION 2: Use your own OpenRouter API key (for advanced users)
|
|
6
|
-
# OPENROUTER_API_KEY=your_openrouter_api_key_here
|
|
7
|
-
|
|
8
|
-
# Optional — Supabase for vector search (falls back to local skills search if not set)
|
|
9
|
-
# SUPABASE_URL=your_supabase_url_here
|
|
10
|
-
# SUPABASE_KEY=your_supabase_key_here
|
|
11
|
-
|
|
12
|
-
# Optional — AI model to use (default: openai/gpt-4.1-mini)
|
|
13
|
-
# LLM_MODEL=openai/gpt-4.1-mini
|
|
14
|
-
|
|
15
|
-
# Optional — Path to skills directory (defaults to bundled skills)
|
|
16
|
-
# SYMBOLS_SKILLS_DIR=C:\repos\symbols\skills
|
package/.env.railway
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Railway Environment Variables
|
|
2
|
-
RAILWAY_ENVIRONMENT=production
|
|
3
|
-
PORT=8080
|
|
4
|
-
|
|
5
|
-
# Required — OpenRouter API key (add in Railway dashboard)
|
|
6
|
-
OPENROUTER_API_KEY=your_openrouter_api_key_here
|
|
7
|
-
|
|
8
|
-
# Optional — Supabase for vector search (add in Railway dashboard)
|
|
9
|
-
SUPABASE_URL=your_supabase_url_here
|
|
10
|
-
SUPABASE_KEY=your_supabase_key_here
|
|
11
|
-
|
|
12
|
-
# Optional — AI model (add in Railway dashboard)
|
|
13
|
-
LLM_MODEL=openai/gpt-5.2-codex
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 baronsilver
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/mcp.json
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "symbols-mcp",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "AI-powered assistant for the Symbols design-system framework. Generates DOMQL v3 components, pages, and full projects; converts React/Angular/Vue code to Symbols; searches Symbols documentation; and provides comprehensive framework reference.",
|
|
5
|
-
"author": "baronsilver",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"homepage": "https://github.com/baronsilver/symbols-mcp-server",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/baronsilver/symbols-mcp-server.git"
|
|
11
|
-
},
|
|
12
|
-
"capabilities": {
|
|
13
|
-
"tools": [
|
|
14
|
-
{
|
|
15
|
-
"name": "generate_component",
|
|
16
|
-
"description": "Generate a Symbols/DOMQL v3 component from a natural-language description"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "generate_page",
|
|
20
|
-
"description": "Generate a Symbols/DOMQL v3 page with routing support"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "generate_project",
|
|
24
|
-
"description": "Generate a complete multi-file Symbols/DOMQL v3 project structure"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "convert_to_symbols",
|
|
28
|
-
"description": "Convert React, Angular, Vue, or HTML code to Symbols/DOMQL v3 format"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "search_symbols_docs",
|
|
32
|
-
"description": "Search the Symbols documentation knowledge base for relevant information"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "explain_symbols_concept",
|
|
36
|
-
"description": "Explain a Symbols/DOMQL concept with examples (state, routing, events, design tokens, etc.)"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "review_symbols_code",
|
|
40
|
-
"description": "Review Symbols/DOMQL code for correctness, best practices, and v3 compliance"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "create_design_system",
|
|
44
|
-
"description": "Generate Symbols design system files (colors, spacing, typography, theme, icons)"
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
"resources": 9,
|
|
48
|
-
"prompts": 4
|
|
49
|
-
},
|
|
50
|
-
"installation": {
|
|
51
|
-
"command": "python",
|
|
52
|
-
"args": ["-m", "uv", "run", "--directory", "{INSTALL_DIR}", "symbols-mcp"],
|
|
53
|
-
"env": {
|
|
54
|
-
"OPENROUTER_API_KEY": "required"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
package/railway.toml
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
[build]
|
|
2
|
-
builder = "NIXPACKS"
|
|
3
|
-
nixpacksPlan = { providers = ["python"] }
|
|
4
|
-
|
|
5
|
-
[deploy]
|
|
6
|
-
startCommand = "python -m symbols_mcp.server"
|
|
7
|
-
healthcheckPath = "/health"
|
|
8
|
-
healthcheckTimeout = 100
|
|
9
|
-
restartPolicyType = "ON_FAILURE"
|
|
10
|
-
restartPolicyMaxRetries = 10
|
|
11
|
-
|
|
12
|
-
[[services]]
|
|
13
|
-
name = "symbols-mcp"
|
|
14
|
-
source = "."
|
|
15
|
-
|
|
16
|
-
[services.variables]
|
|
17
|
-
PORT = "8080"
|
|
18
|
-
PYTHON_VERSION = "3.11"
|
|
19
|
-
RAILWAY_ENVIRONMENT = "production"
|
|
20
|
-
|
|
21
|
-
# Environment variables should be set in Railway dashboard
|
|
22
|
-
# Do not reference them here to avoid secret detection
|
|
23
|
-
|
|
24
|
-
[[services.ports]]
|
|
25
|
-
port = 8080
|
|
26
|
-
protocol = "HTTP"
|
package/run.sh
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
# Wrapper script for running symbols-mcp server
|
|
3
|
-
|
|
4
|
-
# Check if Python is available
|
|
5
|
-
if ! command -v python &> /dev/null; then
|
|
6
|
-
echo "Error: Python is not installed"
|
|
7
|
-
exit 1
|
|
8
|
-
fi
|
|
9
|
-
|
|
10
|
-
# Check if uv is available
|
|
11
|
-
if ! command -v uv &> /dev/null; then
|
|
12
|
-
echo "Installing uv..."
|
|
13
|
-
pip install uv
|
|
14
|
-
fi
|
|
15
|
-
|
|
16
|
-
# Run the MCP server
|
|
17
|
-
exec python -m uv run symbols-mcp
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
# Claude Code Prompt for Plan Mode
|
|
2
|
-
|
|
3
|
-
_February 4, 2026_
|
|
4
|
-
|
|
5
|
-
#prompts
|
|
6
|
-
|
|
7
|
-
Review this plan thoroughly before making any code changes. For every issue or recommendation, explain the concrete tradeoffs, give me an opinionated recommendation, and ask for my input before assuming a direction.
|
|
8
|
-
|
|
9
|
-
My engineering preferences (use these to guide your recommendations):
|
|
10
|
-
|
|
11
|
-
- DRY is important—flag repetition aggressively.
|
|
12
|
-
- Well-tested code is non-negotiable; I'd rather have too many tests than too few.
|
|
13
|
-
- I want code that's "engineered enough" — not under-engineered (fragile, hacky) and not over-engineered (premature abstraction, unnecessary complexity).
|
|
14
|
-
- I err on the side of handling more edge cases, not fewer; thoughtfulness > speed.
|
|
15
|
-
- Bias toward explicit over clever.
|
|
16
|
-
|
|
17
|
-
## 1. Architecture review
|
|
18
|
-
|
|
19
|
-
Evaluate:
|
|
20
|
-
|
|
21
|
-
- Overall system design and component boundaries.
|
|
22
|
-
- Dependency graph and coupling concerns.
|
|
23
|
-
- Data flow patterns and potential bottlenecks.
|
|
24
|
-
- Scaling characteristics and single points of failure.
|
|
25
|
-
- Security architecture (auth, data access, API boundaries).
|
|
26
|
-
|
|
27
|
-
## 2. Code quality review
|
|
28
|
-
|
|
29
|
-
Evaluate:
|
|
30
|
-
|
|
31
|
-
- Code organization and module structure.
|
|
32
|
-
- DRY violations—be aggressive here.
|
|
33
|
-
- Error handling patterns and missing edge cases (call these out explicitly).
|
|
34
|
-
- Technical debt hotspots.
|
|
35
|
-
- Areas that are over-engineered or under-engineered relative to my preferences.
|
|
36
|
-
|
|
37
|
-
## 3. Test review
|
|
38
|
-
|
|
39
|
-
Evaluate:
|
|
40
|
-
|
|
41
|
-
- Test coverage gaps (unit, integration, e2e).
|
|
42
|
-
- Test quality and assertion strength.
|
|
43
|
-
- Missing edge case coverage—be thorough.
|
|
44
|
-
- Untested failure modes and error paths.
|
|
45
|
-
|
|
46
|
-
## 4. Performance review
|
|
47
|
-
|
|
48
|
-
Evaluate:
|
|
49
|
-
|
|
50
|
-
- N+1 queries and database access patterns.
|
|
51
|
-
- Memory-usage concerns.
|
|
52
|
-
- Caching opportunities.
|
|
53
|
-
- Slow or high-complexity code paths.
|
|
54
|
-
|
|
55
|
-
## For each issue you find
|
|
56
|
-
|
|
57
|
-
For every specific issue (bug, smell, design concern, or risk):
|
|
58
|
-
|
|
59
|
-
- Describe the problem concretely, with file and line references.
|
|
60
|
-
- Present 2-3 options, including "do nothing" where that's reasonable.
|
|
61
|
-
- For each option, specify: implementation effort, risk, impact on other code, and maintenance burden.
|
|
62
|
-
- Give me your recommended option and why, mapped to my preferences above.
|
|
63
|
-
- Then explicitly ask whether I agree or want to choose a different direction before proceeding.
|
|
64
|
-
|
|
65
|
-
## Workflow and interaction
|
|
66
|
-
|
|
67
|
-
- Do not assume my priorities on timeline or scale.
|
|
68
|
-
- After each section, pause and ask for my feedback before moving on.
|
|
69
|
-
|
|
70
|
-
---
|
|
71
|
-
|
|
72
|
-
BEFORE YOU START:
|
|
73
|
-
|
|
74
|
-
Ask if I want one of two options:
|
|
75
|
-
|
|
76
|
-
1/ BIG CHANGE: Work through this interactively, one section at a time (Architecture → Code Quality → Tests → Performance) with at most 4 top issues in each section.
|
|
77
|
-
|
|
78
|
-
2/ SMALL CHANGE: Work through interactively ONE question per review section
|
|
79
|
-
|
|
80
|
-
FOR EACH STAGE OF REVIEW: output the explanation and pros and cons of each stage's questions AND your opinionated recommendation and why, and then use AskUserQuestion. Also NUMBER issues and then give LETTERS for options and when using AskUserQuestion make sure each option clearly labels the issue NUMBER and option LETTER so the user doesn't get confused. Make the recommended option always the 1st option.
|
package/windsurf-mcp-config.json
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"mcpServers": {
|
|
3
|
-
"symbols-mcp": {
|
|
4
|
-
"command": "python",
|
|
5
|
-
"args": [
|
|
6
|
-
"-m",
|
|
7
|
-
"uv",
|
|
8
|
-
"run",
|
|
9
|
-
"--directory",
|
|
10
|
-
"C:\\repos\\symbols-mcp-server",
|
|
11
|
-
"symbols-mcp"
|
|
12
|
-
],
|
|
13
|
-
"env": {
|
|
14
|
-
"OPENROUTER_API_KEY": "YOUR_KEY_HERE"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|