Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Publish MCP with versioned API client dependency
Mike Cao99faddbbb6d6
diff --git a/packages/api-client/package.json b/packages/api-client/package.jsonindex 41308fcc9..9e5f8c1a5 100644--- a/packages/api-client/package.json+++ b/packages/api-client/package.json@@ -1,6 +1,6 @@{"name": "@umami/api-client",- "version": "1.0.0-alpha.0",+ "version": "0.81.0","description": "TypeScript client for the Umami API, generated from the Umami OpenAPI contract.","author": "Umami Software, Inc. <[email protected]>","license": "MIT",diff --git a/packages/mcp/package.json b/packages/mcp/package.jsonindex 67f08ece5..e5caf462c 100644--- a/packages/mcp/package.json+++ b/packages/mcp/package.json@@ -1,6 +1,6 @@{"name": "@umami/mcp",- "version": "1.0.0-alpha.0",+ "version": "0.2.0","description": "Model Context Protocol server for Umami analytics.","author": "Umami Software, Inc. <[email protected]>","license": "MIT",@@ -21,15 +21,19 @@"engines": {"node": ">=20"},+ "publishConfig": {+ "access": "public"+ },"scripts": {"build": "tsup",+ "prepack": "pnpm --filter @umami/api-client build && pnpm run build","test": "vitest run","typecheck": "tsc --noEmit","start": "node dist/cli.js"},"dependencies": {"@modelcontextprotocol/server": "^2.0.0",- "@umami/api-client": "workspace:*",+ "@umami/api-client": "^0.81.0","zod": "^4.4.3"},"devDependencies": {diff --git a/packages/mcp/src/server.ts b/packages/mcp/src/server.tsindex 629bc470f..5430bc4f0 100644--- a/packages/mcp/src/server.ts+++ b/packages/mcp/src/server.ts@@ -5,7 +5,7 @@ import { type AnyToolDefinition, registerTool, type ToolContext } from './lib/toimport { allTools } from './tools';export const SERVER_NAME = 'umami';-export const SERVER_VERSION = '1.0.0';+export const SERVER_VERSION = '0.1.0';export const SERVER_INSTRUCTIONS = `Umami is a privacy-focused web analytics platform. These tools answer questions about website traffic, visitors, pages, referrers, events, sessions and conversion reports.diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 96e0ebfe4..c2de8f572 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -304,8 +304,8 @@ importers:specifier: ^2.0.0version: 2.0.0'@umami/api-client':- specifier: workspace:*- version: link:../api-client+ specifier: ^0.81.0+ version: 0.81.0zod:specifier: ^4.4.3version: 4.5.4@@ -351,70 +351,36 @@ packages:resolution: {integrity: sha512-60X7qkglvrap8mn1lh2ebxXdZYtUcpd7gsmy9kLaBJ4i/WdY8PqTSdxyA8qraikqKQK5C1KRBKXqznrVapyNaw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-yDBHV9kQNcr2/sUr9jghVyz9C3Y5G2zUM2H2lo+9mKv4sFgbA8s8Z9t8D1jiTkGoO/NoIfKMyKWr4s6CN23ZwQ==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==}engines: {node: '>=6.9.0'}peerDependencies:'@babel/core': ^7.0.0- '@babel/[email protected]':- resolution: {integrity: sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==}- engines: {node: '>=6.9.0'}- peerDependencies:- '@babel/core': ^7.0.0-'@babel/[email protected]':resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}engines: {node: '>=6.9.0'}@@ -427,28 +393,15 @@ packages:resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-PTNtvUQihsAsDHMOP5pfobP8C6CM4JWXmP8DrEIt46c3r2bf87Ua1zoqevsMo9g+tWDwgWrFP5EIxuBx5RudAw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-7+Ey1mAgYqFAx2h0RuoxcQT5+MlG3GTV0TQrgr7/ZliKsm/MNDxVVutlWaziMq7wJNAz8MTqz55XLpWvva6StA==}engines: {node: '>=6.0.0'}hasBin: true- '@babel/[email protected]':- resolution: {integrity: sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg==}- engines: {node: '>=6.0.0'}- hasBin: true-'@babel/[email protected]':resolution: {integrity: sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==}engines: {node: '>=6.9.0'}@@ -461,26 +414,14 @@ packages:resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-7w4kZYHneL3A6NP2nxzHvT3HCZ7puDZZjFMqDpBPECub79sTtSO5CGXDkKrTQq8ksAwfD/XI2MRFX23njdDaIQ==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==}- engines: {node: '>=6.9.0'}-'@base-ui/[email protected]':resolution: {integrity: sha512-P0/1sxo6SBVZOklKMIedvTWqw2s2IQzi9x5bIVsXu980cuSOD4NeuRSs+/L7LZQfDkZP/uRZyGPyfFl/B1oH+Q==}engines: {node: '>=14.0.0'}@@ -1710,9 +1651,6 @@ packages:'@jridgewell/[email protected]':resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}- '@jridgewell/[email protected]':- resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==}-'@jridgewell/[email protected]':resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}engines: {node: '>=6.0.0'}@@ -2997,6 +2935,9 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==}+ '@umami/[email protected]':+ resolution: {integrity: sha512-cwkQbe8U/m+zEgfe+nNExU0AoY8BSd+x4Qs7i5nfR2gGrktfoH6Y375e237OFYpmvhJr5BJdML1Vzuu6v7+kmw==}+'@umami/[email protected]':resolution: {integrity: sha512-qYdtwsp7DztAqs122s0ARZcCq3JTwtn6ytHJxA+boktLywyWP74hiB3PHQ/F411wWb8vX958yHwv9TgJOIhCrw==}peerDependencies:@@ -6159,8 +6100,6 @@ snapshots:'@babel/[email protected]': {}- '@babel/[email protected]': {}-'@babel/[email protected]([email protected])':dependencies:'@ampproject/remapping': 2.3.0@@ -6181,26 +6120,6 @@ snapshots:transitivePeerDependencies:- supports-color- '@babel/[email protected]([email protected])':- dependencies:- '@babel/code-frame': 7.29.7- '@babel/generator': 7.29.7- '@babel/helper-compilation-targets': 7.29.7- '@babel/helper-module-transforms': 7.29.7(@babel/[email protected]([email protected]))([email protected])- '@babel/helpers': 7.29.7- '@babel/parser': 7.29.7- '@babel/template': 7.29.7- '@babel/traverse': 7.29.7([email protected])- '@babel/types': 7.29.7- '@jridgewell/remapping': 2.3.5- convert-source-map: 2.0.0- debug: 4.4.3([email protected])- gensync: 1.0.0-beta.2- json5: 2.2.3- semver: 6.3.1- transitivePeerDependencies:- - supports-color-'@babel/[email protected]':dependencies:'@babel/parser': 7.28.3@@ -6209,14 +6128,6 @@ snapshots:'@jridgewell/trace-mapping': 0.3.30jsesc: 3.1.0- '@babel/[email protected]':- dependencies:- '@babel/parser': 7.29.7- '@babel/types': 7.29.7- '@jridgewell/gen-mapping': 0.3.13- '@jridgewell/trace-mapping': 0.3.31- jsesc: 3.1.0-'@babel/[email protected]':dependencies:'@babel/compat-data': 7.28.0@@ -6225,18 +6136,8 @@ snapshots:lru-cache: 5.1.1semver: 6.3.1- '@babel/[email protected]':- dependencies:- '@babel/compat-data': 7.29.7- '@babel/helper-validator-option': 7.29.7- browserslist: 4.28.7- lru-cache: 5.1.1- semver: 6.3.1-'@babel/[email protected]': {}- '@babel/[email protected]': {}-'@babel/[email protected]([email protected])':dependencies:'@babel/traverse': 7.28.3([email protected])@@ -6244,13 +6145,6 @@ snapshots:transitivePeerDependencies:- supports-color- '@babel/[email protected]([email protected])':- dependencies:- '@babel/traverse': 7.29.7([email protected])- '@babel/types': 7.29.7- transitivePeerDependencies:- - supports-color-dependencies:'@babel/core': 7.28.3([email protected])@@ -6260,45 +6154,23 @@ snapshots:transitivePeerDependencies:- supports-color- dependencies:- '@babel/core': 7.28.3([email protected])- '@babel/helper-module-imports': 7.29.7([email protected])- '@babel/helper-validator-identifier': 7.29.7- '@babel/traverse': 7.29.7([email protected])- transitivePeerDependencies:- - supports-color-'@babel/[email protected]': {}- '@babel/[email protected]': {}-'@babel/[email protected]': {}'@babel/[email protected]': {}'@babel/[email protected]': {}- '@babel/[email protected]': {}-'@babel/[email protected]':dependencies:'@babel/template': 7.27.2'@babel/types': 7.28.2- '@babel/[email protected]':- dependencies:- '@babel/template': 7.29.7- '@babel/types': 7.29.7-'@babel/[email protected]':dependencies:'@babel/types': 7.28.2- '@babel/[email protected]':- dependencies:- '@babel/types': 7.29.7-'@babel/[email protected]': {}'@babel/[email protected]': {}@@ -6309,12 +6181,6 @@ snapshots:'@babel/parser': 7.28.3'@babel/types': 7.28.2- '@babel/[email protected]':- dependencies:- '@babel/code-frame': 7.29.7- '@babel/parser': 7.29.7- '@babel/types': 7.29.7-'@babel/[email protected]([email protected])':dependencies:'@babel/code-frame': 7.29.7@@ -6327,28 +6193,11 @@ snapshots:transitivePeerDependencies:- supports-color- '@babel/[email protected]([email protected])':- dependencies:- '@babel/code-frame': 7.29.7- '@babel/generator': 7.29.7- '@babel/helper-globals': 7.29.7- '@babel/parser': 7.29.7- '@babel/template': 7.29.7- '@babel/types': 7.29.7- debug: 4.4.3([email protected])- transitivePeerDependencies:- - supports-color-'@babel/[email protected]':dependencies:'@babel/helper-string-parser': 7.27.1'@babel/helper-validator-identifier': 7.27.1- '@babel/[email protected]':- dependencies:- '@babel/helper-string-parser': 7.29.7- '@babel/helper-validator-identifier': 7.29.7-'@base-ui/[email protected](@date-fns/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.29.7@@ -7317,11 +7166,6 @@ snapshots:'@jridgewell/sourcemap-codec': 1.5.5'@jridgewell/trace-mapping': 0.3.31- '@jridgewell/[email protected]':- dependencies:- '@jridgewell/gen-mapping': 0.3.13- '@jridgewell/trace-mapping': 0.3.31-'@jridgewell/[email protected]': {}'@jridgewell/[email protected]':@@ -8427,6 +8271,8 @@ snapshots:dependencies:'@types/yargs-parser': 21.0.3+ '@umami/[email protected]': {}+'@umami/[email protected](@date-fns/[email protected])(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]([email protected]))':dependencies:'@base-ui/react': 1.8.0(@date-fns/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 19fe37cf1..dbfb55890 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -13,3 +13,4 @@ allowBuilds:minimumReleaseAgeExclude:- '@umami/react-zen'+ - '@umami/[email protected]'