@coo-quack/calc-mcp 1.7.2 → 1.8.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 +102 -79
- package/dist/index.js +211 -74973
- package/package.json +9 -3
- package/CONTRIBUTING.md +0 -51
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coo-quack/calc-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"calc-mcp": "dist/index.js"
|
|
7
7
|
},
|
|
8
8
|
"scripts": {
|
|
9
9
|
"dev": "bun run src/index.ts",
|
|
10
|
-
"build": "bun build src/index.ts --outdir dist --target node && printf '#!/usr/bin/env node\\n' | cat - dist/index.js > dist/tmp && mv dist/tmp dist/index.js && chmod +x dist/index.js",
|
|
10
|
+
"build": "bun build src/index.ts --outdir dist --target node --sourcemap=external --minify && printf '#!/usr/bin/env node\\n' | cat - dist/index.js > dist/tmp && mv dist/tmp dist/index.js && chmod +x dist/index.js",
|
|
11
11
|
"test": "bun test",
|
|
12
12
|
"lint": "biome check .",
|
|
13
13
|
"format": "biome format . --write",
|
|
@@ -32,6 +32,12 @@
|
|
|
32
32
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
33
33
|
"date-fns": "^4.1.0",
|
|
34
34
|
"mathjs": "^15.1.1",
|
|
35
|
+
"yaml": "^2.8.2",
|
|
35
36
|
"zod": "^4.3.6"
|
|
36
|
-
}
|
|
37
|
+
},
|
|
38
|
+
"files": [
|
|
39
|
+
"dist/index.js",
|
|
40
|
+
"README.md",
|
|
41
|
+
"LICENSE"
|
|
42
|
+
]
|
|
37
43
|
}
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Contributing
|
|
2
|
-
|
|
3
|
-
Thanks for your interest in contributing to calc-mcp!
|
|
4
|
-
|
|
5
|
-
## Development Setup
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
git clone https://github.com/coo-quack/calc-mcp.git
|
|
9
|
-
cd calc-mcp
|
|
10
|
-
bun install
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Commands
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
bun run dev # Start dev server
|
|
17
|
-
bun test # Run tests
|
|
18
|
-
bun run lint # Check with Biome
|
|
19
|
-
bun run format # Format with Biome
|
|
20
|
-
bun run build # Build for production
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Adding a New Tool
|
|
24
|
-
|
|
25
|
-
1. Create `src/tools/your_tool.ts` — export `execute()` and `tool`
|
|
26
|
-
2. Create `tests/tools/your_tool.test.ts` — cover all branches
|
|
27
|
-
3. Register in `src/index.ts` — import and add to the `tools` array
|
|
28
|
-
4. Update `README.md` — add to examples and tool table
|
|
29
|
-
|
|
30
|
-
## Release Checklist
|
|
31
|
-
|
|
32
|
-
When bumping a version:
|
|
33
|
-
|
|
34
|
-
1. Update `CHANGELOG.md` with new version entry
|
|
35
|
-
2. Update `docs/changelog.md` to match
|
|
36
|
-
3. Review `docs/tools.md` — add/update any changed tool parameters or examples
|
|
37
|
-
4. Review `docs/examples.md` — add examples for new features
|
|
38
|
-
5. Review `README.md` — update tool table and examples if needed
|
|
39
|
-
6. Create GitHub Release with release notes
|
|
40
|
-
|
|
41
|
-
## Pull Requests
|
|
42
|
-
|
|
43
|
-
- Branch from `main`
|
|
44
|
-
- Follow [Conventional Commits](https://www.conventionalcommits.org/) (`feat:`, `fix:`, `docs:`, etc.)
|
|
45
|
-
- All tests must pass (`bun test`)
|
|
46
|
-
- Lint must pass (`bun run lint`)
|
|
47
|
-
- One approval required to merge
|
|
48
|
-
|
|
49
|
-
## Code Style
|
|
50
|
-
|
|
51
|
-
Enforced by [Biome](https://biomejs.dev/). Run `bun run format` before committing.
|