@stubbedev/trimit-mcp 0.1.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 +21 -0
- package/README.md +230 -0
- package/dist/categories/customers.js +187 -0
- package/dist/categories/exported.js +105 -0
- package/dist/categories/index.js +9 -0
- package/dist/categories/inventory.js +63 -0
- package/dist/categories/masterdata.js +246 -0
- package/dist/categories/metadata.js +27 -0
- package/dist/categories/postedsales.js +155 -0
- package/dist/categories/products.js +176 -0
- package/dist/categories/salesdocs.js +395 -0
- package/dist/categories/standard.js +228 -0
- package/dist/common.js +91 -0
- package/dist/index.js +10 -0
- package/dist/registry.js +27 -0
- package/dist/server.js +706 -0
- package/package.json +56 -0
package/package.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@stubbedev/trimit-mcp",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "MCP server for TRIMIT (Microsoft Dynamics 365 Business Central) API development assistance",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"trimit-mcp": "dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc",
|
|
16
|
+
"start": "node dist/index.js",
|
|
17
|
+
"dev": "tsx src/index.ts",
|
|
18
|
+
"release:patch": "npm version patch && git push origin && git push origin --tags && gh release create $(git describe --tags) --generate-notes",
|
|
19
|
+
"release:minor": "npm version minor && git push origin && git push origin --tags && gh release create $(git describe --tags) --generate-notes",
|
|
20
|
+
"release:major": "npm version major && git push origin && git push origin --tags && gh release create $(git describe --tags) --generate-notes",
|
|
21
|
+
"smoke": "npm run build && npm run smoke:tools",
|
|
22
|
+
"smoke:tools": "printf '%s\\n' '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/list\",\"params\":{}}' | node dist/index.js",
|
|
23
|
+
"smoke:validate": "printf '%s\\n' '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/list\",\"params\":{}}' | node dist/index.js | node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{try{const r=JSON.parse(d.trim());if(r.error)throw new Error('server error: '+r.error.message);const t=r.result?.tools;if(!Array.isArray(t)||!t.length)throw new Error('no tools in response');const bad=t.filter(x=>!x.name||!x.inputSchema);if(bad.length)throw new Error('malformed tools: '+bad.map(x=>x.name??'(unnamed)').join(', '));console.log('smoke OK — '+t.length+' tool(s): '+t.map(x=>x.name).join(', '))}catch(e){console.error('smoke FAIL:',e.message);process.exit(1)}})\"",
|
|
24
|
+
"prerelease": "npm run build && npm run smoke:validate && ncu"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/stubbedev/trimit-mcp.git"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://github.com/stubbedev/trimit-mcp#readme",
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://github.com/stubbedev/trimit-mcp/issues"
|
|
33
|
+
},
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"keywords": [
|
|
36
|
+
"mcp",
|
|
37
|
+
"trimit",
|
|
38
|
+
"business-central",
|
|
39
|
+
"dynamics-365",
|
|
40
|
+
"erp",
|
|
41
|
+
"fashion",
|
|
42
|
+
"apparel",
|
|
43
|
+
"odata",
|
|
44
|
+
"model-context-protocol"
|
|
45
|
+
],
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
48
|
+
"zod": "^4.3.6"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/node": "^25.6.0",
|
|
52
|
+
"tsx": "^4.21.0",
|
|
53
|
+
"npm-check-updates": "^21.0.2",
|
|
54
|
+
"typescript": "^6.0.3"
|
|
55
|
+
}
|
|
56
|
+
}
|