parseapi-mcp 1.11.4 → 1.12.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.
@@ -2249,7 +2249,7 @@ function registerBulk(server, key, transport) {
2249
2249
  // package.json
2250
2250
  var package_default = {
2251
2251
  name: "parseapi-mcp",
2252
- version: "1.11.4",
2252
+ version: "1.12.0",
2253
2253
  mcpName: "com.parseapi/mcp",
2254
2254
  description: "Official ParseAPI MCP server. Look up places, addresses, company numbers, email, phone, weather, dates and more.",
2255
2255
  keywords: [
@@ -2299,7 +2299,7 @@ var package_default = {
2299
2299
  dependencies: {
2300
2300
  "@modelcontextprotocol/node": "^2.0.0",
2301
2301
  "@modelcontextprotocol/server": "^2.0.0",
2302
- "@parseapi/sdk": "^1.12.6",
2302
+ "@parseapi/sdk": "^1.13.0",
2303
2303
  zod: "^4.0.0"
2304
2304
  },
2305
2305
  devDependencies: {
@@ -2381,7 +2381,7 @@ function cityCollectionArguments(args) {
2381
2381
  romanized: args.romanized || void 0
2382
2382
  };
2383
2383
  }
2384
- var languageTools = /* @__PURE__ */ new Set(["ip", "ip_self", "asn", "company", "continent", "continent_countries", "country", "country_states", "state", "state_districts", "district", "city", "city_id", "city_search", "city_nearest", "city_nearby", "postal", "postal_nearby", "postal_distance", "language", "date", "time", "timezone", "emoji", "emoji_search", "emoji_browse", "emoji_parse", "emoji_catalog", "point", "city_list", "city_nearby_coordinates", "city_children", "city_ancestors", "city_siblings"]);
2384
+ var languageTools = /* @__PURE__ */ new Set(["ip", "ip_self", "asn", "company", "continent", "continent_countries", "country", "country_states", "state", "state_districts", "district", "city", "city_id", "city_search", "city_nearest", "city_nearby", "postal", "postal_nearby", "postal_distance", "currency", "language", "date", "time", "timezone", "emoji", "emoji_search", "emoji_browse", "emoji_parse", "emoji_catalog", "point", "city_list", "city_nearby_coordinates", "city_children", "city_ancestors", "city_siblings"]);
2385
2385
  var displayLanguage = z5.string().min(2).max(64).optional().describe("Optional display language, such as fr or zh-Hant. IDs, numeric values and input parsing stay unchanged.");
2386
2386
  var emojiFilters = {
2387
2387
  limit: z5.number().int().min(1).max(50).optional().describe("Maximum results per page."),
@@ -3111,6 +3111,25 @@ function buildServer(key, transport, options = {}) {
3111
3111
  { text: z5.string().max(16e3), direction: z5.enum(["to_shortcodes", "to_emoji"]), shortcode_source: z5.enum(["cldr", "github", "slack", "discord"]) },
3112
3112
  (c, a, request) => c.emoji.convert(a.text, { ...request, direction: a.direction, shortcodeSource: a.shortcode_source })
3113
3113
  );
3114
+ tool(
3115
+ "currency",
3116
+ "Currency numeric code, names, symbols, decimal places and country references, all included in the ordinary lookup.",
3117
+ { code: z5.string().describe("ISO 4217 code, e.g. USD") },
3118
+ (c, a, request) => c.currency(a.code, request)
3119
+ );
3120
+ tool(
3121
+ "currency_rate",
3122
+ "Reference exchange rate between two currencies. Pass date for a past business day, amount to convert.",
3123
+ {
3124
+ base: z5.string().describe("Base currency ISO 4217 code, e.g. USD"),
3125
+ quote: z5.string().describe("Quote currency ISO 4217 code, e.g. EUR"),
3126
+ date: z5.string().optional().describe(
3127
+ "YYYY-MM-DD. Official rate for that business day. A weekend or holiday resolves to the last published day on or before it"
3128
+ ),
3129
+ amount: z5.number().optional().describe("Appends amount and converted, rounded to the quote currency minor-unit digits")
3130
+ },
3131
+ (c, a, request) => c.currency.rate(a.base, a.quote, { ...request, date: a.date, amount: a.amount })
3132
+ );
3114
3133
  registerDiscovery(server, operations, mode, API_VERSION);
3115
3134
  registerPreflight(server, parse, transport);
3116
3135
  registerTasks(server, parse, transport);
package/dist/http.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  buildServer,
4
4
  catalogMode
5
- } from "./chunk-75AQNY3K.js";
5
+ } from "./chunk-UV43PRQS.js";
6
6
 
7
7
  // src/http.ts
8
8
  import { createServer } from "http";
package/dist/registry.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  VERSION,
4
4
  buildServer
5
- } from "./chunk-75AQNY3K.js";
5
+ } from "./chunk-UV43PRQS.js";
6
6
  export {
7
7
  VERSION,
8
8
  buildServer
package/dist/stdio.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  buildServer,
4
4
  catalogMode
5
- } from "./chunk-75AQNY3K.js";
5
+ } from "./chunk-UV43PRQS.js";
6
6
 
7
7
  // src/stdio.ts
8
8
  import { serveStdio } from "@modelcontextprotocol/server/stdio";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parseapi-mcp",
3
- "version": "1.11.4",
3
+ "version": "1.12.0",
4
4
  "mcpName": "com.parseapi/mcp",
5
5
  "description": "Official ParseAPI MCP server. Look up places, addresses, company numbers, email, phone, weather, dates and more.",
6
6
  "keywords": [
@@ -50,7 +50,7 @@
50
50
  "dependencies": {
51
51
  "@modelcontextprotocol/node": "^2.0.0",
52
52
  "@modelcontextprotocol/server": "^2.0.0",
53
- "@parseapi/sdk": "^1.12.6",
53
+ "@parseapi/sdk": "^1.13.0",
54
54
  "zod": "^4.0.0"
55
55
  },
56
56
  "devDependencies": {