Let Claude, Claude Code, Cursor, Gemini CLI, Grok Build, Kimi Code and Qwen Code draft, check, schedule and publish posts on 14 social networks (X, LinkedIn, Instagram, Facebook, TikTok, YouTube, Threads, Bluesky, Pinterest and more) through the hosted iHatePosting MCP server.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add ihateposting --env IHATEPOSTING_API_KEY='<IHATEPOSTING_API_KEY>' -- npx -y ihateposting-mcp~/.codex/config.toml
[mcp_servers.ihateposting]
command = "npx"
args = ["-y", "ihateposting-mcp"]
env = { IHATEPOSTING_API_KEY = "<IHATEPOSTING_API_KEY>" }
# codex mcp add ihateposting --env IHATEPOSTING_API_KEY='<IHATEPOSTING_API_KEY>' -- npx -y ihateposting-mcp~/.cursor/mcp.json
{
"mcpServers": {
"ihateposting": {
"command": "npx",
"args": [
"-y",
"ihateposting-mcp"
],
"env": {
"IHATEPOSTING_API_KEY": "<IHATEPOSTING_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"ihateposting": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ihateposting-mcp"
],
"env": {
"IHATEPOSTING_API_KEY": "<IHATEPOSTING_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ihateposting": {
"command": "npx",
"args": [
"-y",
"ihateposting-mcp"
],
"env": {
"IHATEPOSTING_API_KEY": "<IHATEPOSTING_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ihateposting": {
"command": "npx",
"args": [
"-y",
"ihateposting-mcp"
],
"env": {
"IHATEPOSTING_API_KEY": "<IHATEPOSTING_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"ihateposting": {
"command": "npx",
"args": [
"-y",
"ihateposting-mcp"
],
"env": {
"IHATEPOSTING_API_KEY": "<IHATEPOSTING_API_KEY>"
}
}
}
}远程托管
claude mcp add --transport http ihateposting https://ihateposting.com/mcp/oauth~/.codex/config.toml
[mcp_servers.ihateposting]
url = "https://ihateposting.com/mcp/oauth"
# codex mcp add ihateposting --url https://ihateposting.com/mcp/oauth~/.cursor/mcp.json
{
"mcpServers": {
"ihateposting": {
"url": "https://ihateposting.com/mcp/oauth"
}
}
}.vscode/mcp.json
{
"servers": {
"ihateposting": {
"type": "http",
"url": "https://ihateposting.com/mcp/oauth"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ihateposting": {
"httpUrl": "https://ihateposting.com/mcp/oauth"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"ihateposting": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://ihateposting.com/mcp/oauth"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"ihateposting": {
"url": "https://ihateposting.com/mcp/oauth"
}
}
}需要的环境变量
IHATEPOSTING_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。