Install
go install github.com/SohrabZ/x-browser-mcp@latest
Added
unbookmark_post removes a post from the bookmarks. Bookmarking was one-way:
the only way back out was clicking the control by hand, and calling
bookmark_post again does not do it, because the guard that stops a second
save from silently removing one sees the bookmark and returns.
- The write actions are served over the plain HTTP API as well as MCP:
POST /api/v1/post, /reply, /like, /repost, /bookmark and
/unbookmark. They take the same confirmation token, and like the MCP tools
they are not registered at all without -allow-writes — a route that is not
there cannot be reached by anything that gets hold of the port.
Changed
- A write over HTTP reports why it failed rather than a generic message, since
"like did not stick" is the answer. The status says whose problem it is: 403
refused, 400 malformed, 412 sign-in needed, 429 write budget spent, and
502 attempted but not applied by X.
- Two write failure messages said X still showed the action as available, when
all that had been checked was that the applied state never appeared.