mcpspan 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/package.json ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "mcpspan",
3
+ "version": "0.1.0",
4
+ "description": "Self-hosted analytics for MCP servers: which tools, resources and prompts get used, by which client, how fast, and why they fail.",
5
+ "keywords": [
6
+ "mcp",
7
+ "model-context-protocol",
8
+ "analytics",
9
+ "telemetry",
10
+ "observability",
11
+ "monitoring",
12
+ "metrics",
13
+ "mcp-server",
14
+ "tool-calls",
15
+ "ai-agents"
16
+ ],
17
+ "license": "MIT",
18
+ "author": "Kacper Zatoń",
19
+ "homepage": "https://github.com/mcpspan/mcpspan/tree/main/packages/mcpspan#readme",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/mcpspan/mcpspan.git",
23
+ "directory": "packages/mcpspan"
24
+ },
25
+ "bugs": {
26
+ "url": "https://github.com/mcpspan/mcpspan/issues"
27
+ },
28
+ "type": "module",
29
+ "sideEffects": false,
30
+ "main": "./dist/index.cjs",
31
+ "module": "./dist/index.mjs",
32
+ "types": "./dist/index.d.mts",
33
+ "exports": {
34
+ ".": {
35
+ "import": {
36
+ "types": "./dist/index.d.mts",
37
+ "default": "./dist/index.mjs"
38
+ },
39
+ "require": {
40
+ "types": "./dist/index.d.cts",
41
+ "default": "./dist/index.cjs"
42
+ }
43
+ },
44
+ "./package.json": "./package.json"
45
+ },
46
+ "files": [
47
+ "dist"
48
+ ],
49
+ "engines": {
50
+ "node": ">=18"
51
+ },
52
+ "publishConfig": {
53
+ "access": "public"
54
+ },
55
+ "scripts": {
56
+ "build": "tsdown",
57
+ "typecheck": "tsc --noEmit",
58
+ "test": "vitest run",
59
+ "test:watch": "vitest",
60
+ "check:readme": "node scripts/check-readme.mjs",
61
+ "prepack": "pnpm build",
62
+ "prepublishOnly": "pnpm build && pnpm typecheck && pnpm test && pnpm check:readme"
63
+ },
64
+ "devDependencies": {
65
+ "@modelcontextprotocol/client": "^2.1.0",
66
+ "@modelcontextprotocol/sdk": "^1.30.0",
67
+ "@modelcontextprotocol/server": "^2.1.0",
68
+ "@types/node": "^18.19.130",
69
+ "@vitest/coverage-v8": "4.1.11",
70
+ "tsdown": "^0.23.0",
71
+ "typescript": "^6.0.3",
72
+ "vitest": "4.1.11",
73
+ "zod": "^4.6.5"
74
+ }
75
+ }