anime-connect-mcp-bot
anime-connect-mcp-bot
MCP 服务器,用于监控 Anime Connect 应用的聊天,并将数据(消息、警报) 作为工具供 AI 助手(Claude)查询。
分层
src/ingestion— 从聊天源捕获消息。FirebaseChatSource从 Realtime Database 读取带有has_bot: true的群组;MockChatSource仅用于开发/测试。src/domain— 实体(ChatMessage、Alert)、纯规则(关键词检测) 以及botSettings.ts(按群组个性化配置,见下文)。src/actuation— 将内容写回聊天(FirebaseActuator),或仅记录日志(DryRunActuator)。src/agent— 聊天命令(!ping、!help、!ban)以及按角色的权限。src/storage— SQLite 持久化(MessageRepository)。src/mcp— 提供工具get_recent_messages、search_messages、get_recent_alerts的 MCP 服务器。src/config— 环境变量(DB_PATH、POLL_INTERVAL_MS、DRY_RUN)。
Related MCP server: mcp-server-agent-comm
按群组个性化配置(bot_settings)
每个群组的所有者通过 Anime Connect 应用本身(机器人配置界面)编辑机器人,这会写入
Realtime Database 中的 groups/{id}/bot_settings:
身份:
name和avatar_color— 该群组的机器人用户会使用这些值创建/更新 (FirebaseActuator,bot_group_id字段将用户绑定到群组)。实际启用:
active— 当为false时,机器人仅记录它会在该群组中执行的操作, 即使.env中设置了DRY_RUN=false(它仍然是进程的总开关)。命令:
commands.ping/help/ban.enabled分别启用/禁用各命令;commands.ping.message是!ping的自定义回复。审核:
keyword_alerts和badwords(逗号分隔的字符串)会替换该群组 在.env中的全局KEYWORD_ALERTS/BADWORDS。
未保存 bot_settings 的群组使用 src/domain/botSettings.ts
(DEFAULT_BOT_SETTINGS)中的默认值,出于安全考虑,active 为 false。
运行
npm install
npm run dev # modo desenvolvimento (tsx watch)
npm run build && npm start # build + produção下一步
用真实的实现替换 MockChatSource,使其与 Anime Connect 应用通信
(REST API、webhook 或直接读取数据库,具体取决于应用聊天的暴露方式)。
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
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to send messages and interact with Telegram chats through MCP tools, with support for user management, conversation history, and bot command handling.1
- FlicenseNot gradedqualityDmaintenanceEnables multi-agent communication between AI agents via MCP tools with real-time message routing, admin control, and dual-language support.8
- AlicenseAqualityDmaintenanceEnables AI assistants to publish, edit, search, and manage messages in Telegram channels via a set of MCP tools.8MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants like Claude to read, search, and send messages through your personal Telegram account via MCP tools.MIT
Related MCP Connectors
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Official remote MCP server for Archivist AI TTRPG campaign memory: characters, sessions, and more.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
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/VanessaLops/anime-connect-mcp-bot'
If you have feedback or need assistance with the MCP directory API, please join our Discord server