@rubytech/create-maxy-code 0.1.361 → 0.1.362
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 +1 -1
- package/payload/platform/plugins/admin/skills/connector-directory/SKILL.md +53 -0
- package/payload/platform/services/webchat-channel/dist/instructions.d.ts.map +1 -1
- package/payload/platform/services/webchat-channel/dist/instructions.js +11 -0
- package/payload/platform/services/webchat-channel/dist/instructions.js.map +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: connector-directory
|
|
3
|
+
description: Use when the operator asks to use, connect, install, or integrate with a service you are not already connected to, such as "can you use the Stripe connector", "connect my Notion", "install the official Linear plugin", "do you integrate with Figma". This is how you discover a claude.ai directory connector that is not yet loaded for this client, before you deny it or fall back to the generic static-key connector. It searches Anthropic's public connector catalogue by keyword, hands the operator the claude.ai link to enable the one they want, then confirms the connection inherited and proves it with one live read. Discovery is catalogue-driven: any connector in the directory is findable with no per-connector setup here. Not for a connector that already shows as loaded (use it directly) or one that shows as needing authentication (that is the connector-authenticate path, not discovery).
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Connector directory
|
|
7
|
+
|
|
8
|
+
Invoked by the admin agent directly.
|
|
9
|
+
|
|
10
|
+
claude.ai offers a directory of managed connectors like Stripe, Notion, Linear, Figma, Cloudflare and hundreds more. A connector the operator has already enabled on claude.ai shows up here on its own and you use it directly. This skill is for the other case: the operator asks about a connector that is **not** loaded for this client yet, and you need to find out whether it exists and route the operator to enable it.
|
|
11
|
+
|
|
12
|
+
Without this skill you can only act on connectors already connected, so you would either deny a real integration or fall back to the generic static-key connector. The connector directory is the catalogue that closes that gap.
|
|
13
|
+
|
|
14
|
+
## When this applies
|
|
15
|
+
|
|
16
|
+
The operator asks to use, connect, or install an integration, and `capabilities-here` (or `claude mcp list`) does **not** already list it. Before you tell the operator there is no such integration, and before you reach for the generic static-key connector, search the directory.
|
|
17
|
+
|
|
18
|
+
## Discover it
|
|
19
|
+
|
|
20
|
+
The catalogue is a public endpoint. Search it by the operator's keyword:
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
curl -s "https://api.anthropic.com/mcp-registry/v0/servers?version=latest&limit=100&visibility=commercial,gsuite,enterprise,health&search=stripe" \
|
|
24
|
+
| python3 -c 'import sys,json
|
|
25
|
+
for e in json.load(sys.stdin).get("servers",[]):
|
|
26
|
+
s=e.get("server",{}); m=e.get("_meta",{}).get("com.anthropic.api/mcp-registry",{})
|
|
27
|
+
print(m.get("displayName") or s.get("title"), "|", m.get("oneLiner"))
|
|
28
|
+
print(" enable:", m.get("directoryUrl")); print(" server:", m.get("url"), "| authless:", m.get("isAuthless"), "| tools:", len(m.get("toolNames",[])))'
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Swap `search=stripe` for the connector the operator named. The fields that matter per match are the display name, the one-line description, the `directoryUrl` (the claude.ai link that enables this exact connector), the server `url`, and the tool count. Running this is also the record of the discovery in the session log, so a later "you missed a connector I asked for" is diagnosable from the transcript.
|
|
32
|
+
|
|
33
|
+
If the search returns nothing, the connector is not in the directory. Say so plainly and offer the generic static-key connector instead. Do not invent a directory entry or a connector that the search did not return.
|
|
34
|
+
|
|
35
|
+
If the endpoint itself does not answer, do not deny the request on that basis: point the operator at the directory at `https://claude.ai/code#settings/customize-connectors` and ask them to browse for the connector there.
|
|
36
|
+
|
|
37
|
+
## Route the enable step to claude.ai
|
|
38
|
+
|
|
39
|
+
You enable nothing from here. Enabling a directory connector happens on claude.ai, by the operator. Send them the `directoryUrl` from the match and ask them to open it, enable the connector, and complete its sign-in. If a match has no `directoryUrl`, send them to `https://claude.ai/code#settings/customize-connectors` and tell them to choose **Browse connectors** and find it by name. Do not try to render an in-chat connect button; that affordance does not exist here, the claude.ai link is the enable path.
|
|
40
|
+
|
|
41
|
+
## Confirm it inherited
|
|
42
|
+
|
|
43
|
+
A connector enabled on claude.ai propagates to this client on its own; there is no step to trigger here. Once the operator says they have enabled it, confirm this client picked it up:
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
claude mcp list
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
The connector reads as **Connected** rather than needing authentication. If it still shows as needing authentication, the claude.ai side is not finished or this client needs the one-off per-client authentication, which is the connector-authenticate path, not a directory problem.
|
|
50
|
+
|
|
51
|
+
## Prove it
|
|
52
|
+
|
|
53
|
+
Make one live read against the connector and confirm a result comes back: list something, fetch one record, or read one item the connector grants. A read that returns a result is the proof the connector works end to end for this client. A read that fails while `claude mcp list` shows it Connected points at the connector's granted scope; report what the read returned rather than assuming a cause.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instructions.d.ts","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEnD;4EAC4E;AAC5E,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,kBAAkB,CAE9E;AA6BD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,kBAAkB,GAAG,MAAM,CAEpE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,kBAAkB,GAAG,MAAM,CAIrE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,kBAAkB,GAAG,MAAM,CAErE;AAQD,wBAAgB,oCAAoC,IAAI,MAAM,CAU7D;AAmBD,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"instructions.d.ts","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEnD;4EAC4E;AAC5E,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,kBAAkB,CAE9E;AA6BD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,kBAAkB,GAAG,MAAM,CAEpE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,kBAAkB,GAAG,MAAM,CAIrE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,kBAAkB,GAAG,MAAM,CAErE;AAQD,wBAAgB,oCAAoC,IAAI,MAAM,CAU7D;AAmBD,eAAO,MAAM,yBAAyB,QAmEC,CAAA"}
|
|
@@ -96,6 +96,17 @@ export const ADMIN_REFRAME_INSTRUCTION = 'Choose the installed specialist that o
|
|
|
96
96
|
'check that list and ToolSearch for mcp__claude_ai_* tools: a connector denial is valid only once the skills AND the connectors both come back empty. ' +
|
|
97
97
|
'When a matching connector exists, use its tool; if the tool result says it needs authentication, call the connector_authenticate tool; ' +
|
|
98
98
|
'and when capabilities-here already shows the connector as needs-auth, offer that authenticate step rather than denying. ' +
|
|
99
|
+
// Task 1208 — even when the skills and the loaded connectors both come back
|
|
100
|
+
// empty, the integration the operator named may exist in the claude.ai
|
|
101
|
+
// connector directory as a connector this client has not added yet. The
|
|
102
|
+
// managed registry tool is absent from this session, so discovery is
|
|
103
|
+
// catalogue-driven via the connector-directory skill, which searches the
|
|
104
|
+
// public catalogue and routes the enable step to claude.ai. This stops the
|
|
105
|
+
// agent denying a real connector or defaulting to the generic static-key
|
|
106
|
+
// connector before it has looked.
|
|
107
|
+
'When the skills and the loaded connectors both come back empty, do not stop at a denial or jump to the generic static-key connector: ' +
|
|
108
|
+
'a connector you have not added to this client yet may still exist in the claude.ai connector directory, ' +
|
|
109
|
+
'so search the connector directory (load the connector-directory skill) first, and route any match\'s enable step to its claude.ai directory link. ' +
|
|
99
110
|
'Then carry it out. ' +
|
|
100
111
|
'Call the reply tool right away to acknowledge you are on it, ' +
|
|
101
112
|
'send a brief progress note with the reply tool before each long step, and call the reply tool again with the result — ' +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instructions.js","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,+EAA+E;AAC/E,6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