MCP tools
botpark has an MCP server so an AI client, such as Claude Code, can inspect and manage the bots. It accepts the owner's key only. Every tool call is recorded in an audit log, and a refusal comes back as <code>: <explanation>.
Reading#
| Tool | What it returns |
|---|---|
list_bots | Every bot with its username, role, chats, mode and who may send through it. |
bot_status | The live Telegram profile compared with the configured one, whether the bot is polling, its mode and its ceilings. |
get_persona | A bot's voice and its one-sentence role. |
get_moderation_rules | The moderator's settings: current values and the ones that were overridden. |
list_chats | The chats a bot knows. |
moderation_log | Bouncer's actions: deletions, warnings, mutes, kicks and bans. Filter by chat_id; limit is 1 to 500. |
game_status | The current game, or the last one, with its players. Roles are not shown. |
audit_log | The audit rows. Filter by bot or product; limit is 1 to 500. |
Changing#
| Tool | What it does |
|---|---|
set_mode | Sets a chat bot to off, draft or auto. |
set_persona | Changes a bot's voice and role. It applies from the next model call. |
set_moderation_rules | Changes moderator settings as key and value pairs. null restores a default. A value the moderator would reject is not written. |
update_profile | Changes a bot's Telegram name (up to 64 characters), short description (120), description (512) or avatar (a 640×640 PNG). |
send_message | Sends a message as a bot, with the same fields as the Send API. |
start_game | Opens signup for a game of Mafia in a chat, hosted by Bard. |
stop_game | Stops the current game and notifies the chat. |
Limits#
- Mode, persona and moderation rules exist only for the three chat bots.
- One game runs at a time.
start_gameis refused while another game is active. start_gameopens a game on request. Quizzes and nominations follow the schedule set in the bot settings.