@pathmode/mcp-server 1.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,26 @@
1
+ /**
2
+ * Local Intent Reader
3
+ * Reads intent.md files from the current working directory for offline/local mode.
4
+ */
5
+ export interface LocalIntent {
6
+ id: string;
7
+ status: string;
8
+ version: number;
9
+ objective: string;
10
+ userGoal: string;
11
+ stageName?: string;
12
+ severity?: string;
13
+ outcomes: string[];
14
+ constraints: string[];
15
+ edgeCases: {
16
+ scenario: string;
17
+ expectedBehavior: string;
18
+ }[];
19
+ healthMetrics: string[];
20
+ verification: Record<string, any>;
21
+ source: 'local';
22
+ }
23
+ /**
24
+ * Read all intent.md files from the current directory and subdirectories (1 level deep).
25
+ */
26
+ export declare function readLocalIntents(): LocalIntent[];
@@ -0,0 +1 @@
1
+ {"version":3,"file":"","sourceRoot":"","sources":["file:///Users/jannelammi/code/Pathmode/packages/mcp-server/src/local-reader.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,gBAAgB,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5D,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAClC,MAAM,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,WAAW,EAAE,CAmBhD"}
package/manifest.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "manifest_version": "0.3",
3
+ "name": "pathmode",
4
+ "display_name": "Pathmode",
5
+ "version": "1.1.0",
6
+ "description": "Connect AI agents to your Intent Layer. Get strategic context, dependency graphs, and implementation prompts.",
7
+ "long_description": "Pathmode MCP Server connects Claude Code, Cursor, and other AI agents to your product team's Intent Layer. AI agents get structured specifications (objectives, outcomes, constraints, edge cases), dependency graph analysis (critical path, bottlenecks, cycles), and workspace strategy context \u2014 so they build the right thing, not just any thing.",
8
+ "author": {
9
+ "name": "Pathmode",
10
+ "url": "https://pathmode.io"
11
+ },
12
+ "homepage": "https://pathmode.io",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/pathmode/mcp-server"
16
+ },
17
+ "documentation": "https://github.com/pathmode/mcp-server#readme",
18
+ "support": "https://github.com/pathmode/mcp-server/issues",
19
+ "license": "MIT",
20
+ "keywords": [
21
+ "pathmode",
22
+ "intent-engineering",
23
+ "product-development",
24
+ "dependency-graph",
25
+ "ai-agents",
26
+ "strategic-planning"
27
+ ],
28
+ "privacy_policies": [
29
+ "https://pathmode.io/privacy"
30
+ ],
31
+ "server": {
32
+ "type": "node",
33
+ "entry_point": "dist/index.js",
34
+ "mcp_config": {
35
+ "command": "npx",
36
+ "args": ["@pathmode/mcp-server"],
37
+ "env": {
38
+ "PATHMODE_API_KEY": "${user_config.api_key}"
39
+ }
40
+ }
41
+ },
42
+ "user_config": {
43
+ "api_key": {
44
+ "type": "string",
45
+ "title": "Pathmode API Key",
46
+ "description": "Your Pathmode API key (starts with pm_live_). Get one from Settings > API Keys in the Pathmode app.",
47
+ "sensitive": true,
48
+ "required": true
49
+ }
50
+ },
51
+ "compatibility": {
52
+ "platforms": ["darwin", "win32", "linux"],
53
+ "runtimes": {
54
+ "node": ">=18.0.0"
55
+ }
56
+ },
57
+ "tools_generated": true,
58
+ "prompts_generated": true
59
+ }
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@pathmode/mcp-server",
3
+ "version": "1.1.0",
4
+ "description": "Pathmode MCP Server — Connect Claude Code, Cursor, and AI agents to your Intent Layer. Get strategic context, dependency graphs, and implementation prompts.",
5
+ "main": "dist/index.js",
6
+ "bin": {
7
+ "pathmode-mcp": "./dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist/",
11
+ "manifest.json",
12
+ "README.md"
13
+ ],
14
+ "scripts": {
15
+ "build": "ncc build src/index.ts -o dist",
16
+ "dev": "ts-node src/index.ts",
17
+ "prepublishOnly": "npm run build"
18
+ },
19
+ "keywords": [
20
+ "pathmode",
21
+ "mcp",
22
+ "model-context-protocol",
23
+ "claude-code",
24
+ "cursor",
25
+ "windsurf",
26
+ "intent-engineering",
27
+ "ai-agents",
28
+ "product-development",
29
+ "dependency-graph",
30
+ "strategic-planning"
31
+ ],
32
+ "author": "Pathmode",
33
+ "license": "MIT",
34
+ "type": "commonjs",
35
+ "engines": {
36
+ "node": ">=18.0.0"
37
+ },
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "git+https://github.com/pathmode/mcp-server.git"
41
+ },
42
+ "homepage": "https://pathmode.io",
43
+ "dependencies": {
44
+ "@modelcontextprotocol/sdk": "^1.12.1",
45
+ "gray-matter": "^4.0.3",
46
+ "zod": "^3.24.0"
47
+ },
48
+ "devDependencies": {
49
+ "@types/node": "^25.1.0",
50
+ "@vercel/ncc": "^0.38.4",
51
+ "ts-node": "^10.9.2",
52
+ "typescript": "^5.9.3"
53
+ }
54
+ }