n8n-claw
by freddy-schuetz·★ 436·综合分 51
基于n8n的自托管AI代理,具有MCP技能库、记忆管理和专家代理功能。
概述
n8n-claw 是一个基于 n8n、PostgreSQL 和 Claude 构建的自托管 AI 代理。它具有自适应 RAG 驱动的记忆系统、预构建的 MCP 技能库,以及带委托子代理的专家代理。用户可以通过 Telegram 或 HTTP API 与代理交互,提供主动任务管理、媒体理解和浏览器自动化功能。它被设计为一个完整的解决方案,可以通过单个设置脚本在自己的基础设施上运行。
试试问 AI
装完之后,这里有 6 个你可以让 AI 做的事:
什么时候选它
如果您想要一个完整的AI代理解决方案,具有任务管理和记忆功能,并将MCP技能作为其中一个功能,请选择它。
什么时候不要选它
如果您特别需要一个MCP服务器来向其他系统暴露工具/资源,请不要选择它;这是一个消费者代理,不是MCP服务的提供者。
此 server 暴露的工具
从 README 抽取出 12 个工具query_postgresQuery PostgreSQL database directly
web_searchSearch the web via self-hosted SearXNG instance
web_readerRead webpages as clean markdown
memory_searchSearch long-term memory using semantic or keyword search
add_taskCreate a new task with priority and due date
set_reminderSet a timed reminder for a specific time
send_telegram_messageSend a message via Telegram
browse_websiteAutomate browser actions using Browser Use
file_downloadDownload files from the internet or cloud services
schedule_actionSchedule an action to be executed at a specific time
query_knowledge_graphQuery the knowledge graph for entity relationships
build_mcp_skillBuild custom MCP skills from scratch
可对比工具
安装
安装
前提条件
- Linux VPS (推荐 Ubuntu 22.04/24.04,最少 4GB RAM 和 15GB 磁盘)
- Telegram Bot Token (从 [@BotFather](https://t.me/BotFather) 获取)
- 您的 Telegram Chat ID (从 [@userinfobot](https://t.me/userinfobot) 获取)
- LLM API Key (Anthropic, OpenAI, OpenRouter, DeepSeek, Gemini, Mistral, Ollama 或 OpenAI 兼容)
- 域名 (或使用 [sslip.io](https://sslip.io))
设置步骤
git clone https://github.com/freddy-schuetz/n8n-claw.git && cd n8n-claw && ./setup.sh脚本将提示输入:
- n8n API Key (在 n8n UI 中生成:设置 → API)
- Telegram Bot Token 和 Chat ID
- LLM API Key (选择您的提供商)
- 域名
- 代理个性 (名称、语言、沟通风格)
可选功能:
- 用于语义记忆搜索的嵌入
- 语音消息 (需要 Whisper API key)
Claude Desktop 集成
{
"mcpServers": {
"n8n-claw": {
"command": "docker",
"args": ["run", "--rm", "-i", "n8n-claw-agent", "mcp"],
"env": {
"TELEGRAM_BOT_TOKEN": "your-telegram-token",
"TELEGRAM_CHAT_ID": "your-chat-id",
"LLM_API_KEY": "your-llm-key",
"DOMAIN": "your-domain"
}
}
}
}设置完成后,向您的 Telegram bot 发送消息即可开始交互。
FAQ
- n8n-claw 支持哪些 LLM 提供商?
- n8n-claw 支持 Anthropic (默认)、OpenAI、OpenRouter、DeepSeek、Google Gemini、Mistral、Ollama (本地) 和任何 OpenAI 兼容端点。
- n8n-claw 的安全性如何?
- 可以通过在 n8n UI 中将 Telegram 访问限制为仅您的 chat ID 来保护代理。所有通信都使用 HTTPS webhook。凭据存储在具有受限访问权限的环境变量中。
- 我可以将 n8n-claw 与其他工具集成吗?
- 是的,它提供了一个可以与 Slack、Teams 或自定义应用程序集成的 webhook API。它还有一个用于扩展功能的 MCP 技能库。
n8n-claw 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。