@symbo.ls/mcp 1.0.25 → 1.0.26

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 CHANGED
@@ -105,16 +105,50 @@ No API keys required for documentation tools. Project management tools require a
105
105
  pip install symbols-mcp
106
106
  ```
107
107
 
108
- Or with `uv`:
108
+ Or with `uv` (no install needed):
109
109
 
110
110
  ```bash
111
111
  uvx symbols-mcp
112
112
  ```
113
113
 
114
+ Or via npm:
115
+
116
+ ```bash
117
+ npx @symbo.ls/mcp
118
+ ```
119
+
114
120
  ## Configuration
115
121
 
116
- Add to your MCP client config (e.g. `mcp.json`):
122
+ ### Recommended (auto-updates on every launch)
117
123
 
124
+ ```json
125
+ {
126
+ "mcpServers": {
127
+ "symbols": {
128
+ "command": "uvx",
129
+ "args": ["--refresh", "symbols-mcp"]
130
+ }
131
+ }
132
+ }
133
+ ```
134
+
135
+ The `--refresh` flag checks PyPI for a newer version each time the server starts. Adds ~1-2s to startup but ensures you always have the latest rules and documentation.
136
+
137
+ ### Alternative configs
138
+
139
+ **npm (also auto-updates):**
140
+ ```json
141
+ {
142
+ "mcpServers": {
143
+ "symbols": {
144
+ "command": "npx",
145
+ "args": ["-y", "@symbo.ls/mcp"]
146
+ }
147
+ }
148
+ }
149
+ ```
150
+
151
+ **Pinned version (manual updates):**
118
152
  ```json
119
153
  {
120
154
  "mcpServers": {
@@ -126,6 +160,19 @@ Add to your MCP client config (e.g. `mcp.json`):
126
160
  }
127
161
  ```
128
162
 
163
+ ### Manual update
164
+
165
+ ```bash
166
+ # pip
167
+ pip install --upgrade symbols-mcp
168
+
169
+ # uv (clear cache and re-run)
170
+ uv cache clean symbols-mcp && uvx symbols-mcp
171
+
172
+ # npm
173
+ npm update -g @symbo.ls/mcp
174
+ ```
175
+
129
176
  ### Transport modes
130
177
 
131
178
  By default, the server runs over **stdio**. For SSE transport:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/mcp",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "Symbols.app MCP — docs, code generation, publishing, CLI/SDK reference",
5
5
  "mcpName": "io.github.symbo-ls/symbols-mcp",
6
6
  "files": [
@@ -6,8 +6,6 @@ Follow this protocol exactly. Execute each phase in order. Do not skip steps.
6
6
 
7
7
  ## 1. Install the MCP Server
8
8
 
9
- Run the following command to install:
10
-
11
9
  ```bash
12
10
  pip install symbols-mcp
13
11
  ```
@@ -16,14 +14,14 @@ pip install symbols-mcp
16
14
 
17
15
  ## 2. Configure the MCP Server
18
16
 
19
- Add this configuration to your MCP settings:
17
+ Add this configuration to your MCP settings (uses `--refresh` to auto-update on every launch):
20
18
 
21
19
  ```json
22
20
  {
23
21
  "mcpServers": {
24
22
  "symbols": {
25
23
  "command": "uvx",
26
- "args": ["symbols-mcp"]
24
+ "args": ["--refresh", "symbols-mcp"]
27
25
  }
28
26
  }
29
27
  }
@@ -285,18 +285,32 @@ Title: { fontWeight: 700 }
285
285
 
286
286
  Golden Ratio scale (1.618 default). Applies to `padding`, `margin`, `gap`, `width`, `height`, `boxSize`, `borderRadius`/`round`, `inset`, `top`, `left`, `right`, `bottom`, etc.
287
287
 
288
- | Token | Approx value | Use |
288
+ ### Token stepping system
289
+
290
+ Each letter is a major step. Sub-numbers are minor increments between letters. The sequence flows continuously — each sub-step is one tone increase:
291
+
292
+ ```
293
+ ... X < X1 < X2 < Z < Z1 < Z2 < A < A1 < A2 < A3 < B < B1 < B2 < B3 < C ...
294
+ ```
295
+
296
+ How many sub-steps exist between letters depends on the range — smaller ranges (W, X) have only 1-2 sub-steps, larger ranges (A, B, C) have up to 3.
297
+
298
+ **To increase slightly:** go up one sub-step (e.g. `A` → `A1`, or `B2` → `B3`)
299
+ **To increase moderately:** go up one letter (e.g. `A` → `B`)
300
+ **To decrease:** reverse direction (e.g. `B` → `A3`, or `A` → `Z2`)
301
+
302
+ | Token range | Approx px | Use |
289
303
  |---|---|---|
290
- | `W`-`W2` | 2-4 px | Micro gaps, offsets |
291
- | `X`-`X2` | 4-6 px | Icon padding, tight gaps |
292
- | `Z`-`Z2` | 10-16 px | Compact padding |
293
- | `A`-`A2` | 16-26 px | Default padding, gutters |
294
- | `B`-`B2` | 26-42 px | Section padding |
295
- | `C`-`C2` | 42-68 px | Container padding, avatar sizes |
296
- | `D`-`D2` | 68-110 px | Large sections |
297
- | `E`-`F` | 110-178 px | Hero padding, max-widths |
298
-
299
- Sub-sequence rules: `W` and `X` only have `W`, `W1`, `W2` and `X`, `X1`, `X2`. Sub-tokens like `W4`, `X4` do NOT exist. Sub-steps `3` and `4` (e.g. `A3`, `A4`, `B3`, `B4`) only appear from `A` and above.
304
+ | `W`-`W2` | 2-4 | Micro gaps, offsets |
305
+ | `X`-`X2` | 4-6 | Icon padding, tight gaps |
306
+ | `Z`-`Z2` | 10-16 | Compact padding |
307
+ | `A`-`A3` | 16-26 | Default padding, gutters |
308
+ | `B`-`B3` | 26-42 | Section padding |
309
+ | `C`-`C3` | 42-68 | Container padding, avatar sizes |
310
+ | `D`-`D3` | 68-110 | Large sections |
311
+ | `E`-`F` | 110-178 | Hero padding, max-widths |
312
+
313
+ Typography tokens use the same letter system for `fontSize`.
300
314
 
301
315
  ### Shorthand spacing
302
316