@pmxt/mcp 2.53.0 → 2.54.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.
@@ -2690,6 +2690,62 @@ export const TOOLS = [
2690
2690
  }
2691
2691
  ]
2692
2692
  },
2693
+ {
2694
+ "name": "getAuthNonce",
2695
+ "description": "Get a cryptographic nonce for Web3 login.",
2696
+ "inputSchema": {
2697
+ "type": "object",
2698
+ "properties": {
2699
+ "exchange": {
2700
+ "type": "string",
2701
+ "enum": [
2702
+ "polymarket",
2703
+ "kalshi",
2704
+ "kalshi-demo",
2705
+ "limitless",
2706
+ "probable",
2707
+ "baozi",
2708
+ "myriad",
2709
+ "opinion",
2710
+ "metaculus",
2711
+ "smarkets",
2712
+ "polymarket_us",
2713
+ "gemini-titan",
2714
+ "hyperliquid",
2715
+ "suibets",
2716
+ "rain",
2717
+ "hunch",
2718
+ "mock",
2719
+ "router"
2720
+ ],
2721
+ "description": "The prediction market exchange to target."
2722
+ },
2723
+ "walletAddress": {
2724
+ "type": "string"
2725
+ },
2726
+ "verbose": {
2727
+ "type": "boolean",
2728
+ "description": "Return full uncompacted response. Default false returns a compact, agent-friendly summary."
2729
+ }
2730
+ },
2731
+ "required": [
2732
+ "exchange",
2733
+ "walletAddress"
2734
+ ]
2735
+ },
2736
+ "annotations": {
2737
+ "readOnlyHint": true
2738
+ },
2739
+ "method": "getAuthNonce",
2740
+ "args": [
2741
+ {
2742
+ "name": "walletAddress",
2743
+ "kind": "string",
2744
+ "optional": false,
2745
+ "flatten": false
2746
+ }
2747
+ ]
2748
+ },
2693
2749
  {
2694
2750
  "name": "getExecutionPrice",
2695
2751
  "description": "Calculate the volume-weighted average execution price for a given order size. Returns 0 if the order cannot be fully filled.",
@@ -2914,6 +2970,62 @@ export const TOOLS = [
2914
2970
  }
2915
2971
  ]
2916
2972
  },
2973
+ {
2974
+ "name": "isSessionActive",
2975
+ "description": "Check if a session is active for the given wallet address.",
2976
+ "inputSchema": {
2977
+ "type": "object",
2978
+ "properties": {
2979
+ "exchange": {
2980
+ "type": "string",
2981
+ "enum": [
2982
+ "polymarket",
2983
+ "kalshi",
2984
+ "kalshi-demo",
2985
+ "limitless",
2986
+ "probable",
2987
+ "baozi",
2988
+ "myriad",
2989
+ "opinion",
2990
+ "metaculus",
2991
+ "smarkets",
2992
+ "polymarket_us",
2993
+ "gemini-titan",
2994
+ "hyperliquid",
2995
+ "suibets",
2996
+ "rain",
2997
+ "hunch",
2998
+ "mock",
2999
+ "router"
3000
+ ],
3001
+ "description": "The prediction market exchange to target."
3002
+ },
3003
+ "walletAddress": {
3004
+ "type": "string"
3005
+ },
3006
+ "verbose": {
3007
+ "type": "boolean",
3008
+ "description": "Return full uncompacted response. Default false returns a compact, agent-friendly summary."
3009
+ }
3010
+ },
3011
+ "required": [
3012
+ "exchange",
3013
+ "walletAddress"
3014
+ ]
3015
+ },
3016
+ "annotations": {
3017
+ "readOnlyHint": true
3018
+ },
3019
+ "method": "isSessionActive",
3020
+ "args": [
3021
+ {
3022
+ "name": "walletAddress",
3023
+ "kind": "string",
3024
+ "optional": false,
3025
+ "flatten": false
3026
+ }
3027
+ ]
3028
+ },
2917
3029
  {
2918
3030
  "name": "loadMarkets",
2919
3031
  "description": "Load and cache all markets from the exchange into `this.markets` and `this.marketsBySlug`. Subsequent calls return the cached result without hitting the API again. This is the correct way to paginate or iterate over markets without drift. Because `fetchMarkets()` always hits the API, repeated calls with different `offset` values may return inconsistent results if the exchange reorders or adds markets between requests. Use `loadMarkets()` once to get a stable snapshot, then paginate over `Object.values(exchange.markets)` locally.",
@@ -2997,6 +3109,137 @@ export const TOOLS = [
2997
3109
  }
2998
3110
  ]
