Anwani

io.github.Anwani-app由 GitHub 帳號 Anwani-app 發布v1.1.3更新於 Oct 24, 2026

Anwani MCP: create and manage permanent 9-digit address codes through OAuth (9code.app).

已驗證Streamable HTTP可網頁執行位置與生活效率與工作流

概覽

AI 產生的概覽

Anwani 讓助理在使用者的 Anwani 帳戶中建立、列出、更新、分享與刪除綁定真實地點的永久 9 位地址碼。

可以做什麼
檢查已登入 Anwani 帳戶的連線狀態與已授權範圍,不傳回內部 ID。列出該帳戶擁有的地址,配額與應用程式及 Telegram 相同。使用使用者提供的真實地圖座標建立一個地址,並需提供冪等鍵。只修改現有地址中明確提供的欄位(例如說明),座標建立後無法變更。傳回自有地址碼的公開深層連結,並永久刪除自有地址。
適用情境
適合在聊天用戶端中讓助理管理 Anwani 數位地址:登記新地點、更新其資訊、分享公開連結,或清理不再需要的地址。
執行需求
可使用遠端端點,或在本地以 Node.js 18+ 執行 npm 套件 anwani-mcp,並搭配 Cursor 等相容 MCP 的用戶端。需要一個 Anwani 帳戶,新使用者會在 Google 登入時自動建立。需透過瀏覽器 OAuth 登入流程取得 bearer 權杖,並在 Authorization 標頭中傳送;權杖會存放在使用者家目錄下的本機位置。
安裝前請注意
Authorization 中的 bearer 權杖屬於憑證,請勿貼到聊天中;可透過重新登入或聯絡支援來撤銷。建立、修改與刪除地址會變更帳戶資料,delete_address 為永久刪除。地址數量受帳戶配額限制,通常為 10 個。助理必須使用使用者提供的真實地圖座標,不得自行編造座標或地名。此用戶端不支援上傳照片。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Anwani,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Anwani-app%2Fanwani-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "anwani": {
      "type": "http",
      "url": "https://us-central1-nine-code-anwani.cloudfunctions.net/mcpRemote",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

Anwani MCP

Anwani MCP connects AI agents to Anwani, the digital address infrastructure for permanent 9-digit address codes tied to real-world locations.

Create, list, update, share, and delete your Anwani addresses through OAuth, with the same ownership, permissions, and account limits used across Anwani.

Works with Cursor and other MCP-compatible clients.

Product page: https://9code.app/ai-agents

Sign-in uses Google OAuth + PKCE in the browser — approve once, then the client saves the token on this machine.

OAuth client id: anwani-cursor

This package is a connection client only. It does not contain Firebase project internals, Firestore paths, or server secrets.

Requirements

  • Node.js 18+
  • An MCP-compatible client (Cursor is supported; others work the same way via stdio)
  • An Anwani account (created automatically during Google consent if you are new)

Install

bash
npm install -g anwani-mcpanwani-mcp-login

Or without a global install:

bash
npx -y anwani-mcp-login

What happens:

  1. A local callback server starts on this machine
  2. Your browser opens the Anwani authorize page
  3. You sign in with Google and click Allow
  4. The browser returns to localhost — the bridge saves the token automatically

No JSON paste. Never paste codes or tokens into chat.

Fallback (rare): anwani-mcp-login --paste if loopback is blocked on your network.

Use with Cursor

Cursor is the first supported MCP client. Recommended config (always uses the published package):

json
{  "mcpServers": {    "anwani": {      "command": "npx",      "args": ["-y", "anwani-mcp"]    }  }}

Then open a new chat and ask Anwani to create or update an address. Provide a real map pin (coordinates or Maps link) — the agent must not invent a location.

Tools

ToolNeeds scopeNotes
session—Connection + granted scopes (no internal IDs)
list_addressesaddress:readYour addresses only
create_addressaddress:createRequires idempotency_key + real lat/lng from you
patch_addressaddress:updateField patch; coordinates locked after create
share_addressaddress:sharePublic 9code.app/code/… link
delete_addressaddress:deleteDestructive

Photo upload is not available via this client — use the Anwani app or Telegram for photos.

Security

  • Tokens live in ~/.anwani-mcp/ (never inside this package).
  • Access tokens are opaque anwani_at_… values.
  • Same account quota as the app / Telegram (usually 10 addresses).
  • Revoke by running login again (re-consent invalidates prior tokens) or email [email protected].

From source

bash
git clone https://github.com/Anwani-app/anwani-mcp.gitcd anwani-mcpnode login.mjs

Smoke test

From a clone:

bash
node smoke.mjs

Publish / directories

See PUBLISH.md for Official MCP Registry, Glama, Smithery, and npm.

  • Local (any MCP client, e.g. Cursor): npx -y anwani-mcp after anwani-mcp-login
  • Remote: https://us-central1-nine-code-anwani.cloudfunctions.net/mcpRemote

License

MIT

來源:README.md,提交 7525040

工具

6

session

Check that Anwani is connected for this user. Does not return internal IDs.

無需輸入參數。

list_addresses

List addresses owned by the connected Anwani account (same quota as app/Telegram).

無需輸入參數。

create_address

Create one address within the user quota. Requires a real map pin from the user (latitude/longitude). NEVER invent coordinates, city, or display name. If the user did not provide a location (coords, Maps link, or clear place), ask them first — do not call this tool with sample/demo data.

輸入參數pincityfloorlabelphonestreetcountrycategorylatitude必填longitude必填ownerNamepinEnabled另有 6 個

patch_address

Patch only provided fields (e.g. instructions). Does not clear omitted fields. Coordinates cannot be changed.

輸入參數code必填changes必填

share_address

Return the public deep link for an owned address code.

輸入參數code必填

delete_address

Permanently delete an address owned by the connected account.

輸入參數code必填

版本歷史

1
  1. v1.1.3最新Sep 27, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分