doora-mcp 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -48,15 +48,20 @@ error when you first try to resolve a handle.
48
48
 
49
49
  ## Tools
50
50
 
51
- | Tool | What it does | Network |
52
- |---|---|---|
53
- | `resolve_handle` | Look up address for a `username@label` handle | ✓ |
54
- | `encode_digipin` | lat/lng 12-char DIGIPIN string | |
55
- | `decode_digipin` | DIGIPIN lat/lng centroid | |
56
- | `list_demo_handles` | Curated list of test-key-resolvable handles | — |
57
- | `validate_handle_shape` | Regex-check a handle without an API call | |
58
-
59
- Full reference with example prompts and trust model at
51
+ | Tool | What it does | Network | Needs `DOORA_API_KEY` |
52
+ |---|---|---|---|
53
+ | `resolve_handle` | Look up address for a `username@label` handle | ✓ | yes |
54
+ | `start_handle_creation` | Mint a device-flow session so the user can create a new handle in their browser. Returns a `claim_url` to show them. | | **no** |
55
+ | `check_handle_status` | Poll the result of `start_handle_creation` until the user finishes. | | **no** |
56
+ | `encode_digipin` | lat/lng 12-char DIGIPIN string | — | no |
57
+ | `decode_digipin` | DIGIPIN lat/lng centroid | | no |
58
+ | `list_demo_handles` | Curated list of test-key-resolvable handles | — | no |
59
+ | `validate_handle_shape` | Regex-check a handle without an API call | — | no |
60
+
61
+ The two anonymous tools (`start_handle_creation` + `check_handle_status`)
62
+ let an agent help a user without a doora account create one — they
63
+ sign in / sign up themselves in the browser; the agent only sees the
64
+ resulting handle string. Full flow + trust model:
60
65
  **https://www.doora.to/docs/mcp**.
61
66
 
62
67
  ## Configuration
package/dist/index.js CHANGED
@@ -49,7 +49,7 @@ import { DoraApiError, resolveHandle, startClaimSession, checkClaimSession, } fr
49
49
  const HANDLE_PATTERN = /^([a-z0-9-]{3,24})@([a-z0-9-]{2,16})$/i;
50
50
  const server = new McpServer({
51
51
  name: 'doora',
52
- version: '0.2.0',
52
+ version: '0.3.0',
53
53
  }, {
54
54
  capabilities: { tools: {} },
55
55
  instructions: `doora exposes India-aware addresses behind memorable handles like \`praneeth@home\`. ` +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doora-mcp",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "MCP server for doora — let Claude / Cursor / Continue look up addresses by doora handle.",
5
5
  "keywords": [
6
6
  "mcp",