Anwani MCP
MCP serverEverything elseAnwani MCP: create and manage permanent 9-digit address codes through OAuth (9code.app).
Available today. Use it from your connected AI after setup.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use Anwani MCP
Install Anwani MCP
The server’s own address, for the clients that take one directly. Or connect ahel onceand every client you use reads it from one address, with the account kept on ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user anwani-mcp 'https://us-central1-nine-code-anwani.cloudfunctions.net/mcpRemote'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://us-central1-nine-code-anwani.cloudfunctions.net/mcpRemoteAdd a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=anwani-mcp&config=eyJ1cmwiOiJodHRwczovL3VzLWNlbnRyYWwxLW5pbmUtY29kZS1hbndhbmkuY2xvdWRmdW5jdGlvbnMubmV0L21jcFJlbW90ZSJ9Open the link and Cursor adds the server at that address.
ChatGPT
https://us-central1-nine-code-anwani.cloudfunctions.net/mcpRemoteIn Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add anwani-mcp --url 'https://us-central1-nine-code-anwani.cloudfunctions.net/mcpRemote'Run it once, then sign in with codex mcp login anwani-mcp if the server asks for an account.
From the project's README
As published by Anwani-app/anwani-mcp in README.md.
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.
Product page: https://9code.app/ai-agents
Sign-in uses Google OAuth + PKCE in the browser — approve once, then the bridge 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+
- Cursor (or another MCP client)
- An Anwani account (created automatically during Google consent if you are new)
Install
npm install -g anwani-mcp
anwani-mcp-login
Or without a global install:
npx -y anwani-mcp-login
What happens:
- A local callback server starts on this machine
- Your browser opens the Anwani authorize page
- You sign in with Google and click Allow
- 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.
Cursor MCP config
Recommended (always uses the published package):
{
"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
| Tool | Needs scope | Notes |
|---|---|---|
session | — | Connection + granted scopes (no internal IDs) |
list_addresses | address:read | Your addresses only |
create_address | address:create | Requires idempotency_key + real lat/lng from you |
patch_address | address:update | Field patch; coordinates locked after create |
share_address | address:share | Public 9code.app/code/… link |
delete_address | address:delete | Destructive |
Photo upload is not available via this bridge — 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 support@9code.app.
From source
git clone https://github.com/Anwani-app/anwani-mcp.git
cd anwani-mcp
node login.mjs
Smoke test
From a clone:
node smoke.mjs
Publish / directories
See PUBLISH.md for Official MCP Registry, Glama, Smithery, and npm.
- Local (Cursor):
npx -y anwani-mcpafteranwani-mcp-login - Remote:
https://us-central1-nine-code-anwani.cloudfunctions.net/mcpRemote
License
MIT
Advanced
- Delivery
- anwani-mcp MCP server → your ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
io-github-anwani-app-anwani-mcp- Source
- github.com/Anwani-app/anwani-mcp
- Hosted endpoint
https://us-central1-nine-code-anwani.cloudfunctions.net/mcpRemote