2999
3111
  },
3112
+ {
3113
+ "name": "loginWithSignature",
3114
+ "description": "Login with a signed nonce to obtain session credentials.",
3115
+ "inputSchema": {
3116
+ "type": "object",
3117
+ "properties": {
3118
+ "exchange": {
3119
+ "type": "string",
3120
+ "enum": [
3121
+ "polymarket",
3122
+ "kalshi",
3123
+ "kalshi-demo",
3124
+ "limitless",
3125
+ "probable",
3126
+ "baozi",
3127
+ "myriad",
3128
+ "opinion",
3129
+ "metaculus",
3130
+ "smarkets",
3131
+ "polymarket_us",
3132
+ "gemini-titan",
3133
+ "hyperliquid",
3134
+ "suibets",
3135
+ "rain",
3136
+ "hunch",
3137
+ "mock",
3138
+ "router"
3139
+ ],
3140
+ "description": "The prediction market exchange to target."
3141
+ },
3142
+ "walletAddress": {
3143
+ "type": "string"
3144
+ },
3145
+ "signature": {
3146
+ "type": "string"
3147
+ },
3148
+ "nonce": {
3149
+ "type": "string"
3150
+ },
3151
+ "verbose": {
3152
+ "type": "boolean",
3153
+ "description": "Return full uncompacted response. Default false returns a compact, agent-friendly summary."
3154
+ }
3155
+ },
3156
+ "required": [
3157
+ "exchange",
3158
+ "walletAddress",
3159
+ "signature",
3160
+ "nonce"
3161
+ ]
3162
+ },
3163
+ "annotations": {
3164
+ "readOnlyHint": true
3165
+ },
3166
+ "method": "loginWithSignature",
3167
+ "args": [
3168
+ {
3169
+ "name": "walletAddress",
3170
+ "kind": "string",
3171
+ "optional": false,
3172
+ "flatten": false
3173
+ },
3174
+ {
3175
+ "name": "signature",
3176
+ "kind": "string",
3177
+ "optional": false,
3178
+ "flatten": false
3179
+ },
3180
+ {
3181
+ "name": "nonce",
3182
+ "kind": "string",
3183
+ "optional": false,
3184
+ "flatten": false
3185
+ }
3186
+ ]
3187
+ },
3188
+ {
3189
+ "name": "logout",
3190
+ "description": "Logout and invalidate the current session.",
3191
+ "inputSchema": {
3192
+ "type": "object",
3193
+ "properties": {
3194
+ "exchange": {
3195
+ "type": "string",
3196
+ "enum": [
3197
+ "polymarket",
3198
+ "kalshi",
3199
+ "kalshi-demo",
3200
+ "limitless",
3201
+ "probable",
3202
+ "baozi",
3203
+ "myriad",
3204
+ "opinion",
3205
+ "metaculus",
3206
+ "smarkets",
3207
+ "polymarket_us",
3208
+ "gemini-titan",
3209
+ "hyperliquid",
3210
+ "suibets",
3211
+ "rain",
3212
+ "hunch",
3213
+ "mock",
3214
+ "router"
3215
+ ],
3216
+ "description": "The prediction market exchange to target."
3217
+ },
3218
+ "walletAddress": {
3219
+ "type": "string"
3220
+ },
3221
+ "verbose": {
3222
+ "type": "boolean",
3223
+ "description": "Return full uncompacted response. Default false returns a compact, agent-friendly summary."
3224
+ }
3225
+ },
3226
+ "required": [
3227
+ "exchange"
3228
+ ]
3229
+ },
3230
+ "annotations": {
3231
+ "readOnlyHint": true
3232
+ },
3233
+ "method": "logout",
3234
+ "args": [
3235
+ {
3236
+ "name": "walletAddress",
3237
+ "kind": "string",
3238
+ "optional": true,
3239
+ "flatten": false
3240
+ }
3241
+ ]
3242
+ },
3000
3243
  {
3001
3244
  "name": "submitOrder",
3002
3245
  "description": "Submit a pre-built order returned by buildOrder().",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmxt/mcp",
3
- "version": "2.53.0",
3
+ "version": "2.54.0",
4
4
  "description": "MCP server for PMXT - the unified prediction market API",
5
5
  "type": "module",
6
6
  "bin": {