English
English
Appearance
English
English
Appearance
Connect Repliz to Hermes Agent, the open-source AI agent from Nous Research that runs in your terminal and in chat apps such as Telegram, Discord, and WhatsApp. Once connected, ask Hermes to check new comments, answer them, schedule a post, or pull an account's stats.
Add the server with one command, then sign in to Repliz in your browser.
hermes --version, and update with hermes update.The terminal pictures are illustrations
The pictures of the terminal on this page are drawn from what Hermes Agent 0.23 prints. Your terminal has its own colors and font, and a newer version may word a line differently, so look for the same lines even if they don't match exactly.
Open Setting → Public API in the Repliz dashboard and copy the Access key and the Secret key. You'll paste them into the Repliz sign-in page in step 3.


Keep the keys private
Anyone with both keys can act on your Repliz workspace. Don't share them or paste them anywhere other than the Repliz sign-in page.
Run this in a terminal on the computer where Hermes is installed:
hermes mcp add repliz --url https://mcp.repliz.com/mcp --auth oauthHermes opens the Repliz sign-in page in your browser and waits in the terminal until you've signed in. Nothing is saved yet.


Keep --auth oauth
It is what makes Hermes sign in to Repliz. Without it, Hermes asks for an API key and sends it as a Bearer token, which Repliz doesn't accept.
On the page Hermes opened, paste your Access Key and Secret Key, and click Connect.


The browser hands the sign-in back to Hermes, and the terminal lists the Repliz tools it found. Press Enter to turn all of them on, or type select to choose which ones.


Hermes then saves Repliz to its settings file, ~/.hermes/config.yaml, and keeps the sign-in in ~/.hermes/mcp-tokens/. You don't sign in again each time you start Hermes.
The sign-in page says where it will send you back. For Hermes it is 127.0.0.1 with a port between 27890 and 27894, an app on this computer, and the app details come from nousresearch.github.io. If it names any other address, click Cancel.
Hermes on a server, or the browser didn't open?
Copy the link from the terminal and open it in a browser on your own computer. After you click Connect, the browser shows a connection error, because the address it was sent to belongs to the computer Hermes runs on. Copy the full address from the browser's address bar, paste it into the terminal where Hermes is waiting, and press Enter.
hermes mcp listRepliz should be listed as enabled:


Then start hermes and ask something, for example "Show my connected Repliz accounts." Hermes runs the Repliz tool and answers with your data. For more ideas, see the usage examples.


A session that was already open doesn't see Repliz yet: run /reload-mcp in it, or start a new one. A Hermes gateway that is running for Telegram or another chat app picks Repliz up by itself within about a minute.
Instead of a sign-in, Hermes can send your keys in the Authorization header on every request. That suits a server where nobody opens a browser.
Make the header value: Basic, a space, and your AccessKey:SecretKey encoded in base64. Paste both keys below and copy the result.
Paste both keys to get the value.Worked out in your browser. Your keys are not sent anywhere.
Save it in Hermes's file for secrets, ~/.hermes/.env, with the whole value from step 1 in place of Basic YOUR_VALUE:
REPLIZ_AUTHORIZATION="Basic YOUR_VALUE"Add Repliz to ~/.hermes/config.yaml. If the file already has a mcp_servers: line, put repliz under that one instead of adding a second:
mcp_servers:
repliz:
url: "https://mcp.repliz.com/mcp"
headers:
Authorization: "${REPLIZ_AUTHORIZATION}"Test it:
hermes mcp test replizHermes reports Connected and how many tools it found.
Not --auth header
hermes mcp add with --auth header saves your key as a Bearer token. Repliz expects Basic, so add the header to the file yourself as above.
Some Repliz tools change things: they reply to comments, send DMs, schedule posts, and delete. Two settings under repliz in ~/.hermes/config.yaml keep them in check:
mcp_servers:
repliz:
url: "https://mcp.repliz.com/mcp"
auth: oauth
trust: untrusted
tools:
exclude: [repliz_delete_account, repliz_delete_content]trust: untrusted makes Hermes ask you before it runs a Repliz tool that changes something. Tools that only read, such as listing your accounts, still run right away.tools.exclude hides tools from Hermes altogether. To pick them from a list instead, run hermes mcp configure repliz.Run /reload-mcp or start a new session afterwards. Comments and messages from strangers can carry instructions aimed at the assistant, so read what Hermes proposes before you approve a reply, a DM, or a deletion.
Hermes asks whether the server requires authentication, or for an API key. The command ran without --auth oauth. Press Ctrl+C and run the command from step 2 again. If Repliz was already saved that way, remove it first with hermes mcp remove repliz.
The sign-in page says Repliz didn't accept the keys. Copy both keys again from Setting → Public API. If the Secret Key was reset, only the new one works.
The browser shows a connection error after you click Connect. Hermes runs on another computer, or it stopped waiting: it waits about 5 minutes. Copy the full address from the address bar and paste it into the terminal. If the terminal has already given up, run hermes mcp login repliz and sign in again.
Failed to connect, then Save config anyway?. Answer n, check that you can open https://mcp.repliz.com/mcp from that computer, and run the command from step 2 again.
Hermes asks you to sign in to Repliz again, or Repliz tools fail with Unauthorized. This happens after the Secret Key is reset, or when Repliz hasn't been used for 30 days. Run hermes mcp login repliz. With the header, check that the value in ~/.hermes/.env starts with Basic and a space.
Repliz tools don't show up in a session. Run /reload-mcp, or start a new session. hermes mcp list should show Repliz as enabled.
Hermes says a tool isn't on your plan. The tools follow your Repliz plan. See Available tools for which plan each group needs.
To disconnect Repliz, run hermes mcp remove repliz. It removes the server and the saved sign-in.