@pathmode/mcp-server 1.2.0 → 1.2.2

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.
Files changed (3) hide show
  1. package/LICENSE +196 -1
  2. package/README.md +105 -196
  3. package/package.json +3 -2
package/LICENSE CHANGED
@@ -1,6 +1,193 @@
1
+ The MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 ("Apache-2.0"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.
2
+
3
+ Contributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License.
4
+
5
+ No rights beyond those granted by the applicable original license are conveyed for such contributions.
6
+
7
+ ---
8
+
9
+ Apache License
10
+ Version 2.0, January 2004
11
+ http://www.apache.org/licenses/
12
+
13
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
14
+
15
+ 1. Definitions.
16
+
17
+ "License" shall mean the terms and conditions for use, reproduction,
18
+ and distribution as defined by Sections 1 through 9 of this document.
19
+
20
+ "Licensor" shall mean the copyright owner or entity authorized by
21
+ the copyright owner that is granting the License.
22
+
23
+ "Legal Entity" shall mean the union of the acting entity and all
24
+ other entities that control, are controlled by, or are under common
25
+ control with that entity. For the purposes of this definition,
26
+ "control" means (i) the power, direct or indirect, to cause the
27
+ direction or management of such entity, whether by contract or
28
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
29
+ outstanding shares, or (iii) beneficial ownership of such entity.
30
+
31
+ "You" (or "Your") shall mean an individual or Legal Entity
32
+ exercising permissions granted by this License.
33
+
34
+ "Source" form shall mean the preferred form for making modifications,
35
+ including but not limited to software source code, documentation
36
+ source, and configuration files.
37
+
38
+ "Object" form shall mean any form resulting from mechanical
39
+ transformation or translation of a Source form, including but
40
+ not limited to compiled object code, generated documentation,
41
+ and conversions to other media types.
42
+
43
+ "Work" shall mean the work of authorship, whether in Source or
44
+ Object form, made available under the License, as indicated by a
45
+ copyright notice that is included in or attached to the work
46
+ (an example is provided in the Appendix below).
47
+
48
+ "Derivative Works" shall mean any work, whether in Source or Object
49
+ form, that is based on (or derived from) the Work and for which the
50
+ editorial revisions, annotations, elaborations, or other modifications
51
+ represent, as a whole, an original work of authorship. For the purposes
52
+ of this License, Derivative Works shall not include works that remain
53
+ separable from, or merely link (or bind by name) to the interfaces of,
54
+ the Work and Derivative Works thereof.
55
+
56
+ "Contribution" shall mean any work of authorship, including
57
+ the original version of the Work and any modifications or additions
58
+ to that Work or Derivative Works thereof, that is intentionally
59
+ submitted to the Licensor for inclusion in the Work by the copyright
60
+ owner or by an individual or Legal Entity authorized to submit on behalf
61
+ of the copyright owner. For the purposes of this definition, "submitted"
62
+ means any form of electronic, verbal, or written communication sent
63
+ to the Licensor or its representatives, including but not limited to
64
+ communication on electronic mailing lists, source code control systems,
65
+ and issue tracking systems that are managed by, or on behalf of, the
66
+ Licensor for the purpose of discussing and improving the Work, but
67
+ excluding communication that is conspicuously marked or otherwise
68
+ designated in writing by the copyright owner as "Not a Contribution."
69
+
70
+ "Contributor" shall mean Licensor and any individual or Legal Entity
71
+ on behalf of whom a Contribution has been received by Licensor and
72
+ subsequently incorporated within the Work.
73
+
74
+ 2. Grant of Copyright License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ copyright license to reproduce, prepare Derivative Works of,
78
+ publicly display, publicly perform, sublicense, and distribute the
79
+ Work and such Derivative Works in Source or Object form.
80
+
81
+ 3. Grant of Patent License. Subject to the terms and conditions of
82
+ this License, each Contributor hereby grants to You a perpetual,
83
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
84
+ (except as stated in this section) patent license to make, have made,
85
+ use, offer to sell, sell, import, and otherwise transfer the Work,
86
+ where such license applies only to those patent claims licensable
87
+ by such Contributor that are necessarily infringed by their
88
+ Contribution(s) alone or by combination of their Contribution(s)
89
+ with the Work to which such Contribution(s) was submitted. If You
90
+ institute patent litigation against any entity (including a
91
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
92
+ or a Contribution incorporated within the Work constitutes direct
93
+ or contributory patent infringement, then any patent licenses
94
+ granted to You under this License for that Work shall terminate
95
+ as of the date such litigation is filed.
96
+
97
+ 4. Redistribution. You may reproduce and distribute copies of the
98
+ Work or Derivative Works thereof in any medium, with or without
99
+ modifications, and in Source or Object form, provided that You
100
+ meet the following conditions:
101
+
102
+ (a) You must give any other recipients of the Work or
103
+ Derivative Works a copy of this License; and
104
+
105
+ (b) You must cause any modified files to carry prominent notices
106
+ stating that You changed the files; and
107
+
108
+ (c) You must retain, in the Source form of any Derivative Works
109
+ that You distribute, all copyright, patent, trademark, and
110
+ attribution notices from the Source form of the Work,
111
+ excluding those notices that do not pertain to any part of
112
+ the Derivative Works; and
113
+
114
+ (d) If the Work includes a "NOTICE" text file as part of its
115
+ distribution, then any Derivative Works that You distribute must
116
+ include a readable copy of the attribution notices contained
117
+ within such NOTICE file, excluding those notices that do not
118
+ pertain to any part of the Derivative Works, in at least one
119
+ of the following places: within a NOTICE text file distributed
120
+ as part of the Derivative Works; within the Source form or
121
+ documentation, if provided along with the Derivative Works; or,
122
+ within a display generated by the Derivative Works, if and
123
+ wherever such third-party notices normally appear. The contents
124
+ of the NOTICE file are for informational purposes only and
125
+ do not modify the License. You may add Your own attribution
126
+ notices within Derivative Works that You distribute, alongside
127
+ or as an addendum to the NOTICE text from the Work, provided
128
+ that such additional attribution notices cannot be construed
129
+ as modifying the License.
130
+
131
+ You may add Your own copyright statement to Your modifications and
132
+ may provide additional or different license terms and conditions
133
+ for use, reproduction, or distribution of Your modifications, or
134
+ for any such Derivative Works as a whole, provided Your use,
135
+ reproduction, and distribution of the Work otherwise complies with
136
+ the conditions stated in this License.
137
+
138
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
139
+ any Contribution intentionally submitted for inclusion in the Work
140
+ by You to the Licensor shall be under the terms and conditions of
141
+ this License, without any additional terms or conditions.
142
+ Notwithstanding the above, nothing herein shall supersede or modify
143
+ the terms of any separate license agreement you may have executed
144
+ with Licensor regarding such Contributions.
145
+
146
+ 6. Trademarks. This License does not grant permission to use the trade
147
+ names, trademarks, service marks, or product names of the Licensor,
148
+ except as required for reasonable and customary use in describing the
149
+ origin of the Work and reproducing the content of the NOTICE file.
150
+
151
+ 7. Disclaimer of Warranty. Unless required by applicable law or
152
+ agreed to in writing, Licensor provides the Work (and each
153
+ Contributor provides its Contributions) on an "AS IS" BASIS,
154
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
155
+ implied, including, without limitation, any warranties or conditions
156
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
157
+ PARTICULAR PURPOSE. You are solely responsible for determining the
158
+ appropriateness of using or redistributing the Work and assume any
159
+ risks associated with Your exercise of permissions under this License.
160
+
161
+ 8. Limitation of Liability. In no event and under no legal theory,
162
+ whether in tort (including negligence), contract, or otherwise,
163
+ unless required by applicable law (such as deliberate and grossly
164
+ negligent acts) or agreed to in writing, shall any Contributor be
165
+ liable to You for damages, including any direct, indirect, special,
166
+ incidental, or consequential damages of any character arising as a
167
+ result of this License or out of the use or inability to use the
168
+ Work (including but not limited to damages for loss of goodwill,
169
+ work stoppage, computer failure or malfunction, or any and all
170
+ other commercial damages or losses), even if such Contributor
171
+ has been advised of the possibility of such damages.
172
+
173
+ 9. Accepting Warranty or Additional Liability. While redistributing
174
+ the Work or Derivative Works thereof, You may choose to offer,
175
+ and charge a fee for, acceptance of support, warranty, indemnity,
176
+ or other liability obligations and/or rights consistent with this
177
+ License. However, in accepting such obligations, You may act only
178
+ on Your own behalf and on Your sole responsibility, not on behalf
179
+ of any other Contributor, and only if You agree to indemnify,
180
+ defend, and hold each Contributor harmless for any liability
181
+ incurred by, or claims asserted against, such Contributor by reason
182
+ of your accepting any such warranty or additional liability.
183
+
184
+ END OF TERMS AND CONDITIONS
185
+
186
+ ---
187
+
1
188
  MIT License
2
189
 
3
- Copyright (c) 2026 Pathmode Oy
190
+ Copyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.
4
191
 
5
192
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
193
  of this software and associated documentation files (the "Software"), to deal
@@ -19,3 +206,11 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
206
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
207
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
208
  SOFTWARE.
209
+
210
+ ---
211
+
212
+ Creative Commons Attribution 4.0 International (CC-BY-4.0)
213
+
214
+ Documentation in this project (excluding specifications) is licensed under
215
+ CC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for
216
+ the full license text.
package/README.md CHANGED
@@ -1,244 +1,153 @@
1
- # @pathmode/mcp-server
1
+ # MCP Registry
2
2
 
3
- Connect Claude Code, Cursor, and other AI agents to your [Pathmode](https://pathmode.io) Intent Layer.
3
+ The MCP registry provides MCP clients with a list of MCP servers, like an app store for MCP servers.
4
4
 
5
- Get strategic context, dependency graph analysis, and structured implementation prompts so your AI agent builds the right thing, not just any thing.
5
+ [**📤 Publish my MCP server**](docs/modelcontextprotocol-io/quickstart.mdx) | [**⚡️ Live API docs**](https://registry.modelcontextprotocol.io/docs) | [**👀 Ecosystem vision**](docs/design/ecosystem-vision.md) | 📖 **[Full documentation](./docs)**
6
6
 
7
- ## Features
7
+ ## Development Status
8
8
 
9
- - **Intent context** Structured specs with objectives, outcomes, constraints, and edge cases
10
- - **Dependency graph analysis** — Critical path, cycle detection, bottleneck identification
11
- - **Context export** — Generate CLAUDE.md, .cursorrules, and intent.md files
12
- - **Workspace strategy** — Vision, non-negotiables, architecture principles
13
- - **Constitution rules** — Mandatory constraints for all implementations
14
- - **Implementation tracking** — Status updates and technical decision logging
9
+ **2025-10-24 update**: The Registry API has entered an **API freeze (v0.1)** 🎉. For the next month or more, the API will remain stable with no breaking changes, allowing integrators to confidently implement support. This freeze applies to v0.1 while development continues on v0. We'll use this period to validate the API in real-world integrations and gather feedback to shape v1 for general availability. Thank you to everyone for your contributions and patience—your involvement has been key to getting us here!
15
10
 
16
- ## Quick Start
11
+ **2025-09-08 update**: The registry has launched in preview 🎉 ([announcement blog post](https://blog.modelcontextprotocol.io/posts/2025-09-08-mcp-registry-preview/)). While the system is now more stable, this is still a preview release and breaking changes or data resets may occur. A general availability (GA) release will follow later. We'd love your feedback in [GitHub discussions](https://github.com/modelcontextprotocol/registry/discussions/new?category=ideas) or in the [#registry-dev Discord](https://discord.com/channels/1358869848138059966/1369487942862504016) ([joining details here](https://modelcontextprotocol.io/community/communication)).
17
12
 
18
- ```bash
19
- npx @pathmode/mcp-server
20
- ```
13
+ Current key maintainers:
14
+ - **Adam Jones** (Anthropic) [@domdomegg](https://github.com/domdomegg)
15
+ - **Tadas Antanavicius** (PulseMCP) [@tadasant](https://github.com/tadasant)
16
+ - **Toby Padilla** (GitHub) [@toby](https://github.com/toby)
17
+ - **Radoslav (Rado) Dimitrov** (Stacklok) [@rdimitrov](https://github.com/rdimitrov)
21
18
 
22
- ## Setup
19
+ ## Contributing
23
20
 
24
- ### Claude Desktop
21
+ We use multiple channels for collaboration - see [modelcontextprotocol.io/community/communication](https://modelcontextprotocol.io/community/communication).
25
22
 
26
- Add to `~/.config/Claude/claude_desktop_config.json`:
23
+ Often (but not always) ideas flow through this pipeline:
27
24
 
28
- ```json
29
- {
30
- "mcpServers": {
31
- "pathmode": {
32
- "command": "npx",
33
- "args": ["@pathmode/mcp-server"],
34
- "env": {
35
- "PATHMODE_API_KEY": "pm_live_..."
36
- }
37
- }
38
- }
39
- }
40
- ```
25
+ - **[Discord](https://modelcontextprotocol.io/community/communication)** - Real-time community discussions
26
+ - **[Discussions](https://github.com/modelcontextprotocol/registry/discussions)** - Propose and discuss product/technical requirements
27
+ - **[Issues](https://github.com/modelcontextprotocol/registry/issues)** - Track well-scoped technical work
28
+ - **[Pull Requests](https://github.com/modelcontextprotocol/registry/pulls)** - Contribute work towards issues
41
29
 
42
- ### Claude Code
43
-
44
- Add to `.claude/settings.json`:
45
-
46
- ```json
47
- {
48
- "mcpServers": {
49
- "pathmode": {
50
- "command": "npx",
51
- "args": ["@pathmode/mcp-server"],
52
- "env": {
53
- "PATHMODE_API_KEY": "pm_live_..."
54
- }
55
- }
56
- }
57
- }
58
- ```
30
+ ### Quick start:
59
31
 
60
- ### Cursor
61
-
62
- Add to `.cursor/mcp.json`:
63
-
64
- ```json
65
- {
66
- "mcpServers": {
67
- "pathmode": {
68
- "command": "npx",
69
- "args": ["@pathmode/mcp-server"],
70
- "env": {
71
- "PATHMODE_API_KEY": "pm_live_..."
72
- }
73
- }
74
- }
75
- }
76
- ```
32
+ #### Pre-requisites
77
33
 
78
- ### Local Mode (Offline)
34
+ - **Docker**
35
+ - **Go 1.24.x**
36
+ - **ko** - Container image builder for Go ([installation instructions](https://ko.build/install/))
37
+ - **golangci-lint v2.4.0**
79
38
 
80
- Read `intent.md` files from your project directory without an API key:
39
+ #### Running the server
81
40
 
82
- ```json
83
- {
84
- "mcpServers": {
85
- "pathmode": {
86
- "command": "npx",
87
- "args": ["@pathmode/mcp-server", "--local"]
88
- }
89
- }
90
- }
41
+ ```bash
42
+ # Start full development environment
43
+ make dev-compose
91
44
  ```
92
45
 
93
- ## Configuration
94
-
95
- | Method | Details |
96
- |--------|---------|
97
- | Environment variable | `PATHMODE_API_KEY=pm_live_...` |
98
- | Config file | `~/.pathmode/config.json` with `apiKey`, `apiUrl`, `workspaceId` |
99
- | Local mode | `--local` flag — reads `intent.md` and `.pathmode/intents/*.md` |
100
-
101
- Get your API key from **Settings > API Keys** in the [Pathmode app](https://pathmode.io).
102
-
103
- ## Tools
104
-
105
- ### Intent Management
106
-
107
- | Tool | Description | Annotations |
108
- |------|-------------|-------------|
109
- | `get_current_intent` | Get the active intent (first approved, or most recent) | readOnly |
110
- | `get_intent` | Get a single intent by ID with full details | readOnly |
111
- | `list_intents` | List all intents, optionally filtered by status | readOnly |
112
- | `search_intents` | Search intents by keyword across goals, objectives, and outcomes | readOnly |
113
- | `update_intent_status` | Update intent status (draft > validated > approved > shipped > verified) | write |
114
- | `log_implementation_note` | Record a technical decision or implementation note | write |
115
-
116
- ### Strategic Analysis
117
-
118
- | Tool | Description | Annotations |
119
- |------|-------------|-------------|
120
- | `analyze_intent_graph` | Analyze dependency graph for critical path, cycles, bottlenecks, and risks | readOnly |
121
- | `get_intent_relations` | Get the dependency graph for a specific intent | readOnly |
122
-
123
- ### Context & Export
124
-
125
- | Tool | Description | Annotations |
126
- |------|-------------|-------------|
127
- | `export_context` | Generate CLAUDE.md, .cursorrules, or intent.md files | readOnly |
128
- | `get_agent_prompt` | Get a structured execution prompt for an intent | readOnly |
129
- | `get_workspace` | Get workspace details including strategy and constitution | readOnly |
130
- | `get_constitution` | Get mandatory constraint rules for the workspace | readOnly |
131
-
132
- ### Prompts
46
+ This starts the registry at [`localhost:8080`](http://localhost:8080) with PostgreSQL. The database uses ephemeral storage and is reset each time you restart the containers, ensuring a clean state for development and testing.
133
47
 
134
- | Prompt | Description |
135
- |--------|-------------|
136
- | `implement-intent` | Full implementation workflow for a specific intent |
137
- | `review-risks` | Analyze the intent graph for architectural risks |
138
- | `what-next` | Suggest the highest-priority intent to work on next |
48
+ **Note:** The registry uses [ko](https://ko.build) to build container images. The `make dev-compose` command automatically builds the registry image with ko and loads it into your local Docker daemon before starting the services.
139
49
 
140
- ### Resources
50
+ By default, the registry seeds from the production API with a filtered subset of servers (to keep startup fast). This ensures your local environment mirrors production behavior and all seed data passes validation. For offline development you can seed from a file without validation with `MCP_REGISTRY_SEED_FROM=data/seed.json MCP_REGISTRY_ENABLE_REGISTRY_VALIDATION=false make dev-compose`.
141
51
 
142
- | URI | Description |
143
- |-----|-------------|
144
- | `intent://current` | Currently active intent |
145
- | `intent://graph` | Full intent dependency graph |
146
- | `intent://workspace-strategy` | Workspace vision, principles, and active constitution rules |
52
+ The setup can be configured with environment variables in [docker-compose.yml](./docker-compose.yml) - see [.env.example](./.env.example) for a reference.
147
53
 
148
- ## Usage Examples
54
+ <details>
55
+ <summary>Alternative: Running a pre-built Docker image</summary>
149
56
 
150
- ### Example 1: Get Implementation Context
57
+ Pre-built Docker images are automatically published to GitHub Container Registry:
151
58
 
152
- **User prompt:** "What should I implement next?"
153
-
154
- **Expected tool calls:**
155
- 1. `get_current_intent` — Fetches the first approved intent
156
- 2. `get_agent_prompt` with `intentId` and `mode: "execute"` — Gets the structured implementation prompt
157
-
158
- **Expected output:** A full specification with objective, observable outcomes, constraints, edge cases, and verification steps that the AI agent uses to plan and execute the implementation.
159
-
160
- ---
161
-
162
- ### Example 2: Analyze Architectural Risks
59
+ ```bash
60
+ # Run latest stable release
61
+ docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:latest
163
62
 
164
- **User prompt:** "Are there any risks in our intent dependency graph?"
63
+ # Run latest from main branch (continuous deployment)
64
+ docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main
165
65
 
166
- **Expected tool calls:**
167
- 1. `analyze_intent_graph` with `analysis: "full"` — Runs complete graph analysis
66
+ # Run specific release version
67
+ docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:v1.0.0
168
68
 
169
- **Expected output:**
170
- ```json
171
- {
172
- "summary": { "total": 12, "statusDistribution": { "draft": 3, "approved": 5, "shipped": 4 } },
173
- "criticalPath": [
174
- { "id": "abc", "userGoal": "User authentication", "status": "shipped" },
175
- { "id": "def", "userGoal": "Role-based access control", "status": "approved" },
176
- { "id": "ghi", "userGoal": "Admin dashboard", "status": "draft" }
177
- ],
178
- "cycles": [],
179
- "bottlenecks": [
180
- { "id": "def", "userGoal": "Role-based access control", "dependentCount": 4, "status": "approved" }
181
- ],
182
- "orphanCount": 2
183
- }
69
+ # Run development build from main branch
70
+ docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main-20250906-abc123d
184
71
  ```
185
72
 
186
- The AI agent summarizes: the critical path has 3 steps, "Role-based access control" is a bottleneck blocking 4 other intents and should be prioritized, and 2 intents have no relationships.
187
-
188
- ---
189
-
190
- ### Example 3: Generate a CLAUDE.md Context File
191
-
192
- **User prompt:** "Generate a CLAUDE.md for this project"
73
+ **Available tags:**
74
+ - **Releases**: `latest`, `v1.0.0`, `v1.1.0`, etc.
75
+ - **Continuous**: `main` (latest main branch build)
76
+ - **Development**: `main-<date>-<sha>` (specific commit builds)
193
77
 
194
- **Expected tool calls:**
195
- 1. `export_context` with `format: "claude-md"` — Generates workspace context
78
+ </details>
196
79
 
197
- **Expected output:** A markdown file containing workspace strategy, active constitution rules, and all approved intents formatted as structured context that can be added to any project's `CLAUDE.md` file. The AI agent can write this directly to disk.
80
+ #### Publishing a server
198
81
 
199
- ---
82
+ To publish a server, we've built a simple CLI. You can use it with:
200
83
 
201
- ### Example 4: Search and Track Implementation
202
-
203
- **User prompt:** "Find all intents related to authentication and mark the login one as shipped"
204
-
205
- **Expected tool calls:**
206
- 1. `search_intents` with `query: "authentication"` — Finds matching intents
207
- 2. `update_intent_status` with `intentId` and `status: "shipped"` — Updates the login intent
208
- 3. `log_implementation_note` — Documents what was implemented
84
+ ```bash
85
+ # Build the latest CLI
86
+ make publisher
209
87
 
210
- **Expected output:** The search returns matching intents, the status is updated, and a note is logged documenting the implementation approach.
88
+ # Use it!
89
+ ./bin/mcp-publisher --help
90
+ ```
211
91
 
212
- ## Troubleshooting
92
+ See [the publisher guide](./docs/modelcontextprotocol-io/quickstart.mdx) for more details.
213
93
 
214
- **"No Pathmode configuration found"**
215
- Set the `PATHMODE_API_KEY` environment variable or create `~/.pathmode/config.json`.
94
+ #### Other commands
216
95
 
217
- **Tools return "not available in local mode"**
218
- Most tools require cloud mode. Set up an API key, or use `--local` for basic intent reading from `intent.md` files.
96
+ ```bash
97
+ # Run lint, unit tests and integration tests
98
+ make check
99
+ ```
219
100
 
220
- **Connection timeout**
221
- Ensure your API key is valid and has the correct scopes (read, write). Check your network connection to `pathmode.io`.
101
+ There are also a few more helpful commands for development. Run `make help` to learn more, or look in [Makefile](./Makefile).
222
102
 
223
- ## Privacy Policy
103
+ <!--
104
+ For Claude and other AI tools: Always prefer make targets over custom commands where possible.
105
+ -->
224
106
 
225
- This MCP server connects to the Pathmode API (`pathmode.io`) to read and write intent specifications, workspace data, and constitution rules on behalf of the authenticated user.
107
+ ## Architecture
226
108
 
227
- **Data collected:** The server transmits your API key for authentication and sends/receives workspace data (intents, constitution rules, workspace strategy) via the Pathmode API.
109
+ ### Project Structure
228
110
 
229
- **Data storage:** The MCP server itself does not store any data locally (except in `--local` mode where it reads existing `intent.md` files from your project directory). All persistent data is stored in Pathmode's cloud infrastructure.
111
+ ```
112
+ ├── cmd/ # Application entry points
113
+ │ └── publisher/ # Server publishing tool
114
+ ├── data/ # Seed data
115
+ ├── deploy/ # Deployment configuration (Pulumi)
116
+ ├── docs/ # Documentation
117
+ ├── internal/ # Private application code
118
+ │ ├── api/ # HTTP handlers and routing
119
+ │ ├── auth/ # Authentication (GitHub OAuth, JWT, namespace blocking)
120
+ │ ├── config/ # Configuration management
121
+ │ ├── database/ # Data persistence (PostgreSQL)
122
+ │ ├── service/ # Business logic
123
+ │ ├── telemetry/ # Metrics and monitoring
124
+ │ └── validators/ # Input validation
125
+ ├── pkg/ # Public packages
126
+ │ ├── api/ # API types and structures
127
+ │ │ └── v0/ # Version 0 API types
128
+ │ └── model/ # Data models for server.json
129
+ ├── scripts/ # Development and testing scripts
130
+ ├── tests/ # Integration tests
131
+ └── tools/ # CLI tools and utilities
132
+ └── validate-*.sh # Schema validation tools
133
+ ```
230
134
 
231
- **Third-party sharing:** No data is shared with third parties. The server communicates exclusively with the Pathmode API.
135
+ ### Authentication
232
136
 
233
- **Data retention:** Data retention follows Pathmode's standard data retention policies. See the full privacy policy at [https://pathmode.io/privacy](https://pathmode.io/privacy).
137
+ Publishing supports multiple authentication methods:
138
+ - **GitHub OAuth** - For publishing by logging into GitHub
139
+ - **GitHub OIDC** - For publishing from GitHub Actions
140
+ - **DNS verification** - For proving ownership of a domain and its subdomains
141
+ - **HTTP verification** - For proving ownership of a domain
234
142
 
235
- **Contact:** For privacy inquiries, contact privacy@pathmode.io.
143
+ The registry validates namespace ownership when publishing. E.g. to publish...:
144
+ - `io.github.domdomegg/my-cool-mcp` you must login to GitHub as `domdomegg`, or be in a GitHub Action on domdomegg's repos
145
+ - `me.adamjones/my-cool-mcp` you must prove ownership of `adamjones.me` via DNS or HTTP challenge
236
146
 
237
- ## Support
147
+ ## Community Projects
238
148
 
239
- - Issues: [github.com/pathmodeio/mcp-server/issues](https://github.com/pathmodeio/mcp-server/issues)
240
- - Documentation: [github.com/pathmodeio/mcp-server](https://github.com/pathmodeio/mcp-server#readme)
149
+ Check out [community projects](docs/community-projects.md) to explore notable registry-related work created by the community.
241
150
 
242
- ## License
151
+ ## More documentation
243
152
 
244
- MIT
153
+ See the [documentation](./docs) for more details if your question has not been answered here!
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@pathmode/mcp-server",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
+ "mcpName": "io.github.pathmodeio/mcp-server",
4
5
  "description": "Pathmode MCP Server — Build structured intent specs through Socratic AI conversation (zero-config), or connect to your Intent Layer for strategic context, dependency graphs, and implementation prompts.",
5
6
  "main": "dist/index.js",
6
7
  "bin": {
@@ -53,4 +54,4 @@
53
54
  "ts-node": "^10.9.2",
54
55
  "typescript": "^5.9.3"
55
56
  }
56
- }
57
+ }