Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Python agent-infrastructureai-agentai-searchautomationbilibiliclaude-codeclicursorfree-apillm-toolsmcppythonreddit-scrapertwitter-scraperweb-scraperxiaohongshuyoutube-transcript
fix: replace 'mcporter list' with 'mcporter config list' to prevent hangs
Panniantong39f76ee4dcf3
diff --git a/agent_reach/channels/douyin.py b/agent_reach/channels/douyin.pyindex ad455427..9aa5db6a 100644--- a/agent_reach/channels/douyin.py+++ b/agent_reach/channels/douyin.py@@ -29,7 +29,7 @@ class DouyinChannel(Channel):)try:r = subprocess.run(- ["mcporter", "list"], capture_output=True, text=True, timeout=10+ ["mcporter", "config", "list"], capture_output=True, text=True, timeout=5)if "douyin" not in r.stdout:return "off", (diff --git a/agent_reach/channels/exa_search.py b/agent_reach/channels/exa_search.pyindex e264399f..ece5b911 100644--- a/agent_reach/channels/exa_search.py+++ b/agent_reach/channels/exa_search.py@@ -24,7 +24,7 @@ class ExaSearchChannel(Channel):)try:r = subprocess.run(- ["mcporter", "list"], capture_output=True, text=True, timeout=10+ ["mcporter", "config", "list"], capture_output=True, text=True, timeout=5)if "exa" in r.stdout.lower():return "ok", "全网语义搜索可用(免费,无需 API Key)"diff --git a/agent_reach/channels/linkedin.py b/agent_reach/channels/linkedin.pyindex cb60ffa1..2a2288af 100644--- a/agent_reach/channels/linkedin.py+++ b/agent_reach/channels/linkedin.py@@ -26,7 +26,7 @@ class LinkedInChannel(Channel):)try:r = subprocess.run(- ["mcporter", "list"], capture_output=True, text=True, timeout=10+ ["mcporter", "config", "list"], capture_output=True, text=True, timeout=5)if "linkedin" in r.stdout.lower():return "ok", "完整可用(Profile、公司、职位搜索)"diff --git a/agent_reach/channels/xiaohongshu.py b/agent_reach/channels/xiaohongshu.pyindex e3dae048..75f02496 100644--- a/agent_reach/channels/xiaohongshu.py+++ b/agent_reach/channels/xiaohongshu.py@@ -28,7 +28,7 @@ class XiaoHongShuChannel(Channel):)try:r = subprocess.run(- ["mcporter", "list"], capture_output=True, text=True, timeout=10+ ["mcporter", "config", "list"], capture_output=True, text=True, timeout=5)if "xiaohongshu" not in r.stdout:return "off", (diff --git a/agent_reach/cli.py b/agent_reach/cli.pyindex f5f3e7e2..f6fca221 100644--- a/agent_reach/cli.py+++ b/agent_reach/cli.py@@ -453,7 +453,7 @@ def _install_mcporter():# Configure Exa MCP (free, no key needed)try:r = subprocess.run(- ["mcporter", "list"], capture_output=True, text=True, timeout=10+ ["mcporter", "config", "list"], capture_output=True, text=True, timeout=5)if "exa" not in r.stdout:subprocess.run(@@ -469,7 +469,7 @@ def _install_mcporter():# Check XiaoHongShu MCP (only if server is running)try:r = subprocess.run(- ["mcporter", "list"], capture_output=True, text=True, timeout=10+ ["mcporter", "config", "list"], capture_output=True, text=True, timeout=5)if "xiaohongshu" in r.stdout:print(" ✅ XiaoHongShu MCP already configured")