Schedules and manages social media posts through the PostFast API on X, Instagram, Facebook, TikTok, LinkedIn, YouTube and more.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add postfast --env POSTFAST_API_KEY='<POSTFAST_API_KEY>' -- npx -y postfast-mcp~/.codex/config.toml
[mcp_servers.postfast]
command = "npx"
args = ["-y", "postfast-mcp"]
env = { POSTFAST_API_KEY = "<POSTFAST_API_KEY>" }
# codex mcp add postfast --env POSTFAST_API_KEY='<POSTFAST_API_KEY>' -- npx -y postfast-mcp~/.cursor/mcp.json
{
"mcpServers": {
"postfast": {
"command": "npx",
"args": [
"-y",
"postfast-mcp"
],
"env": {
"POSTFAST_API_KEY": "<POSTFAST_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"postfast": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"postfast-mcp"
],
"env": {
"POSTFAST_API_KEY": "<POSTFAST_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"postfast": {
"command": "npx",
"args": [
"-y",
"postfast-mcp"
],
"env": {
"POSTFAST_API_KEY": "<POSTFAST_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"postfast": {
"command": "npx",
"args": [
"-y",
"postfast-mcp"
],
"env": {
"POSTFAST_API_KEY": "<POSTFAST_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"postfast": {
"command": "npx",
"args": [
"-y",
"postfast-mcp"
],
"env": {
"POSTFAST_API_KEY": "<POSTFAST_API_KEY>"
}
}
}
}需要的环境变量
POSTFAST_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。