@orchyn/mcp 1.3.2 → 1.3.4
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 +5 -5
- package/dist/index.js +10 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ npx @orchyn/mcp login # one-time sign-in (Google)
|
|
|
47
47
|
|
|
48
48
|
All tools require a connected orchyn account and are billed against your orchyn credit balance (`POST /billing/mcp-credits/checkout` tops up).
|
|
49
49
|
|
|
50
|
-
`*` `analyze_post
|
|
50
|
+
`*` `analyze_post` bills against **workspace** credits (first free grant); the other tools bill against **per-user MCP** credits (never tied to an app/workspace).
|
|
51
51
|
|
|
52
52
|
## Images in Claude / ChatGPT chat
|
|
53
53
|
|
|
@@ -246,7 +246,7 @@ per the MCP 2025-03-26 spec):
|
|
|
246
246
|
- YouTube: `youtube.com/*` (including `/shorts/`), `youtu.be/*`, `m.youtube.com/*`
|
|
247
247
|
- X/Twitter: `x.com/*`, `twitter.com/*`
|
|
248
248
|
|
|
249
|
-
All tools accept these hosts
|
|
249
|
+
All tools accept these hosts and handle **video, image, carousel and slideshow** posts.
|
|
250
250
|
|
|
251
251
|
## Troubleshooting
|
|
252
252
|
|
|
@@ -254,9 +254,9 @@ All tools accept these hosts. `analyze_post` (and its `analyze_video` alias) add
|
|
|
254
254
|
`ORCHYN_ACCESS_TOKEN`.
|
|
255
255
|
- **402 paywall / `insufficient MCP credits`**: your orchyn account is out of
|
|
256
256
|
credits for this tool. Each call costs: `get_social_media` 1,
|
|
257
|
-
`
|
|
258
|
-
|
|
259
|
-
|
|
257
|
+
`discover_social_posts` 2, `understand_social_post` 10, `analyze_post`
|
|
258
|
+
first-call free* (see Tools). Top up via `buy_orchyn_credits`, `check_orchyn_credits`,
|
|
259
|
+
or the orchyn dashboard at `https://orchyn.com/settings?tab=billing`.
|
|
260
260
|
- **Expired refresh token**: the stored refresh token was rejected by the
|
|
261
261
|
orchyn server. Run `npx @orchyn/mcp login` again to re-authenticate.
|
|
262
262
|
- **`Could not reach the orchyn server`**: `ORCHYN_BASE_URL` is unreachable or
|
package/dist/index.js
CHANGED
|
@@ -64,7 +64,16 @@ export function createServer(opts) {
|
|
|
64
64
|
}
|
|
65
65
|
try {
|
|
66
66
|
const result = await runVideoAnalysis(client, validation.url);
|
|
67
|
-
|
|
67
|
+
const images = (result._inlineImages ?? []).map((img) => ({
|
|
68
|
+
type: "image",
|
|
69
|
+
data: String(img.data),
|
|
70
|
+
mimeType: String(img.mimeType ?? "image/jpeg"),
|
|
71
|
+
}));
|
|
72
|
+
// Remove internal field from JSON shown to model
|
|
73
|
+
const { _inlineImages: _omit, ...rest } = result;
|
|
74
|
+
return {
|
|
75
|
+
content: [...images, { type: "text", text: JSON.stringify(rest, null, 2) }],
|
|
76
|
+
};
|
|
68
77
|
}
|
|
69
78
|
catch (err) {
|
|
70
79
|
if (err instanceof OrchynError && err.paywall) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orchyn/mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "MCP server for orchyn - fetch, discover and understand TikTok/Instagram/YouTube/X posts with AI (media metadata, niche discovery, hook & viral analysis)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|