@table-bro/mcp 1.1.0 → 1.2.0

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
@@ -1,10 +1,18 @@
1
1
  # @table-bro/mcp
2
2
 
3
- The MCP server of [Table, Bro](https://table-bro.com): pixel-perfect Material data tables for Angular, and more. A Web
4
- Components table engine on top of existing UI components. The server gives an AI coding agent the reference of the table,
5
- the check of a table spec and the code generator of a table for Angular and Vanilla JS, with the skins `mat` (Angular
3
+ The MCP server of [Table, Bro](https://table-bro.com): pixel-perfect Material (M3) data tables for Angular, and more.
4
+ Add it to Claude Code, Cursor or Codex, tell the agent what table you need, and it installs the packages and generates
5
+ the table, its setup and its cells from one request, for Angular and Vanilla JS. The server gives the agent the
6
+ reference of the table, the check of a table spec and the code generator of a table, with the skins `mat` (Angular
6
7
  Material), `bs` (Bootstrap 5) and `nv` (native HTML). The agent writes the files; the server only reads.
7
8
 
9
+ ```sh
10
+ claude mcp add --scope project table-bro -- npx -y @table-bro/mcp@1.2.0
11
+ ```
12
+
13
+ The setup for the other agents is [below](#setup). Docs: [MCP server](https://table-bro.com/docs/ai/mcp-server),
14
+ [Getting started](https://table-bro.com/docs/getting-started).
15
+
8
16
  | Tool | What it gives |
9
17
  | --- | --- |
10
18
  | `get_started` | How Table, Bro works, the order of the tools and a minimal table for your target and skin, once a session |
@@ -16,7 +24,7 @@ Material), `bs` (Bootstrap 5) and `nv` (native HTML). The agent writes the files
16
24
 
17
25
  ## Setup
18
26
 
19
- The server describes one version of Table, Bro: run the version of `@table-bro/core` that the project has, as `1.1.0` below.
27
+ The server describes one version of Table, Bro: run the version of `@table-bro/core` that the project has, as `1.2.0` below.
20
28
  After an update of Table, Bro, change the version in the setup of the agent too; `inspect_project` compares the
21
29
  versions and gives the line to change.
22
30
 
@@ -25,17 +33,17 @@ versions and gives the line to change.
25
33
  **Claude Code**, `.mcp.json` in the root of the project:
26
34
 
27
35
  ```json
28
- {"mcpServers": {"table-bro": {"command": "npx", "args": ["-y", "@table-bro/mcp@1.1.0"]}}}
36
+ {"mcpServers": {"table-bro": {"command": "npx", "args": ["-y", "@table-bro/mcp@1.2.0"]}}}
29
37
  ```
30
38
 
31
- or `claude mcp add --scope project table-bro -- npx -y @table-bro/mcp@1.1.0`.
39
+ or `claude mcp add --scope project table-bro -- npx -y @table-bro/mcp@1.2.0`.
32
40
 
33
41
  **Codex**, `~/.codex/config.toml`:
34
42
 
35
43
  ```toml
36
44
  [mcp_servers.table-bro]
37
45
  command = "npx"
38
- args = ["-y", "@table-bro/mcp@1.1.0"]
46
+ args = ["-y", "@table-bro/mcp@1.2.0"]
39
47
  ```
40
48
 
41
49
  Codex calls the tools of the server when `AGENTS.md` of the project says so:
@@ -47,19 +55,19 @@ The tables of this project are Table, Bro. Its MCP server table-bro has the refe
47
55
  **Cursor**, `.cursor/mcp.json` in the project:
48
56
 
49
57
  ```json
50
- {"mcpServers": {"table-bro": {"command": "npx", "args": ["-y", "@table-bro/mcp@1.1.0"]}}}
58
+ {"mcpServers": {"table-bro": {"command": "npx", "args": ["-y", "@table-bro/mcp@1.2.0"]}}}
51
59
  ```
52
60
 
53
61
  **VS Code**, `.vscode/mcp.json` in the project:
54
62
 
55
63
  ```json
56
- {"servers": {"table-bro": {"type": "stdio", "command": "npx", "args": ["-y", "@table-bro/mcp@1.1.0"]}}}
64
+ {"servers": {"table-bro": {"type": "stdio", "command": "npx", "args": ["-y", "@table-bro/mcp@1.2.0"]}}}
57
65
  ```
58
66
 
59
67
  **Claude Desktop**, `claude_desktop_config.json`:
60
68
 
61
69
  ```json
62
- {"mcpServers": {"table-bro": {"command": "npx", "args": ["-y", "@table-bro/mcp@1.1.0"]}}}
70
+ {"mcpServers": {"table-bro": {"command": "npx", "args": ["-y", "@table-bro/mcp@1.2.0"]}}}
63
71
  ```
64
72
 
65
73
  ## The folder of the project
@@ -75,7 +83,7 @@ A paid module of Table, Bro adds its fields of the config, its topics and its se
75
83
  started with its name, and the module is installed in the project:
76
84
 
77
85
  ```json
78
- {"mcpServers": {"table-bro": {"command": "npx", "args": ["-y", "@table-bro/mcp@1.1.0", "--extension", "<the package of the module>"]}}}
86
+ {"mcpServers": {"table-bro": {"command": "npx", "args": ["-y", "@table-bro/mcp@1.2.0", "--extension", "<the package of the module>"]}}}
79
87
  ```
80
88
 
81
89
  The server runs the code of no other package.
@@ -2,15 +2,18 @@
2
2
  export interface BroDocFile {
3
3
  /** The name of the file, unique on its page; the text shows the file by the line {{file}}. */
4
4
  file: string;
5
- /** The language of the code, as of a Markdown code block: ts, js, scss, css, html, json, bash or text. */
5
+ /** The language of the code, as of a Markdown code block: ts, tsx, js, scss, css, html, vue, svelte, json, bash or text. */
6
6
  language: string;
7
7
  code: string;
8
8
  }
9
9
  /**
10
10
  * A page of Docs: the one source of the page of Docs on table-bro.com and of its topic of get_docs. The text is
11
11
  * Markdown of a few forms: paragraphs, headings ###, #### and #####, ordered lists whose items continue with blocks
12
- * indented by three spaces, `code`, **strong**, _emphasis_ and [links](url). A line {{file}} shows a file of code, and a line
13
- * <!-- name --> starts the part of the page that the site shows at that name, next to its tables.
12
+ * indented by three spaces, tables | a | b | with the line | --- | --- | after the head, `code`, **strong**, _emphasis_ and
13
+ * [links](url); the _emphasis_ at the end of a heading is its note, as #### Loading _with Lottie_. A line {{file}} shows a
14
+ * file of code, and a line <!-- name --> starts the part of the page that the site shows at that name, next to its tables.
15
+ * An API that came after 1.1.0 names the version it came in: a section by the note of its heading, as
16
+ * #### Prerendering _since 1.2.0_, a field in a table of fields by the column Since, as | Field | Default | Since |.
14
17
  */
15
18
  export interface BroDocPage {
16
19
  /** The path of the page under /docs. */