postfast-mcp 0.1.1 → 0.1.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/.claude-plugin/plugin.json +1 -1
- package/README.md +66 -8
- package/dist/index.js +1 -1
- package/package.json +2 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postfast",
|
|
3
3
|
"description": "Schedule and manage social media posts via PostFast. Supports Facebook, Instagram, X, TikTok, LinkedIn, YouTube, BlueSky, Threads, Pinterest, and Telegram.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.3",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "PostFast",
|
|
7
7
|
"email": "me@peturgeorgievv.com"
|
package/README.md
CHANGED
|
@@ -1,29 +1,60 @@
|
|
|
1
1
|
# PostFast MCP Server
|
|
2
2
|
|
|
3
|
-
MCP server for the [PostFast](https://postfa.st) API — schedule and manage social media posts via AI tools like Claude.
|
|
3
|
+
MCP server for the [PostFast](https://postfa.st) API — schedule and manage social media posts via AI tools like Claude, Cursor, VS Code, and more.
|
|
4
4
|
|
|
5
5
|
## Quick Start
|
|
6
6
|
|
|
7
7
|
### 1. Get your API key
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Log in to [PostFast](https://app.postfa.st/dashboard), go to **API** in the sidebar, and generate a key.
|
|
10
10
|
|
|
11
11
|
### 2. Install
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Choose your preferred method:
|
|
14
|
+
|
|
15
|
+
#### Claude Desktop (recommended)
|
|
16
|
+
|
|
17
|
+
Download the extension from the [Claude Desktop extension directory](https://claude.ai/extensions) or install manually:
|
|
18
|
+
|
|
19
|
+
1. Add to `claude_desktop_config.json`:
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
{
|
|
23
|
+
"mcpServers": {
|
|
24
|
+
"postfast": {
|
|
25
|
+
"command": "npx",
|
|
26
|
+
"args": ["-y", "postfast-mcp"],
|
|
27
|
+
"env": {
|
|
28
|
+
"POSTFAST_API_KEY": "your-api-key-here"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
2. Restart Claude Desktop.
|
|
36
|
+
|
|
37
|
+
#### Claude Code
|
|
38
|
+
|
|
39
|
+
**Via plugin (pending marketplace approval):**
|
|
14
40
|
|
|
15
41
|
```shell
|
|
16
|
-
/plugin
|
|
17
|
-
/plugin install postfast@postfast-mcp
|
|
42
|
+
/plugin install postfast@claude-plugins-official
|
|
18
43
|
```
|
|
19
44
|
|
|
20
|
-
|
|
45
|
+
After installing, set your API key — pick one of these:
|
|
21
46
|
|
|
22
47
|
```bash
|
|
48
|
+
# Option A: Add to your shell profile (~/.zshrc or ~/.bashrc)
|
|
23
49
|
export POSTFAST_API_KEY="your-api-key-here"
|
|
50
|
+
|
|
51
|
+
# Option B: Add to ~/.claude/settings.local.json
|
|
52
|
+
# { "env": { "POSTFAST_API_KEY": "your-api-key-here" } }
|
|
24
53
|
```
|
|
25
54
|
|
|
26
|
-
|
|
55
|
+
Then restart Claude Code.
|
|
56
|
+
|
|
57
|
+
**Via manual config:**
|
|
27
58
|
|
|
28
59
|
Add to your project's `.mcp.json` or `~/.claude/.mcp.json` (global):
|
|
29
60
|
|
|
@@ -42,9 +73,28 @@ Add to your project's `.mcp.json` or `~/.claude/.mcp.json` (global):
|
|
|
42
73
|
}
|
|
43
74
|
```
|
|
44
75
|
|
|
76
|
+
#### Cursor / VS Code / Windsurf / Other MCP clients
|
|
77
|
+
|
|
78
|
+
Add to your MCP config (`.mcp.json`, `mcp.json`, or the tool's settings UI):
|
|
79
|
+
|
|
80
|
+
```json
|
|
81
|
+
{
|
|
82
|
+
"mcpServers": {
|
|
83
|
+
"postfast": {
|
|
84
|
+
"type": "stdio",
|
|
85
|
+
"command": "npx",
|
|
86
|
+
"args": ["-y", "postfast-mcp"],
|
|
87
|
+
"env": {
|
|
88
|
+
"POSTFAST_API_KEY": "your-api-key-here"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
45
95
|
### 3. Use it
|
|
46
96
|
|
|
47
|
-
Ask
|
|
97
|
+
Ask your AI assistant things like:
|
|
48
98
|
|
|
49
99
|
- "List my connected social accounts"
|
|
50
100
|
- "Schedule a post to Instagram for tomorrow at 9am"
|
|
@@ -104,6 +154,14 @@ You can also use `get_upload_urls` directly if you need more control over the up
|
|
|
104
154
|
| `POSTFAST_API_KEY` | Yes | Your workspace API key |
|
|
105
155
|
| `POSTFAST_API_URL` | No | API base URL (default: `https://api.postfa.st`) |
|
|
106
156
|
|
|
157
|
+
## Testing
|
|
158
|
+
|
|
159
|
+
Verify everything works with the MCP Inspector:
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
POSTFAST_API_KEY=your-key npx @modelcontextprotocol/inspector npx postfast-mcp
|
|
163
|
+
```
|
|
164
|
+
|
|
107
165
|
## API Docs
|
|
108
166
|
|
|
109
167
|
Full REST API documentation: [postfa.st/docs](https://postfa.st/docs)
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { registerAccountTools } from './tools/accounts.js';
|
|
|
7
7
|
import { registerFileTools } from './tools/files.js';
|
|
8
8
|
const server = new McpServer({
|
|
9
9
|
name: 'postfast',
|
|
10
|
-
version: '0.1.
|
|
10
|
+
version: '0.1.1',
|
|
11
11
|
});
|
|
12
12
|
const client = new PostFastClient();
|
|
13
13
|
registerPostTools(server, client);
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postfast-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"mcpName": "io.github.peturgeorgievv-factory/postfast-mcp",
|
|
4
5
|
"description": "MCP server for the PostFast API — schedule and manage social media posts via AI tools",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"bin": {
|