@setluca/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/README.md +156 -0
- package/dist/config.js +47 -0
- package/dist/errors.js +25 -0
- package/dist/generated/openapi-inputs.js +2926 -0
- package/dist/generated/openapi-outputs.js +13798 -0
- package/dist/http.js +148 -0
- package/dist/index.js +12 -0
- package/dist/oauth-resolver.js +55 -0
- package/dist/observability.js +19 -0
- package/dist/openapi-zod.js +269 -0
- package/dist/operations.js +780 -0
- package/dist/prompts.js +79 -0
- package/dist/provenance.js +15 -0
- package/dist/remote.js +76 -0
- package/dist/resources.js +38 -0
- package/dist/server.js +375 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +74 -0
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@setluca/mcp",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Model Context Protocol server for the Luca public API.",
|
|
5
|
+
"//publish": "Publish name is @setluca/mcp (the @setluca npm org). To publish: set NPM_TOKEN (scoped to @setluca), tag mcp-v*. See docs/release.md.",
|
|
6
|
+
"private": false,
|
|
7
|
+
"type": "module",
|
|
8
|
+
"license": "Apache-2.0",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"mcp",
|
|
11
|
+
"model-context-protocol",
|
|
12
|
+
"luca",
|
|
13
|
+
"ai",
|
|
14
|
+
"crm"
|
|
15
|
+
],
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=20"
|
|
18
|
+
},
|
|
19
|
+
"bin": {
|
|
20
|
+
"luca-mcp": "dist/index.js"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"README.md"
|
|
25
|
+
],
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"exports": {
|
|
30
|
+
".": "./dist/index.js",
|
|
31
|
+
"./remote": "./dist/remote.js"
|
|
32
|
+
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "tsc -p tsconfig.build.json",
|
|
35
|
+
"start": "bun src/index.ts",
|
|
36
|
+
"inspect": "bun run build && bunx mcp-inspector --transport stdio bun dist/index.js",
|
|
37
|
+
"inspect:cli": "bun run build && bunx mcp-inspector --cli --transport stdio bun dist/index.js",
|
|
38
|
+
"test": "vitest run --exclude test/stdio-smoke.test.ts",
|
|
39
|
+
"test:stdio": "vitest run test/stdio-smoke.test.ts",
|
|
40
|
+
"dev:remote": "wrangler dev",
|
|
41
|
+
"deploy": "wrangler deploy --env production",
|
|
42
|
+
"test:integration": "vitest run test/integration",
|
|
43
|
+
"coverage": "vitest run --exclude test/stdio-smoke.test.ts --coverage",
|
|
44
|
+
"typecheck": "tsgo --noEmit",
|
|
45
|
+
"verify": "bun run docs:check && bun run openapi:inputs:check && bun run openapi:outputs:check && bun run openapi:check && bun run registry:check && bun run typecheck && bun run test && bun run build && bun run test:stdio",
|
|
46
|
+
"openapi:generate": "bun scripts/generate-openapi-inputs.ts --write && bun scripts/generate-openapi-outputs.ts --write",
|
|
47
|
+
"openapi:inputs:check": "bun scripts/generate-openapi-inputs.ts --check",
|
|
48
|
+
"openapi:outputs:check": "bun scripts/generate-openapi-outputs.ts --check",
|
|
49
|
+
"openapi:check": "bun scripts/check-openapi.ts",
|
|
50
|
+
"registry:check": "bun scripts/check-registry.ts",
|
|
51
|
+
"docs:generate": "bun scripts/generate-docs.ts --write",
|
|
52
|
+
"docs:check": "bun scripts/generate-docs.ts --check",
|
|
53
|
+
"biome:lint": "biome lint ./src ./scripts ./test",
|
|
54
|
+
"biome:format": "biome format --write ./src ./scripts ./test",
|
|
55
|
+
"biome:write": "biome check --write ./src ./scripts ./test",
|
|
56
|
+
"biome:fix:unsafe": "biome check --fix --unsafe ./src ./scripts ./test",
|
|
57
|
+
"run-all": "bun run openapi:generate && bun run docs:generate && bun run biome:fix:unsafe && bun run biome:format && bun run biome:write && bun run biome:lint && bun run typecheck && bun run test",
|
|
58
|
+
"clean": "rm -rf .turbo dist coverage node_modules"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
62
|
+
"effect": "^3.21.4",
|
|
63
|
+
"zod": "^4.4.3"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@luca/config": "workspace:*",
|
|
67
|
+
"@modelcontextprotocol/inspector": "^0.22.0",
|
|
68
|
+
"@types/node": "^26.1.1",
|
|
69
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
70
|
+
"typescript": "^6.0.3",
|
|
71
|
+
"vitest": "^4.1.10",
|
|
72
|
+
"wrangler": "^4.107.1"
|
|
73
|
+
}
|
|
74
|
+
}
|