@abraca/mcp 1.0.0 → 1.0.2
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/package.json
CHANGED
package/src/server.ts
CHANGED
|
@@ -100,8 +100,8 @@ export class AbracadabraMCPServer {
|
|
|
100
100
|
// Step 1b: Get user profile for publicKey identity
|
|
101
101
|
try {
|
|
102
102
|
const me = await this.client.getMe()
|
|
103
|
-
this._userId = me.id
|
|
104
|
-
console.error(`[abracadabra-mcp] User ID: ${this._userId}`)
|
|
103
|
+
this._userId = me.publicKey ?? me.id
|
|
104
|
+
console.error(`[abracadabra-mcp] User ID (pubkey): ${this._userId}`)
|
|
105
105
|
} catch {
|
|
106
106
|
console.error('[abracadabra-mcp] Could not fetch user profile, proceeding without userId')
|
|
107
107
|
}
|