Skip to main content

How do I connect my AI agent to TalkGenAI?

Create an agent key in your dashboard (it starts with tgai_), then give it to your agent through the MCP server at https://app.talkgen.ai/mcp. The agent can then list your sites, read your content plan, write articles and save them as drafts on your site. A free account is enough, and no card is needed.

What do I need first?

  • A TalkGenAI account. Sign up free.
  • An MCP client, such as Claude Code, Cursor, VS Code, Claude Desktop or OpenClaw. Anything that can run curl also works through the REST API.
  • A connected site, if you want the agent to publish. You can write articles without one.

How do I create an agent key?

  1. Sign in and open the dashboard.
  2. Go to Integrations and find the Connect your agent panel.
  3. Press + New Agent Key, choose the permissions, and copy the key.
The key works only on /api/v1/* and /mcp. It does not work on other routes. You can revoke it from the same panel at any time.
Treat the key like a password. With the publish permission it can publish to your site. Never paste it into a public repository or a shared chat, and never commit it.

What do the key permissions mean?

A key carries scopes. A tool only appears in the client if the key has a scope that allows it. check_credits works with any scope. A key without the needed scope gets 403 scope_missing. Keys created before scopes existed had full access and should be recreated.

Which setup page do I follow?

How do I give my agent the instructions instead?

If your agent has no MCP client, give it the skill file. It explains the whole loop:
The skill file, the MCP tools and the REST API all use the same key, the same credits and the same draft-by-default rule.

What can go wrong?

Last updated: 2026-10-05