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

# Hermes Agent

> Add PostChamp to Hermes Agent with one command or a config.yaml entry.

Add PostChamp to Hermes Agent with one command or a config.yaml entry. The connection URL is the same for every client:

```text
https://api.postchampai.com/api/v1/mcp
```

## Before you start

* Hermes Agent installed.
* A PostChamp account on a plan that includes assistants, with the owner or admin role in the workspace you want to share. See [Authentication](/mcp/authentication.md).

## Connect Hermes Agent

**Step 1**

Add the server with the first command below, or add the YAML entry to `~/.hermes/config.yaml`. `auth: oauth` makes Hermes sign in with OAuth.

**Step 2**

Sign in from a fresh terminal: run `hermes mcp login postchamp`. Sign in to PostChamp, choose the workspaces to share and approve.

**Step 3**

Start a new session, or run `/reload mcp` after editing the config.

**Step 4**

Check it with `hermes mcp test postchamp`.

## Command line

```bash
hermes mcp add postchamp --url https://api.postchampai.com/api/v1/mcp --auth oauth
hermes mcp login postchamp
hermes mcp test postchamp
```

## Configuration file

Add this to `~/.hermes/config.yaml`:

```yaml
mcp_servers:
  postchamp:
    url: "https://api.postchampai.com/api/v1/mcp"
    auth: oauth
```

## Check the connection

Ask:

```text
Use PostChamp to list my workspaces.
```

This reads your workspaces, costs nothing and changes nothing. Then try one of these:

* Write a LinkedIn post about what I learned from my last client project, in my voice.
* Plan next week: three posts, one on each of my main topics. Show me the plan before you schedule anything.
* How did my posts do over the last 30 days? What worked best?

## Disconnect

* Remove the entry from `config.yaml`. Hermes keeps sign-in tokens in `~/.hermes/mcp-tokens/`, so delete the server file there too.
* In PostChamp, open Settings and choose Assistants to disconnect it, so the sign-in is revoked.

## Troubleshooting

> [accordion] There is no browser on this host.
>
> Run `hermes mcp login postchamp --flow device` if the sign-in supports a device code, or sign in from another machine first.

> [accordion] The sign-in is old.
>
> Run `hermes mcp login postchamp` again.

> [accordion] The browser sign-in says I cannot connect.
>
> Only owners and admins of a workspace can connect an assistant to it, and the plan must include assistants. Sign in with an account that has that role. Check the account in Settings, Members.

## FAQ

> [accordion] Where are the tokens kept?
>
> On your machine, in `~/.hermes/mcp-tokens/`.

## Related

> [card] [Authentication](/mcp/authentication.md)
>
> How sign-in, consent and revocation work.

> [card] [Tool reference](/mcp/tools/index.md)
>
> Every tool the assistant can call.
