@anaella/mcp 0.3.0 → 0.4.1
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.
|
@@ -60,6 +60,20 @@ function buildTools(client) {
|
|
|
60
60
|
async () => (await client.listChannels()).filter((c) => c.features.includes("publish"))
|
|
61
61
|
)
|
|
62
62
|
},
|
|
63
|
+
{
|
|
64
|
+
name: "create_connect_link",
|
|
65
|
+
config: {
|
|
66
|
+
description: "Create a link that lets a person connect one of their accounts (e.g. google-search-console) to this organization without an Anaella login. Give them the url; when they finish, their browser returns to returnUrl with ?status=connected&channelId=\u2026 (or ?status=error&code=\u2026). returnUrl must be on an origin allowed under Settings \u2192 API keys \u2192 Connect. Links work once, for 30 minutes. To call the connected account afterwards use do with a typed capability (e.g. gsc.queries.list).",
|
|
67
|
+
inputSchema: {
|
|
68
|
+
platform: z.string().describe("Account type, e.g. google-search-console"),
|
|
69
|
+
externalUserId: z.string().max(255).describe("Your own id for this person"),
|
|
70
|
+
returnUrl: z.string().url().describe("Where to send them back")
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
handler: wrap(
|
|
74
|
+
(args) => client.createConnectSession(args)
|
|
75
|
+
)
|
|
76
|
+
},
|
|
63
77
|
{
|
|
64
78
|
name: "create_post",
|
|
65
79
|
config: {
|
package/dist/http.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anaella/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "MCP server for anaella.com — schedule and publish social posts via the /v1 API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"smoke": "bun run src/smoke.ts"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@anaella/client": "^0.
|
|
23
|
+
"@anaella/client": "^0.4.0",
|
|
24
24
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
25
25
|
"zod": "^3.25.76"
|
|
26
26
|
},
|