doora-mcp 0.3.0 → 0.3.1

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -6
  2. package/package.json +1 -1
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.3.0',
52
+ version: '0.3.1',
53
53
  }, {
54
54
  capabilities: { tools: {} },
55
55
  instructions: `doora exposes India-aware addresses behind memorable handles like \`praneeth@home\`. ` +
@@ -62,11 +62,14 @@ const server = new McpServer({
62
62
  server.registerTool('resolve_handle', {
63
63
  title: 'Resolve doora handle to address',
64
64
  description: 'Look up the full delivery address for a doora handle. Returns coordinates, ' +
65
- 'DIGIPIN, building/floor/unit fields the owner has shared, verification method, ' +
66
- 'and an audit id. Use this when the user mentions any string in `username@label` ' +
67
- 'shape (e.g. "praneeth@home", "demo@office") and wants the underlying address. ' +
68
- 'Requires the DOORA_API_KEY environment variable; test keys can only resolve ' +
69
- 'handles owned by the configured demo user call list_demo_handles to see those.',
65
+ 'DIGIPIN, the place_type (apartment / villa / independent_house / commercial / ' +
66
+ 'other) so you can phrase the response with the right vocabulary (society + flat ' +
67
+ 'for apartment, plot number for villa, suite for commercial, etc.), the building/' +
68
+ 'floor/unit/notes fields the owner has shared, verification method, and an audit ' +
69
+ 'id. Use this when the user mentions any string in `username@label` shape (e.g. ' +
70
+ '"praneeth@home", "demo@office") and wants the underlying address. Requires the ' +
71
+ 'DOORA_API_KEY environment variable; test keys can only resolve handles owned by ' +
72
+ 'the configured demo user — call list_demo_handles to see those.',
70
73
  inputSchema: {
71
74
  handle: z.string()
72
75
  .describe('Doora handle in the form `username@label`. Case-insensitive; will be lowercased before lookup.'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doora-mcp",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "MCP server for doora — let Claude / Cursor / Continue look up addresses by doora handle.",
5
5
  "keywords": [
6
6
  "mcp",