Home / Servers / X (Twitter) API / article_publish
Publish Article
An MCP tool from the X (Twitter) API server, hosted on mcp.hjlabs.in.
Publish Article Publishes a draft Article, making it publicly visible. [POST /2/articles/{article_id}/publish]
Name on the gateway: x_api__article_publish · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
article_id required | string | article_id parameter |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "x_api__article_publish",
"arguments": {
"article_id": "…"
}
}Or connect the X (Twitter) API server directly, which lists 258 tools including this one:
claude mcp add --transport http hj-x-api https://mcp.hjlabs.in/mcp/x-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the publish article tool with article_id set to ….