Claude Code Now Posts to This Weblog – Cyber Tech
This put up was written inside a Claude Code session and posted on to feld.com as a draft. Not copy-pasted. Not emailed to myself. I simply typed /blog-feld in iterm2 and it confirmed up on my weblog.
Setting this up took about ten minutes.
I requested Claude to determine how to hook up with feld.com (hosted on WordPress.com) for direct posting. It researched three approaches: the WordPress.com REST API, the official WordPress MCP connector, and the WordPress plugin MCP Adapter. The WordPress MCP connector is read-only (so, ineffective for posting). The MCP Adapter solely works on self-hosted WordPress (not WordPress.com). That left the REST API with OAuth.
Claude wrote a command known as /blog-feld that handles the workflow: take a look at no matter I’ve been discussing within the present dialog, assemble it right into a put up, present me a abstract, interactively edit with me, after which push it to feld.com as a draft.
It by no means publishes straight — I nonetheless assessment every part within the WordPress editor earlier than hitting publish.
For authentication, WordPress.com requires OAuth. Usually, my expertise setting this up is tedious. On this case, Claude simply informed me what to do step-by-step.
– I registered an app at developer.wordpress.com (Shopper ID + Secret)
– Claude arrange the authorization code stream.
– I visited a URL, clicked “Approve,” and the browser redirected to localhost with an authorization code within the URL.
– The web page itself didn’t load, however the code was sitting proper there within the tackle bar.
– I screenshotted the web page and pasted it into iterm2, and Claude exchanged it for an entry token.
Carried out.
To confirm it labored, Claude pulled my final three posts from the API. “Tech I’m Obsessed With,” “Blurry Transitions,” and “Interview With Man Kawasaki.”
This can be a small factor, however it’s the type of small factor that adjustments conduct. Every single day as I work with Claude Code, I consider a number of issues like this. As a substitute of ready for another person to implement it or paying for a third-party service, I simply create it in Claude Code and make it a everlasting a part of my setting.
I’ve been writing extra inside Claude Code periods anyway — working by way of concepts, enhancing, and iterating. The friction was all the time the final step: copy the textual content, open WordPress, paste it in, format it, repair the formatting that broke. Now that step is gone.
Considering-in-conversation and writing-for-the-blog are the identical factor.
