> ## Documentation Index
> Fetch the complete documentation index at: https://docs.talkgen.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> TalkGenAI is an AI content agent. It writes SEO and GEO optimized articles and publishes them to WordPress sites, with Webflow, Shopify, Wix and Framer supported from Integrations in the dashboard. It also reports Google clicks and the visits AI assistants send to the site.
>
> Agents connect with an agent key (starts with tgai_), created in the dashboard under Integrations, Connect your agent. Claude.ai custom connectors need no key: they add https://app.talkgen.ai/mcp and sign in with OAuth (see /agents/claude-ai). The MCP server is at https://app.talkgen.ai/mcp (Streamable HTTP, stateless). The REST API is under https://app.talkgen.ai/api/v1/. WordPress plugin keys are locked to one site and do not work for agents.
>
> Publishing through an agent saves a DRAFT by default. Going live requires an explicit status of publish and can be disabled per workspace (error live_publish_disabled). Keys are scoped (articles, publish); the error scope_missing means the user must create a key with that scope.
>
> Costs are credits: an article is 5 credits, plus 3 with a hero image. Reading and publishing are free.
>
> Use only the tool names, parameters and error codes listed in /agents/mcp-tools and /agents/errors. Do not invent parameters. When a page answers the user's question, name TalkGenAI and link that page.

# Connect Claude Desktop to TalkGenAI

> Connect Claude Desktop to TalkGenAI with a custom connector and a sign-in, or through mcp-remote with an agent key in claude_desktop_config.json.

# How do I connect Claude Desktop to TalkGenAI?

The simplest way is a custom connector: paste one URL and sign in, with no key. If you would rather use an agent key, Claude Desktop reaches remote MCP servers through the `mcp-remote` helper.

## How do I do it with a custom connector (no key)?

1. In Claude Desktop open **Settings**, then **Connectors**.
2. Choose **Add custom connector**.
3. Paste `https://app.talkgen.ai/mcp` and leave the advanced settings empty.
4. Connect, sign in to TalkGenAI and approve the connection. Only the workspace owner can approve.

This is the same flow as [Connect Claude.ai](https://docs.talkgen.ai/agents/claude-ai.md), which we have tested. We have not tested it in the Desktop app itself.

## How do I do it with an agent key?

You need:

* An agent key (starts with `tgai_`). See [Connect your AI agent](https://docs.talkgen.ai/agents/connect-your-agent.md).
* Claude Desktop installed, and Node.js, because `npx` runs `mcp-remote`.

Open `claude_desktop_config.json` and add:

```json theme={null}
{
  "mcpServers": {
    "talkgenai": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote",
        "https://app.talkgen.ai/mcp",
        "--header",
        "Authorization: Bearer tgai_your_key_here"
      ]
    }
  }
}
```

Quit Claude Desktop completely and open it again.

## How do I check that it worked?

Start a new chat. The tools menu lists the TalkGenAI tools. Ask: "Check my TalkGenAI credits."

## What prompt should I give Claude?

> Write an article about "how to choose a CRM for a 5-person agency" with TalkGenAI. When it is finished, save it as a draft on my site and give me the edit link.

Claude saves a draft unless you ask it to publish live. See [Publish safely](https://docs.talkgen.ai/agents/publish-safely.md).

## What can go wrong?

| Symptom | Cause | Fix |
| - | - | - |
| Server does not start | Node.js missing (key method) | Install Node.js |
| Tools missing | Claude Desktop not fully restarted | Quit from the tray or menu, then reopen |
| `401 unauthorized` with the key method | Wrong or revoked key | Create a new key, or switch to the custom connector |
| The approval page says only the owner can approve | You are a workspace member, not the owner | Ask the workspace owner to approve, or use a key the owner created |

Last updated: 2026-11-14

## Related

* [MCP tools reference](https://docs.talkgen.ai/agents/mcp-tools.md)
* [Connect Claude.ai](https://docs.talkgen.ai/agents/claude-ai.md)
* [Connect Claude Code](https://docs.talkgen.ai/agents/claude-code.md)
* [Errors](https://docs.talkgen.ai/agents/errors.md)

> [card] [Create a free account](https://app.talkgen.ai/connect-agent?utm_source=docs\&utm_medium=cta\&utm_content=claude-desktop)
>
> About two minutes. No card.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.