mintbot-mcp
OfficialProvides chat and session management through the Hermes API on the agent VPS, including sending turns, waiting for results, cancelling, listing sessions, and managing session messages and metadata.
Manages the agent's Telegram bot integration, allowing retrieval of current bot settings, applying configuration changes, and removing the bot.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mintbot-mcpchat with my agent and ask for today's summary"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mintbot-mcp
An MCP server for a mintbot agent, running on the agent's own VPS. Any MCP client - Claude Desktop, Claude Code, Cursor, your own program - can chat with the agent and read or change every mintbot setting the web panel offers. No central server is involved: the daemon talks to the services that already run on the VPS.
Packaged as a signed AXP
extension, mintbot.ai/mintbot-mcp.
How it fits
MCP client (Claude Desktop, Claude Code, Cursor, ...)
| streamable HTTP + bearer token
v
mintbot-mcp 127.0.0.1:8650 <- this package, on the agent VPS
| | \
v v v
Hermes API panel-local mintbot API (central; optional)
:8642 :8643 display name, credit, model catalog
chat turns, every setting
sessions the panel hasChat goes through the stock Hermes API server on loopback and runs as the agent's own turns: same model, same credit, same session store as the panel and Telegram. Long turns are sliced (
chat_sendreturnsrunning+ aturn_id,chat_waitcollects the rest,chat_cancelinterrupts).Settings go through
mintbot-panel-local, the daemon the panel itself uses, as a trusted server-to-server caller. Model, persona, background jobs, notifications, extensions, Telegram bot, nightly updates, SSH keys, reboot.Central is reached only for the few values that live in the mintbot database (display name, credit balance, model catalog), exactly the way the agent's own tools reach them. Without central those tools answer
code: central_unavailable; everything else keeps working.
Every tool returns structured JSON. A backend failure is never an MCP
protocol error: the client gets {"ok": false, "error": ..., "code": ...}.
Related MCP server: mc-mcp-server
Tools
group | tools |
chat |
|
overview |
|
model |
|
persona |
|
name and credit |
|
jobs |
|
extensions |
|
telegram |
|
updates |
|
ssh |
|
security |
|
server |
|
Deliberately not exposed: entering BYOK API keys, setting up two-factor login, the root password. Those stay in the panel, where the browser-only two-factor gate protects them.
Two-factor login. When the owner has TOTP on, the browser-gated settings
(persona, Telegram bot, extension installs) answer code: "second_factor_required". security_unlock with a current authenticator
code mints a panel session that the daemon keeps in memory until
security_lock or a restart.
Install
On a mintbot agent (AXP host)
In chat: "install mintbot-mcp" (or the GitHub URL), or use the panel's
extensions card. The host shows the consent card, verifies the artifact digest
and the ed25519 signature, runs the lifecycle hooks in its sandbox, writes and
contains the systemd unit itself (the manifest binds the daemon with a
command), and keeps the extension updated from GitHub releases.
What the consent card shows, and why:
declared | why |
|
|
| the MCP endpoint itself, loopback only |
| reads the Hermes home (API key, |
| the install prefix and state dir come from the host |
signed by |
|
Standalone (no AXP host)
git clone https://github.com/mintbot-ai/mintbot-mcp.git
cd mintbot-mcp
sudo ./install.shThe installer is idempotent: private virtualenv + package under
/opt/mintbot-mcp, launcher /opt/mintbot-mcp/bin/mintbot-mcp, bearer token
in /var/lib/axp/mintbot.ai/mintbot-mcp/token (0600), and - as root on a
systemd machine - a plain mintbot-mcp.service. The scripts honour the AXP
host contract (AXP_PREFIX, AXP_STATE_DIR, AXP_CACHE_DIR, AXP_PURGE,
AXP_FROM_VERSION) and fall back to the spec defaults when the variables are
absent. uninstall.sh keeps the token (AXP_PURGE=1 deletes it too).
The daemon expects a mintbot agent VPS: the Hermes API server on :8642
(API_SERVER_KEY in $HERMES_HOME/env) and mintbot-panel-local on :8643.
mintbot-mcp check tells you which backends it can reach.
Connect a client
/opt/mintbot-mcp/bin/mintbot-mcp client-configprints the mcpServers block Claude Desktop, Claude Code and Cursor accept:
{
"mcpServers": {
"mintbot": {
"type": "http",
"url": "http://127.0.0.1:8650/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}The server listens on loopback only. From your own machine, open an SSH tunnel and keep the URL as printed:
ssh -N -L 8650:127.0.0.1:8650 root@agent1234.mintbot.aiA local MCP client on the VPS itself can also spawn mintbot-mcp stdio.
mintbot-mcp token prints the bearer token; mintbot-mcp token --rotate
replaces it (every client must be reconfigured). /health is the only
unauthenticated route.
CLI
command | what it does |
| streamable-HTTP MCP server (default |
| the same server over stdio |
| print (or replace) the bearer token |
| ready-to-paste client configuration |
| probe Hermes, panel-local and central; exit 1 when the loopback backends are down |
Environment overrides: MINTBOT_MCP_HOST, MINTBOT_MCP_PORT,
MINTBOT_MCP_STATE_DIR (or AXP_STATE_DIR), MINTBOT_MCP_TOKEN_FILE,
MINTBOT_MCP_HERMES_URL, MINTBOT_MCP_LOCAL_API_URL,
MINTBOT_MCP_HERMES_API_KEY, HERMES_HOME.
Development
python3 -m venv .venv && . .venv/bin/activate
pip install -e .[dev] -e ../agent-extension # axp: manifest + signature tests
pytestThe tests run the tool layer against fake backends (httpx.MockTransport),
the lifecycle scripts in a throwaway prefix with a fake python3, and check
the manifest against the AXP schema, the reference implementation and the
publisher key directory. No test touches the live agent, the network or the
signing key.
Release (maintainers):
AXP_SIGNING_KEY=/path/to/mintbot.ai-mintbot-mcp.key scripts/release.sh 0.1.0
git commit -am 'release v0.1.0' && git tag v0.1.0 && git push --tags
gh release create v0.1.0 dist/mintbot-mcp-0.1.0.tar.gz agent-extension.json --notes-file CHANGELOG.mdscripts/build-artifact.sh builds a deterministic tarball of the runtime
files; scripts/release.sh stamps the version into the package, fills the
digests and dates, signs the manifest and refuses a key that is not listed in
agent-extension-keys.json.
License
MIT, (c) 2026 mintbot.ai
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Remote MCP server to run your Atako AI agents: chat, projects, files, integrations and channels.
Related MCP Servers
FlicenseNot gradedqualityBmaintenanceRemote MCP server that gives LLMs access to run network commands64-- AlicenseNot gradedqualityFmaintenanceEnables AI-driven interactions with Minecraft through a WebSocket-based server and MCP protocol, allowing external MCP clients and in-game chat to trigger AI tools.4MIT
- AlicenseNot gradedqualityBmaintenanceA self-hosted MCP gateway that gives ChatGPT Web real command execution, file patching, and workspace management on a VPS you control.4MIT
- AlicenseAqualityAmaintenanceMCP server that turns ChatGPT Web or any MCP client into a coding agent on your own repositories, enabling file editing, command execution, testing, and git workflow without an OpenAI API key.271,024 npm2MIT