@finctl/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.
@@ -0,0 +1,22 @@
1
+ import { readFileSync } from "node:fs";
2
+ import { fileURLToPath } from "node:url";
3
+ /**
4
+ * Read the package version at runtime from package.json (one source of truth,
5
+ * no drift with a hard-coded constant). package.json sits one level above the
6
+ * compiled file: dist/version.js -> ../package.json.
7
+ */
8
+ let cached;
9
+ export function getVersion() {
10
+ if (cached)
11
+ return cached;
12
+ try {
13
+ const pkgPath = fileURLToPath(new URL("../package.json", import.meta.url));
14
+ const pkg = JSON.parse(readFileSync(pkgPath, "utf8"));
15
+ cached = pkg.version ?? "0.0.0";
16
+ }
17
+ catch {
18
+ cached = "0.0.0";
19
+ }
20
+ return cached;
21
+ }
22
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC;;;;GAIG;AACH,IAAI,MAA0B,CAAC;AAE/B,MAAM,UAAU,UAAU;IACxB,IAAI,MAAM;QAAE,OAAO,MAAM,CAAC;IAC1B,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,aAAa,CAAC,IAAI,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;QAC3E,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAAyB,CAAC;QAC9E,MAAM,GAAG,GAAG,CAAC,OAAO,IAAI,OAAO,CAAC;IAClC,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,GAAG,OAAO,CAAC;IACnB,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@finctl/mcp",
3
+ "version": "0.1.0",
4
+ "description": "FinCtl MCP server — AWS cost intelligence inside AI-assisted dev tools (Cursor, VS Code, Kiro, Claude Code, and any MCP client).",
5
+ "license": "UNLICENSED",
6
+ "type": "module",
7
+ "bin": {
8
+ "finctl-mcp": "dist/index.js"
9
+ },
10
+ "files": [
11
+ "dist",
12
+ "README.md"
13
+ ],
14
+ "engines": {
15
+ "node": ">=20"
16
+ },
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/finctl/finctl-mcp.git"
23
+ },
24
+ "scripts": {
25
+ "build": "tsc",
26
+ "dev": "tsx src/index.ts",
27
+ "dev:http": "tsx src/index.ts --http",
28
+ "start": "node dist/index.js",
29
+ "typecheck": "tsc --noEmit",
30
+ "test": "npm run build && node scripts/smoke.mjs",
31
+ "validate": "npm run build && node scripts/validate-tools.mjs",
32
+ "prepublishOnly": "npm run build"
33
+ },
34
+ "dependencies": {
35
+ "@modelcontextprotocol/sdk": "^1.29.0",
36
+ "express": "^5.1.0",
37
+ "zod": "^3.25.0"
38
+ },
39
+ "devDependencies": {
40
+ "@types/express": "^5.0.0",
41
+ "@types/node": "^22.0.0",
42
+ "tsx": "^4.19.0",
43
+ "typescript": "^5.7.0"
44
+ }
45
+ }