@publishq/mcp 0.0.2 → 0.0.3
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 +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<strong>A Model Context Protocol server that lets AI agents schedule and publish across your social platforms through PublishQ.</strong>
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
|
-
This is the official [MCP](https://modelcontextprotocol.io) server for [PublishQ](https://publishq.com). Point Claude Desktop, Cursor, or any MCP-compatible agent at it and they can list your connected accounts, create and schedule posts, manage workspaces, and upload media
|
|
15
|
+
This is the official [MCP](https://modelcontextprotocol.io) server for [PublishQ](https://publishq.com). Point Claude Desktop, Cursor, or any MCP-compatible agent at it and they can list your connected accounts, create and schedule posts, manage workspaces, and upload media, all through the [PublishQ API](https://publishq.com/docs).
|
|
16
16
|
|
|
17
17
|
It runs locally over stdio and talks to the PublishQ API using your API key.
|
|
18
18
|
|
|
@@ -29,7 +29,7 @@ Add this to your `claude_desktop_config.json`:
|
|
|
29
29
|
"mcpServers": {
|
|
30
30
|
"publishq": {
|
|
31
31
|
"command": "npx",
|
|
32
|
-
"args": ["-y", "@publishq/mcp"],
|
|
32
|
+
"args": ["-y", "@publishq/mcp@latest"],
|
|
33
33
|
"env": {
|
|
34
34
|
"PUBLISHQ_API_KEY": "pq_live_your_key_here"
|
|
35
35
|
}
|
|
@@ -42,7 +42,7 @@ Restart Claude Desktop and you'll see the PublishQ tools available. Now you can
|
|
|
42
42
|
|
|
43
43
|
### Other clients (Cursor, Windsurf, etc.)
|
|
44
44
|
|
|
45
|
-
Any MCP client that launches a stdio server works the same way
|
|
45
|
+
Any MCP client that launches a stdio server works the same way: run the command `npx -y @publishq/mcp@latest` with `PUBLISHQ_API_KEY` set in the environment.
|
|
46
46
|
|
|
47
47
|
## Configuration
|
|
48
48
|
|
|
@@ -78,8 +78,8 @@ Tools require the same API-key scopes as the underlying endpoints: `posts:read`/
|
|
|
78
78
|
|
|
79
79
|
## Related
|
|
80
80
|
|
|
81
|
-
- [`@publishq/sdk`](https://www.npmjs.com/package/@publishq/sdk)
|
|
82
|
-
- [`@publishq/cli`](https://www.npmjs.com/package/@publishq/cli)
|
|
81
|
+
- [`@publishq/sdk`](https://www.npmjs.com/package/@publishq/sdk): the TypeScript SDK this server is built on.
|
|
82
|
+
- [`@publishq/cli`](https://www.npmjs.com/package/@publishq/cli): command-line interface for the same API.
|
|
83
83
|
|
|
84
84
|
## License
|
|
85
85
|
|
package/dist/index.js
CHANGED
|
@@ -133,7 +133,7 @@ registerTool(
|
|
|
133
133
|
{
|
|
134
134
|
name: "publishq_update_post",
|
|
135
135
|
title: "Update a post",
|
|
136
|
-
description: "Update a draft or scheduled post. Supports content, scheduledAt, complete media replacement/removal through mediaIds, and
|
|
136
|
+
description: "Update a draft or scheduled post. Supports content, scheduledAt, complete media replacement/removal through mediaIds, thumbnailTimestamp, and accounts (each with postOverrides and platformSpecificSettings, for example a YouTube thumbnailMediaId). Only the fields you send change; send a field as null to remove it. Published and publishing posts cannot be updated.",
|
|
137
137
|
inputSchema: mergedAdvertisedSchema(zUpdatePostPath, zUpdatePostBody),
|
|
138
138
|
annotations: { readOnlyHint: false, idempotentHint: true, openWorldHint: true }
|
|
139
139
|
},
|
|
@@ -183,7 +183,7 @@ registerTool(
|
|
|
183
183
|
{
|
|
184
184
|
name: "publishq_get_tiktok_creator_info",
|
|
185
185
|
title: "Get TikTok creator info",
|
|
186
|
-
description: "Get a TikTok account's current privacy options, interaction settings, and max video duration. Call this before creating a TikTok post
|
|
186
|
+
description: "Get a TikTok account's current privacy options, interaction settings, and max video duration. Call this before creating a TikTok post. The privacyLevel you set must be one of the returned privacyLevelOptions.",
|
|
187
187
|
inputSchema: advertisedSchema(zGetTikTokCreatorInfoPath),
|
|
188
188
|
annotations: { readOnlyHint: true, openWorldHint: true }
|
|
189
189
|
},
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@publishq/mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"private": false,
|
|
5
|
-
"description": "Model Context Protocol (MCP) server for PublishQ
|
|
5
|
+
"description": "Model Context Protocol (MCP) server for PublishQ. Let AI agents schedule and publish across your social platforms.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"author": "PublishQ",
|
|
8
8
|
"homepage": "https://publishq.com",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
28
|
-
"@publishq/sdk": "^0.0.
|
|
28
|
+
"@publishq/sdk": "^0.0.3",
|
|
29
29
|
"zod": "4.4.3"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|