Show HN: Mu – Tools for Agents
https://github.com/micro/mu📌 【Show HN】Mu:為 AI Agent 打造的萬用工具箱,讓 Agent 能像人類一樣操作現實世界
TL;DR:Mu 是一個結合 MCP 協定與 Web App 的工具集,讓 AI Agent 能存取新聞、郵件、天氣與市場數據等現實資訊。
隨著 AI Agent 成為開發熱點,如何讓模型擁有「手」與「眼」來存取現實世界的資訊,成為關鍵挑戰。Mu 透過 Model Context Protocol (MCP) 協定,為 Agent 提供了一套標準化的介面,讓它們能處理從天氣預報到金融市場的各種任務。
🧩 透過 MCP 協定,打通 Agent 與現實世界的連結
Mu 的核心設計理念是作為一個 MCP 伺服器,讓 LLM(如 Claude、DeepSeek 或本地的 Ollama)能將各種服務當作「工具(tools)」來呼叫。
- 對 Agent 而言:它是一個功能強大的 MCP Server。你可以透過設定 JSON 檔案,將特定的服務(如
news或web)掛載給你的 Agent。 - 對人類而言:它提供了一個 Web App,讓你可以與 Agent 共享相同的內容,並在網頁介面上直接瀏覽或互動。
🛠️ 涵蓋生活與工作的全方位工具清單
Mu 提供了極其豐富的服務範疇,讓 Agent 不僅能「說」,還能「做」:
- 資訊與搜尋:Web 搜尋、新聞聚合 (RSS)、影片搜尋、圖片生成。
- 溝通與行程:Mail (具備真實 SMTP 與 DKIM 支援)、Calendar (行程管理)、Contacts (聯絡人)。
- 實務生活:Weather (天氣、花粉預報)、Places (地點搜尋、旅行時間計算)、Markets (加密貨幣、期貨、匯率)。
- 開發與儲存:Files (檔案管理與分享)、Storage (資料庫操作)、Apps (建立與執行小型 Web 工具)。
📊 多種介面與整合方式
Mu 不僅僅是一個後端服務,它提供了多樣化的互動路徑:
- Web App:包含一個主畫面,透過卡片 (Cards) 呈現即時資訊(如標題、價格、天氣),Agent 會直接嵌入在介面中與你協作。
- CLI (命令列介面):所有的工具都可以直接作為
mu的子指令使用。例如mu weather_forecast或mu news_search "ai safety"。 - 社群軟體整合:支援透過 Discord 與 Telegram 的指令(如
/agent、/news)直接與 Agent 對話。
💡 靈活的配置與自架方案
開發者可以根據需求,精準控制 Agent 的權限:
- 權限縮減 (Scoping):如果你不想給予 Agent 全部權限,可以透過 URL 參數限制其範圍,例如
https://micro.mu/mcp?tools=news,web。 - 自架部署 (Self-hosting):支援使用 Docker 或直接從原始碼安裝,並允許透過編輯 JSON 檔案來自定義 Feed、Prompt 與介面卡片。
- AI 模型選擇:支援 Claude、Atlas Cloud (DeepSeek) 或任何相容 OpenAI 介面的本地端模型 (Ollama)。
🎯 實務啟示
對於開發 AI Agent 的工程師來說,Mu 提供了一個「即插即用」的工具層。你不需要為每一個新功能(如天氣或新聞)重複撰寫複雜的 API 整合程式碼,只需要透過 MCP 協定,就能讓你的 Agent 瞬間具備處理現實世界數據的能力。
🔗 來源
- 標題:Show HN: Mu – Tools for Agents
- 作者/機構:asim
- 連結:https://github.com/micro/mu
#AI #Agent #MCP #LLM #OpenSource #MachineLearning #DeveloperTools #Automation #SoftwareEngineering #AIInfrastructure
原始資料 Hacker News · 收集於 2026-08-03
摘要原文
mu Tools for agents Overview Mu is an MCP server and web app for agents and humans. It provides access to the real world through MCP for the agents and let's humans browse or interact with same content in a web app. Access news, web search, mail, markets, weather, video, places, images, files, calendar, contacts and more. Use it live at micro.mu , or self-host. Usage { "mcpServers" : { "mu" : { "url" : " https://micro.mu/mcp " } } } Create a Personal Access Token at /token and send it as Authorization: Bearer . curl -X POST https://micro.mu/mcp -H ' Content-Type: application/json ' \ -d ' {"jsonrpc":"2.0","id":1,"method":"tools/list"} ' Don't want all of it? Scope the connection to the services you need: https://micro.mu/mcp?tools=news,web,mail That's what gets listed to your agent. Everything else is still callable. Browse the tools: micro.mu/tools — every tool, grouped by service, with what each call costs. See MCP docs for the protocol details. The tools Area Tools Agent agent · chat — ask the whole thing a question and let it compose Apps apps_build · apps_run · apps_edit — build and run small web tools Calendar events_create · events_free · events_list — schedule, and find when you are free Contacts contacts_find · contacts_add · contacts_list — turn a name into an address Files files_put · files_get · files_list · files_share — keep a file, get a URL Faith islam_today · islam_prayer · islam_qibla · quran · hadith Index index_search — everything this instance holds for you Images images_generate · images_search News news_list · news_read · news_search — RSS aggregation, full articles Markets markets_list — crypto, futures, commodities, currencies Places places_search · places_nearby · places_eta — points of interest, geocoding, travel time Mail mail_inbox · mail_send · mail_address — a real SMTP server with DKIM, and an address per agent Storage db_create · db_get · db_list · db_update · db_delete — per-caller records Writing blog_* · social_* · stream_* — publish, read, discuss Wallet wallet_balance — credits, and where to send USDC to top up Weather weather_forecast — conditions, forecast, pollen Web web_search · web_fetch — search the web, read a page as clean text Video video_list · video_search — curated channels, no ads or recommendations The app The server includes a web app with a home screen. Cards render each service at a glance (headlines, prices, weather, unread mail) and the agent sits inline to act on what you're looking at. Logged-out visitors get a public version with live data. An LLM — Claude, Atlas Cloud (DeepSeek), or a local Ollama / OpenAI-compatible endpoint — calls the services as tools, composes answers, and keeps per-user memory across sessions. Sign in with a username and password, a passkey (WebAuthn), or Google . For the CLI, generate a Personal Access Token at /token . CLI Every tool is a mu subcommand. The same binary runs the server ( mu --serve ) and the CLI. mu news_list # latest headlines mu news_search " ai safety " # search news mu web_search " claude code " # search the web mu agent " what is the btc price? " # run the full agent mu weather_forecast --lat 51.5 --lon -0.12 mu wallet # your balance mu help # full tool list The CLI is registry-driven — a tool added to the server automatically becomes a CLI command. mu login # opens /token in your browser, paste the PAT back mu config set token xxx # or set it directly export MU_TOKEN=xxx # or use the environment See CLI docs . Discord & Telegram Talk to the agent from Discord or Telegram — questions, markets, news, all from chat. Join the Discord Discord: /agent , /news , /markets , /weather , /mail , /social , /blog , /video , /search , /apps , /balance , /usage . Telegram: /agent , /ask , /news , /markets , /weather , /usage . Setup for both is in Installation . Self-hosting curl -fsSL https://raw.githubusercontent.com/micro/mu/main/install.sh | sh # Docker git clone https://github.com/micro/mu && cd mu docker compose up # From source git clone https://github.com/micro/mu cd mu && go install mu --serve First-run setup Open http://localhost:8080 and Mu walks you through a one-time setup: create your admin account and pick an AI provider (Claude, Atlas Cloud, or a local Ollama / OpenAI-compatible endpoint). That's enough to have a working agent. For terminal setup. Configure the provider headless, then start the server: mu setup # pick a provider, paste a key mu --serve # first account you create becomes admin Or set everything by hand: export ADMIN=you@example.com # who's admin (else: first account) export ATLAS_API_KEY=xxx # or ANTHROPIC_API_KEY, or OPENAI_BASE_URL mu --serve Once you're admin, every other key (YouTube, Brave search, weather, mail/DKIM, Google sign-in…) is configurable from /admin/env in the browser. See Installation guide . Configuration Customise feeds, prompts and cards by editing JSON files: service/news/feeds.json — RSS news feeds service/chat/prompts.json — chat topics home/cards.json — home screen cards service/video/channels.json — YouTube channels service/places/locations.json — saved locations See Environment Variables for all options. Documentation Full docs in the docs folder. Start with MCP for agents, Architecture for the code. The live tool catalogue is at /tools . License AGPL-3.0 — use, modify, distribute. If you run a modified version as a service, share the source. (50 points, 20 comments on Hacker News)
由 tencent/hy3:free 自動生成