phygital-token-mcp 0.2.2 → 0.4.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/README.md CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  [Model Context Protocol](https://modelcontextprotocol.io) server for the phygital-token Solana program, TypeScript SDK, and Rust client.
4
4
 
5
- **Docs, schema reference, and offline planning only** — no live RPC or on-chain calls. Use [`phygital-token-sdk`](https://www.npmjs.com/package/phygital-token-sdk) in your app for `evaluateAssetGating`, `fetchAssetDisplayInfo`, and transaction building.
5
+ **Docs, schema reference, and offline planning only** — no live RPC or on-chain calls. Use [`phygital-token-sdk`](https://www.npmjs.com/package/phygital-token-sdk) in your app for verification, asset fetch, and transaction building.
6
6
 
7
7
  ## Install
8
8
 
9
- Add to Cursor MCP config (`~/.cursor/mcp.json` or project `.cursor/mcp.json`):
9
+ Add to your MCP client config (`~/.cursor/mcp.json` or project `.cursor/mcp.json`):
10
10
 
11
11
  ```json
12
12
  {
@@ -25,13 +25,14 @@ Requires **Node.js 20+**. See [`cursor-mcp.example.json`](./cursor-mcp.example.j
25
25
 
26
26
  | Area | Tools |
27
27
  |------|-------|
28
- | **Docs** | `search_docs`, `read_doc`, `list_docs` |
29
- | **Gating** | `explain_gating`, `gating_filter_schema`, `gating_recipe`, `format_gating_predicate`, `summarize_gating_result` |
30
- | **Verification** | `recommend_verification`, `plan_verify_asset`, `explain_verification` |
28
+ | **Docs** | `search_docs` (omit query to list all), `read_doc` |
29
+ | **Verification** | `recommend_verification` (omit useCase for the decision tree), `plan_verify_asset` |
31
30
  | **Planning** | `plan_create_mint`, `plan_mint_token`, `plan_transfer`, `plan_remove_ownership`, `find_asset_pda` |
32
31
  | **SDK** | `list_sdk_exports` |
33
32
 
34
- ## Optional: monorepo contributors
33
+ All tools are offline and read-only.
34
+
35
+ ## Develop
35
36
 
36
37
  ```bash
37
38
  pnpm install
@@ -39,19 +40,15 @@ pnpm --filter phygital-token-sdk build
39
40
  pnpm --filter phygital-token-mcp build
40
41
  ```
41
42
 
42
- **Contributor-only** (repo clone + `PHYGITAL_TOKEN_REPO_ROOT`):
43
-
44
- | Tool | Requires |
45
- |------|----------|
46
- | `query_codebase` | `graphify` CLI + `graphify update .` in the repo |
47
- | `read_sdk_source` | Cloned repo or `PHYGITAL_TOKEN_REPO_ROOT` |
43
+ The SDK is consumed via `workspace:*`, so the server always builds against the in-repo SDK.
48
44
 
49
45
  ## Publish
50
46
 
47
+ `workspace:*` is rewritten to the SDK's published version at pack time, so publish with pnpm:
48
+
51
49
  ```bash
52
- cd mcp/phygital-token
53
- pnpm build
54
- npm publish --access public
50
+ pnpm --filter phygital-token-mcp build
51
+ pnpm --filter phygital-token-mcp publish --access public
55
52
  ```
56
53
 
57
54
  ## License