@ferscloud/fers-mcp 2.1.0 → 2.77.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/LICENSE +65 -65
- package/README.md +97 -92
- package/dist/fers-mcp.cjs +5335 -5301
- package/dist/solver-worker.cjs +46 -46
- package/package.json +35 -35
package/LICENSE
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
Copyright (c) 2024-2026 Jeroen Hermsen
|
|
2
|
-
|
|
3
|
-
The FERS MCP server is free for any noncommercial purpose under the
|
|
4
|
-
PolyForm Strict License 1.0.0 below. Commercial use requires a commercial
|
|
5
|
-
licence, which comes with a paid FERS Cloud plan: https://ferscloud.com/pricing
|
|
6
|
-
|
|
7
|
-
# PolyForm Strict License 1.0.0
|
|
8
|
-
|
|
9
|
-
<https://polyformproject.org/licenses/strict/1.0.0>
|
|
10
|
-
|
|
11
|
-
## Acceptance
|
|
12
|
-
|
|
13
|
-
In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
|
|
14
|
-
|
|
15
|
-
## Copyright License
|
|
16
|
-
|
|
17
|
-
The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose, other than distributing the software or making changes or new works based on the software.
|
|
18
|
-
|
|
19
|
-
## Patent License
|
|
20
|
-
|
|
21
|
-
The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
|
|
22
|
-
|
|
23
|
-
## Noncommercial Purposes
|
|
24
|
-
|
|
25
|
-
Any noncommercial purpose is a permitted purpose.
|
|
26
|
-
|
|
27
|
-
## Personal Uses
|
|
28
|
-
|
|
29
|
-
Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.
|
|
30
|
-
|
|
31
|
-
## Noncommercial Organizations
|
|
32
|
-
|
|
33
|
-
Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.
|
|
34
|
-
|
|
35
|
-
## Fair Use
|
|
36
|
-
|
|
37
|
-
You may have "fair use" rights for the software under the law. These terms do not limit them.
|
|
38
|
-
|
|
39
|
-
## No Other Rights
|
|
40
|
-
|
|
41
|
-
These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
|
|
42
|
-
|
|
43
|
-
## Patent Defense
|
|
44
|
-
|
|
45
|
-
If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
|
|
46
|
-
|
|
47
|
-
## Violations
|
|
48
|
-
|
|
49
|
-
The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
|
|
50
|
-
|
|
51
|
-
## No Liability
|
|
52
|
-
|
|
53
|
-
***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
|
|
54
|
-
|
|
55
|
-
## Definitions
|
|
56
|
-
|
|
57
|
-
The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
|
|
58
|
-
|
|
59
|
-
**You** refers to the individual or entity agreeing to these terms.
|
|
60
|
-
|
|
61
|
-
**Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
|
|
62
|
-
|
|
63
|
-
**Your licenses** are all the licenses granted to you for the software under these terms.
|
|
64
|
-
|
|
65
|
-
**Use** means anything you do with the software requiring one of your licenses.
|
|
1
|
+
Copyright (c) 2024-2026 Jeroen Hermsen
|
|
2
|
+
|
|
3
|
+
The FERS MCP server is free for any noncommercial purpose under the
|
|
4
|
+
PolyForm Strict License 1.0.0 below. Commercial use requires a commercial
|
|
5
|
+
licence, which comes with a paid FERS Cloud plan: https://ferscloud.com/pricing
|
|
6
|
+
|
|
7
|
+
# PolyForm Strict License 1.0.0
|
|
8
|
+
|
|
9
|
+
<https://polyformproject.org/licenses/strict/1.0.0>
|
|
10
|
+
|
|
11
|
+
## Acceptance
|
|
12
|
+
|
|
13
|
+
In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
|
|
14
|
+
|
|
15
|
+
## Copyright License
|
|
16
|
+
|
|
17
|
+
The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose, other than distributing the software or making changes or new works based on the software.
|
|
18
|
+
|
|
19
|
+
## Patent License
|
|
20
|
+
|
|
21
|
+
The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
|
|
22
|
+
|
|
23
|
+
## Noncommercial Purposes
|
|
24
|
+
|
|
25
|
+
Any noncommercial purpose is a permitted purpose.
|
|
26
|
+
|
|
27
|
+
## Personal Uses
|
|
28
|
+
|
|
29
|
+
Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.
|
|
30
|
+
|
|
31
|
+
## Noncommercial Organizations
|
|
32
|
+
|
|
33
|
+
Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.
|
|
34
|
+
|
|
35
|
+
## Fair Use
|
|
36
|
+
|
|
37
|
+
You may have "fair use" rights for the software under the law. These terms do not limit them.
|
|
38
|
+
|
|
39
|
+
## No Other Rights
|
|
40
|
+
|
|
41
|
+
These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
|
|
42
|
+
|
|
43
|
+
## Patent Defense
|
|
44
|
+
|
|
45
|
+
If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
|
|
46
|
+
|
|
47
|
+
## Violations
|
|
48
|
+
|
|
49
|
+
The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
|
|
50
|
+
|
|
51
|
+
## No Liability
|
|
52
|
+
|
|
53
|
+
***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
|
|
54
|
+
|
|
55
|
+
## Definitions
|
|
56
|
+
|
|
57
|
+
The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
|
|
58
|
+
|
|
59
|
+
**You** refers to the individual or entity agreeing to these terms.
|
|
60
|
+
|
|
61
|
+
**Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
|
|
62
|
+
|
|
63
|
+
**Your licenses** are all the licenses granted to you for the software under these terms.
|
|
64
|
+
|
|
65
|
+
**Use** means anything you do with the software requiring one of your licenses.
|
package/README.md
CHANGED
|
@@ -1,92 +1,97 @@
|
|
|
1
|
-
# FERS MCP server, local
|
|
2
|
-
|
|
3
|
-
Structural finite-element analysis for AI agents, solving on **your own machine**. The same tools as the hosted
|
|
4
|
-
FERS MCP server: build beams, frames, trusses and plates, add loads and EN 1990 combinations, run modal,
|
|
5
|
-
buckling and seismic analyses and Eurocode unity checks. The difference is where the solve runs: here, with the
|
|
6
|
-
FERS engine (Rust compiled to WebAssembly) inside this process, not on a server.
|
|
7
|
-
|
|
8
|
-
- Results come back in seconds and stay on your machine.
|
|
9
|
-
- No per-solve charges, no request timeouts, no upload size limit.
|
|
10
|
-
- Free for non-commercial use, models up to **100 members**. Commercial use needs a FERS Pro API key, which
|
|
11
|
-
also raises the limit to **10,000 members**.
|
|
12
|
-
|
|
13
|
-
## Install
|
|
14
|
-
|
|
15
|
-
Node.js 18 or newer. The package runs with `npx`, nothing else to install.
|
|
16
|
-
|
|
17
|
-
**Claude Desktop.** Download `fers-mcp.mcpb` from the
|
|
18
|
-
[latest release](https://github.com/Jeroen124/FERS_core/releases?q=mcp-v) and double-click it, or add this to
|
|
19
|
-
`claude_desktop_config.json` (Settings, Developer, Edit Config):
|
|
20
|
-
|
|
21
|
-
```json
|
|
22
|
-
{
|
|
23
|
-
"mcpServers": {
|
|
24
|
-
"fers": {
|
|
25
|
-
"command": "npx",
|
|
26
|
-
"args": ["-y", "@ferscloud/fers-mcp"],
|
|
27
|
-
"env": { "FERS_API_KEY": "<your key, optional>" }
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
**Claude Code**
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
claude mcp add --transport stdio fers --env FERS_API_KEY=<your key> -- npx -y @ferscloud/fers-mcp
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
**Cursor** (`.cursor/mcp.json`) and most other clients use the same shape as Claude Desktop, with
|
|
40
|
-
`"type": "stdio"`. **VS Code** (`.vscode/mcp.json`) uses a top-level `servers` key instead of `mcpServers`.
|
|
41
|
-
**Codex CLI** (`~/.codex/config.toml`):
|
|
42
|
-
|
|
43
|
-
```toml
|
|
44
|
-
[mcp_servers.fers]
|
|
45
|
-
command = "npx"
|
|
46
|
-
args = ["-y", "@ferscloud/fers-mcp"]
|
|
47
|
-
env = { FERS_API_KEY = "<your key>" }
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
**ChatGPT desktop:** Settings, MCP servers, Add server, STDIO, command `npx -y @ferscloud/fers-mcp`.
|
|
51
|
-
|
|
52
|
-
Clients that cannot start a program on your computer (Claude and ChatGPT in the browser or on a phone) can use
|
|
53
|
-
the hosted server at `https://ferscloud.com/api/mcp` instead. It authors and validates models there and hands
|
|
54
|
-
back a link that solves the model in your browser.
|
|
55
|
-
|
|
56
|
-
## Options
|
|
57
|
-
|
|
58
|
-
| Setting | Default | What it does |
|
|
59
|
-
|---|---|---|
|
|
60
|
-
| `FERS_API_KEY` | not set | A FersCloud API key ([create one](https://ferscloud.com), Profile, API Keys). A Pro account raises the limit to 10,000 members. |
|
|
61
|
-
| `--out-dir <folder>` or `FERS_MCP_OUT_DIR` | not set | `solve_model` with `detail: "full"` writes the complete result to a file here and returns its path, instead of putting it in the conversation. |
|
|
62
|
-
| `FERS_HOME` | `~/.fers` | Where `stash_model` drafts and `save_model` models are kept. |
|
|
63
|
-
| `FERS_MCP_TIMEOUT_S` | `300` | Ceiling on one solve, in seconds. |
|
|
64
|
-
| `FERS_CLOUD_URL` | `https://ferscloud.com` | Licence server. |
|
|
65
|
-
|
|
66
|
-
`get_usage` reports the tier in force, why, and the engine version.
|
|
67
|
-
|
|
68
|
-
## What leaves your machine
|
|
69
|
-
|
|
70
|
-
Your models never do. With `FERS_API_KEY` set, the server sends that key to FersCloud to obtain a 30-minute solve
|
|
71
|
-
token; the engine verifies the token offline. Without a key nothing is sent at all and every solve runs on the
|
|
72
|
-
Free tier.
|
|
73
|
-
|
|
74
|
-
## Licence
|
|
75
|
-
|
|
76
|
-
PolyForm Strict License 1.0.0, see `LICENSE`: free for any non-commercial purpose. Commercial use needs a paid
|
|
77
|
-
FERS Cloud plan (https://ferscloud.com/pricing), which includes the commercial licence. The licence does not allow
|
|
78
|
-
modifying or redistributing the package. Documentation: https://ferscloud.com/mcp
|
|
79
|
-
|
|
80
|
-
## Releasing (maintainers)
|
|
81
|
-
|
|
82
|
-
The package is built from the FERS Cloud sources (`src/lib/mcp-core`, `src/mcp-local`) by
|
|
83
|
-
`npm run build:mcp-local`, and released by the
|
|
84
|
-
installs and smoke-tests both the npm package and the Claude Desktop bundle before it publishes anything.
|
|
85
|
-
|
|
86
|
-
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
1
|
+
# FERS MCP server, local
|
|
2
|
+
|
|
3
|
+
Structural finite-element analysis for AI agents, solving on **your own machine**. The same tools as the hosted
|
|
4
|
+
FERS MCP server: build beams, frames, trusses and plates, add loads and EN 1990 combinations, run modal,
|
|
5
|
+
buckling and seismic analyses and Eurocode unity checks. The difference is where the solve runs: here, with the
|
|
6
|
+
FERS engine (Rust compiled to WebAssembly) inside this process, not on a server.
|
|
7
|
+
|
|
8
|
+
- Results come back in seconds and stay on your machine.
|
|
9
|
+
- No per-solve charges, no request timeouts, no upload size limit.
|
|
10
|
+
- Free for non-commercial use, models up to **100 members**. Commercial use needs a FERS Pro API key, which
|
|
11
|
+
also raises the limit to **10,000 members**.
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
Node.js 18 or newer. The package runs with `npx`, nothing else to install.
|
|
16
|
+
|
|
17
|
+
**Claude Desktop.** Download `fers-mcp.mcpb` from the
|
|
18
|
+
[latest release](https://github.com/Jeroen124/FERS_core/releases?q=mcp-v) and double-click it, or add this to
|
|
19
|
+
`claude_desktop_config.json` (Settings, Developer, Edit Config):
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
{
|
|
23
|
+
"mcpServers": {
|
|
24
|
+
"fers": {
|
|
25
|
+
"command": "npx",
|
|
26
|
+
"args": ["-y", "@ferscloud/fers-mcp"],
|
|
27
|
+
"env": { "FERS_API_KEY": "<your key, optional>" }
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Claude Code**
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
claude mcp add --transport stdio fers --env FERS_API_KEY=<your key> -- npx -y @ferscloud/fers-mcp
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
**Cursor** (`.cursor/mcp.json`) and most other clients use the same shape as Claude Desktop, with
|
|
40
|
+
`"type": "stdio"`. **VS Code** (`.vscode/mcp.json`) uses a top-level `servers` key instead of `mcpServers`.
|
|
41
|
+
**Codex CLI** (`~/.codex/config.toml`):
|
|
42
|
+
|
|
43
|
+
```toml
|
|
44
|
+
[mcp_servers.fers]
|
|
45
|
+
command = "npx"
|
|
46
|
+
args = ["-y", "@ferscloud/fers-mcp"]
|
|
47
|
+
env = { FERS_API_KEY = "<your key>" }
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**ChatGPT desktop:** Settings, MCP servers, Add server, STDIO, command `npx -y @ferscloud/fers-mcp`.
|
|
51
|
+
|
|
52
|
+
Clients that cannot start a program on your computer (Claude and ChatGPT in the browser or on a phone) can use
|
|
53
|
+
the hosted server at `https://ferscloud.com/api/mcp` instead. It authors and validates models there and hands
|
|
54
|
+
back a link that solves the model in your browser.
|
|
55
|
+
|
|
56
|
+
## Options
|
|
57
|
+
|
|
58
|
+
| Setting | Default | What it does |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| `FERS_API_KEY` | not set | A FersCloud API key ([create one](https://ferscloud.com), Profile, API Keys). A Pro account raises the limit to 10,000 members. |
|
|
61
|
+
| `--out-dir <folder>` or `FERS_MCP_OUT_DIR` | not set | `solve_model` with `detail: "full"` writes the complete result to a file here and returns its path, instead of putting it in the conversation. |
|
|
62
|
+
| `FERS_HOME` | `~/.fers` | Where `stash_model` drafts and `save_model` models are kept. |
|
|
63
|
+
| `FERS_MCP_TIMEOUT_S` | `300` | Ceiling on one solve, in seconds. |
|
|
64
|
+
| `FERS_CLOUD_URL` | `https://ferscloud.com` | Licence server. |
|
|
65
|
+
|
|
66
|
+
`get_usage` reports the tier in force, why, and the engine version.
|
|
67
|
+
|
|
68
|
+
## What leaves your machine
|
|
69
|
+
|
|
70
|
+
Your models never do. With `FERS_API_KEY` set, the server sends that key to FersCloud to obtain a 30-minute solve
|
|
71
|
+
token; the engine verifies the token offline. Without a key nothing is sent at all and every solve runs on the
|
|
72
|
+
Free tier.
|
|
73
|
+
|
|
74
|
+
## Licence
|
|
75
|
+
|
|
76
|
+
PolyForm Strict License 1.0.0, see `LICENSE`: free for any non-commercial purpose. Commercial use needs a paid
|
|
77
|
+
FERS Cloud plan (https://ferscloud.com/pricing), which includes the commercial licence. The licence does not allow
|
|
78
|
+
modifying or redistributing the package. Documentation: https://ferscloud.com/mcp
|
|
79
|
+
|
|
80
|
+
## Releasing (maintainers)
|
|
81
|
+
|
|
82
|
+
The package is built from the FERS Cloud sources (`src/lib/mcp-core`, `src/mcp-local`) by
|
|
83
|
+
`npm run build:mcp-local`, and released by the GitHub workflow `publish-mcp.yml`, which tests, packs,
|
|
84
|
+
installs and smoke-tests both the npm package and the Claude Desktop bundle before it publishes anything.
|
|
85
|
+
|
|
86
|
+
- The version follows the engine the package bundles: `<engine minor>.<engine patch>.<n>`, so engine 0.2.75
|
|
87
|
+
gives 2.75.0 and another release on that engine 2.75.1. After an engine bump run
|
|
88
|
+
`node scripts/set-mcp-version.mjs`; for a server-only change, `node scripts/set-mcp-version.mjs --next`.
|
|
89
|
+
It writes `mcp-local/package.json`, `mcp-local/manifest.json`, `server.json`,
|
|
90
|
+
`public/.well-known/mcp/server-card.json` and `SERVER_VERSION` in `src/lib/mcp-core/server.ts`;
|
|
91
|
+
`mcpManifests.test.ts` fails until they agree and follow the engine pin.
|
|
92
|
+
- Releases publish themselves. After every successful prod deploy the workflow releases the version when
|
|
93
|
+
npm does not have it yet: npm, the `mcp-v<version>` release with the `.mcpb` on FERS_core, and the
|
|
94
|
+
official registry. A manual run builds and verifies; with `publish = true` it also finishes a release
|
|
95
|
+
whose later step failed, since each publish step skips what already exists.
|
|
96
|
+
- The first release (2.1.0) was published by hand, because npm attaches a trusted publisher only to an
|
|
97
|
+
existing package. The trusted publisher is `Jeroen124/FERS_cloud`, workflow `publish-mcp.yml`.
|