Skip to main content

How do I connect Claude Code to TalkGenAI?

Run one claude mcp add command with your agent key. Claude Code then discovers the TalkGenAI tools by itself, and you can ask it to write an article and publish it as a draft to your site.

What do I need first?

How do I do it?

  1. Put your key in an environment variable:
  2. Add the server:
  3. Restart Claude Code, or start a new session, so it loads the tools.

How do I check that it worked?

Run claude mcp list. It should show talkgenai as connected. Then ask Claude: “Check my TalkGenAI credits.” It calls check_credits and returns your balance.

What prompt should I give Claude?

Write a post about “how to choose a CRM for a 5-person agency” with TalkGenAI. Wait until it is finished, then publish it as a draft to my site and give me the edit link.
Claude calls list_sites, generate_article, get_article until the status is completed, and then publish_article. It saves a draft unless you tell it to publish live. See Publish safely. To work from your content plan, say: “Look at my TalkGenAI content plan and write the next open article.” Claude calls get_content_plan and passes plan_id and card_index to generate_article, which fills in the keyword, outline and length for you.

What can go wrong?

Last updated: 2026-10-05

Create an agent key

Free account, about two minutes.