AstrBot MCP Server
Click on "Install 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., "@AstrBot MCP Servercheck the AstrBot status"
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.
AstrBot MCP Server
用于连接远程 AstrBot 服务器的 MCP 服务器,支持查看日志和实时调试。
功能
✅ 获取 AstrBot 运行状态
✅ 查看日志(最近 N 行)
✅ 实时监控日志
✅ 重启 AstrBot 服务
✅ 查看配置文件
✅ 列出已安装插件
✅ 查看插件配置
✅ 执行远程命令
✅ 检查错误日志
Related MCP server: SSH MCP Server
安装
pip install -r requirements.txt配置
设置环境变量:
# Windows PowerShell
$env:ASTRBOT_SSH_PASSWORD="你的SSH密码"
$env:ASTRBOT_PATH="~/astrbot"
# Linux/Mac
export ASTRBOT_SSH_PASSWORD="你的SSH密码"
export ASTRBOT_PATH="~/astrbot"或者直接修改 server.py 中的 SERVER_CONFIG。
使用方法
1. 直接运行
python server.py2. 配置 OpenCode 使用
在 OpenCode 配置文件中添加:
{
"mcp": {
"servers": {
"astrbot": {
"command": "python",
"args": ["D:\\opencode\\随便玩玩\\astrbot-mcp\\server.py"],
"env": {
"ASTRBOT_SSH_PASSWORD": "你的SSH密码",
"ASTRBOT_PATH": "~/astrbot"
}
}
}
}
}可用工具
工具名称 | 描述 |
| 获取 AstrBot 运行状态 |
| 获取最近 N 行日志 |
| 实时监控日志(持续 N 秒) |
| 重启 AstrBot 服务 |
| 查看配置文件 |
| 列出已安装插件 |
| 查看指定插件配置 |
| 执行远程命令 |
| 检查错误日志 |
示例
获取状态
{
"name": "astrbot_status",
"arguments": {}
}查看日志
{
"name": "astrbot_logs",
"arguments": {
"lines": 100,
"filter": "error"
}
}实时监控
{
"name": "astrbot_logs_realtime",
"arguments": {
"duration": 60,
"filter": "mimo_search"
}
}查看插件配置
{
"name": "astrbot_plugin_config",
"arguments": {
"plugin_name": "mimo_search"
}
}This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables secure SSH connections to remote servers for executing shell commands and managing active sessions. It supports authentication via passwords or private keys and provides optional host-based access control.Last updated4100MIT
- Alicense-qualityCmaintenanceEnables remote Linux server management via SSH, allowing command execution and system administration through natural language.Last updatedMIT
- AlicenseAqualityCmaintenanceEnables AI assistants to manage remote servers via SSH with agentless command execution, file operations, and service management.Last updated9MIT
- Alicense-qualityBmaintenanceEnables AI assistants to manage remote servers via SSH with 14 commands for execution, file transfer, auditing, and monitoring.Last updated301MIT
Related MCP Connectors
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Operate your Linux servers from your LLM. Every action runs through an auditable allowlist.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LilycleHeart/astrbot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server