ebay-mcp 1.18.2 → 2.0.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.
Files changed (44) hide show
  1. package/README.md +34 -16
  2. package/build/api/account-management/account.js +2 -2
  3. package/build/api/account-management/accountV2.js +0 -6
  4. package/build/api/account-management/finances.js +7 -5
  5. package/build/api/client/ebayApiClient.js +111 -10
  6. package/build/api/client/signEbayRequest.js +124 -0
  7. package/build/api/communication/feedback.js +4 -4
  8. package/build/api/developer/developer.js +43 -7
  9. package/build/api/ebaySellerApi.js +0 -4
  10. package/build/api/marketing-and-promotions/campaigns.js +0 -34
  11. package/build/api/order-management/dispute.js +29 -20
  12. package/build/api/order-management/fulfillment.js +2 -1
  13. package/build/api/other/edelivery.js +3 -3
  14. package/build/api/other/translation.js +1 -1
  15. package/build/config/environment.js +31 -3
  16. package/build/schemas/account-management/account.js +1 -1
  17. package/build/schemas/account-management/accountV2.js +3 -4
  18. package/build/schemas/communication/messages.js +2 -2
  19. package/build/schemas/marketing/campaigns.js +0 -21
  20. package/build/schemas/other/otherApis.js +2 -85
  21. package/build/scripts/devSync.js +75 -225
  22. package/build/scripts/specCoverage.js +78 -0
  23. package/build/scripts/specDownload.js +42 -0
  24. package/build/scripts/specRefs.js +2 -3
  25. package/build/scripts/specSources.js +4 -6
  26. package/build/scripts/specTypeNames.js +23 -0
  27. package/build/skills/content.js +2 -2
  28. package/build/tools/categories/account.js +3 -3
  29. package/build/tools/categories/communication.js +5 -5
  30. package/build/tools/categories/developer.js +1 -1
  31. package/build/tools/categories/finances.js +2 -2
  32. package/build/tools/categories/marketing.js +0 -16
  33. package/build/tools/categories/other.js +3 -17
  34. package/build/types/ebay.js +0 -1
  35. package/build/types/ebayEnums.js +0 -40
  36. package/build/ui/card.html +23 -23
  37. package/build/ui/chart.html +22 -22
  38. package/build/ui/stat.html +23 -23
  39. package/build/ui/table.html +21 -21
  40. package/build/utils/communication/feedback.js +3 -3
  41. package/build/utils/errors.js +1 -0
  42. package/package.json +5 -5
  43. package/build/api/other/compliance.js +0 -60
  44. package/build/utils/other/compliance.js +0 -56
@@ -34,8 +34,8 @@ const sortSchema = z
34
34
  description: 'Sort order for results',
35
35
  })
36
36
  .optional();
37
- /** Schema for getAwaitingFeedback input. */
38
- export const getAwaitingFeedbackSchema = z.object({
37
+ /** Schema for getItemsAwaitingFeedback input. */
38
+ export const getItemsAwaitingFeedbackSchema = z.object({
39
39
  filter: filterSchema,
40
40
  limit: limitSchema,
41
41
  offset: offsetSchema,
@@ -100,7 +100,7 @@ export const getFeedbackRatingSummarySchema = z.object({
100
100
  }),
101
101
  });
102
102
  /** Schema for leaveFeedback input. */
103
- export const leaveFeedbackForBuyerSchema = z.object({
103
+ export const leaveFeedbackSchema = z.object({
104
104
  commentText: z
105
105
  .string({
106
106
  invalid_type_error: 'commentText must be a string',
@@ -41,6 +41,7 @@ const KIND_IS_GUIDANCE = {
41
41
  tokenAcquisition: true,
42
42
  missingAccessToken: true,
43
43
  tokenRefresh: true,
44
+ signing: true,
44
45
  remoteRateLimit: true,
45
46
  httpStatus: false,
46
47
  transport: false,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ebay-mcp",
3
- "version": "1.18.2",
4
- "description": "Model Context Protocol (MCP) server that exposes 100% of eBay's Sell APIs (384 tools across 360 endpoints) to AI assistants like Claude, Cursor, and Cline, covering inventory, order fulfillment, marketing, analytics, and developer tools with OAuth authentication and refresh-token support.",
3
+ "version": "2.0.0",
4
+ "description": "Model Context Protocol (MCP) server that exposes 100% of the eBay Sell, Commerce and Developer APIs it tracks (380 tools across 356 endpoints) to AI assistants like Claude, Cursor, and Cline, covering inventory, order fulfillment, marketing, analytics, and developer tools with OAuth authentication and refresh-token support.",
5
5
  "type": "module",
6
6
  "main": "build/index.js",
7
7
  "types": "build/index.d.ts",
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@modelcontextprotocol/ext-apps": "1.7.4",
57
- "@modelcontextprotocol/sdk": "1.29.0",
57
+ "@modelcontextprotocol/sdk": "1.32.1",
58
58
  "chalk": "^5.6.2",
59
59
  "cors": "^2.8.6",
60
60
  "dotenv": "^17.4.2",
@@ -93,10 +93,10 @@
93
93
  "typescript": "^5.9.3",
94
94
  "vite": "^7.3.5",
95
95
  "vite-plugin-singlefile": "2.3.3",
96
- "vitest": "^4.1.9"
96
+ "vitest": "^4.1.12"
97
97
  },
98
98
  "engines": {
99
- "node": ">=20.0.0"
99
+ "node": ">=24"
100
100
  },
101
101
  "scripts": {
102
102
  "build": "tsc && tsc-alias && pnpm run build:mcp-apps",
@@ -1,60 +0,0 @@
1
- import { EbayApiError } from '../../api/shared/request.js';
2
- import { Effect } from 'effect';
3
- /**
4
- * eBay decommissioned the Sell Compliance API on 2026-03-30 with no API
5
- * replacement. Seller Hub → Performance → Issue Resolution Center is the UI path.
6
- *
7
- * @see https://developer.ebay.com/develop/guides/api-deprecation-status
8
- */
9
- const COMPLIANCE_API_DECOMMISSIONED_MESSAGE = 'eBay decommissioned the Sell Compliance API on 2026-03-30. There is no API equivalent; use Seller Hub → Performance → Issue Resolution Center instead.';
10
- const failDecommissioned = (path) => Effect.fail(new EbayApiError({
11
- method: 'GET',
12
- path,
13
- cause: new Error(COMPLIANCE_API_DECOMMISSIONED_MESSAGE),
14
- }));
15
- /** Clear error copy exported for tests and callers that match on the message. */
16
- export { COMPLIANCE_API_DECOMMISSIONED_MESSAGE };
17
- /** Compliance API - listing policy violation checks (decommissioned by eBay). */
18
- export class ComplianceApi {
19
- basePath = '/sell/compliance/v1';
20
- constructor(_client) {
21
- // Client is unused: eBay decommissioned this API, so methods never call the network.
22
- void _client;
23
- }
24
- /**
25
- * Always fails: eBay decommissioned the Sell Compliance API on 2026-03-30.
26
- *
27
- * @param _input - Ignored; retained so existing call sites type-check.
28
- * @returns An Effect that always fails with a clear decommission message.
29
- *
30
- * @example
31
- * ```ts
32
- * // Rejects with COMPLIANCE_API_DECOMMISSIONED_MESSAGE — no network call.
33
- * await Effect.runPromise(complianceApi.getListingViolations({}));
34
- * ```
35
- *
36
- * @see https://developer.ebay.com/api-docs/sell/compliance/resources/listing_violation/methods/getListingViolations
37
- */
38
- getListingViolations = (_input = {}) => {
39
- void _input;
40
- return failDecommissioned(`${this.basePath}/listing_violation`);
41
- };
42
- /**
43
- * Always fails: eBay decommissioned the Sell Compliance API on 2026-03-30.
44
- *
45
- * @param _input - Ignored; retained so existing call sites type-check.
46
- * @returns An Effect that always fails with a clear decommission message.
47
- *
48
- * @example
49
- * ```ts
50
- * // Rejects with COMPLIANCE_API_DECOMMISSIONED_MESSAGE — no network call.
51
- * await Effect.runPromise(complianceApi.getListingViolationsSummary({}));
52
- * ```
53
- *
54
- * @see https://developer.ebay.com/api-docs/sell/compliance/resources/listing_violation_summary/methods/getListingViolationsSummary
55
- */
56
- getListingViolationsSummary = (_input = {}) => {
57
- void _input;
58
- return failDecommissioned(`${this.basePath}/listing_violation_summary`);
59
- };
60
- }
@@ -1,56 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * Zod schemas for Compliance API input validation
4
- * Based on: src/api/other/compliance.ts
5
- * OpenAPI spec: sell_compliance_v1_oas3.json
6
- * Types from: src/types/sell_compliance_v1_oas3.ts
7
- */
8
- // Reusable schema for complianceType parameter
9
- const complianceTypeSchema = z
10
- .string({
11
- invalid_type_error: 'complianceType must be a string',
12
- description: 'Compliance type(s) to filter violations (e.g., ASPECTS_ADOPTION, HTTPS, OUTSIDE_EBAY_BUYING_AND_SELLING, RETURNS_POLICY)',
13
- })
14
- .optional();
15
- // Reusable schema for offset parameter
16
- const offsetSchema = z
17
- .number({
18
- invalid_type_error: 'offset must be a number',
19
- description: 'Number of items to skip (zero-based index)',
20
- })
21
- .int()
22
- .nonnegative()
23
- .optional();
24
- // Reusable schema for limit parameter
25
- const limitSchema = z
26
- .number({
27
- invalid_type_error: 'limit must be a number',
28
- description: 'Maximum number of items to return (default: 100, max: 200)',
29
- })
30
- .int()
31
- .positive()
32
- .optional();
33
- /**
34
- * Schema for getListingViolations method
35
- * Endpoint: GET /listing_violation
36
- * Query: complianceType, offset, limit, filter
37
- */
38
- export const getListingViolationsSchema = z.object({
39
- complianceType: complianceTypeSchema,
40
- offset: offsetSchema,
41
- limit: limitSchema,
42
- filter: z
43
- .string({
44
- invalid_type_error: 'filter must be a string',
45
- description: 'Filter by compliance state (e.g., complianceState:{OUT_OF_COMPLIANCE})',
46
- })
47
- .optional(),
48
- });
49
- /**
50
- * Schema for getListingViolationsSummary method
51
- * Endpoint: GET /listing_violation_summary
52
- * Query: complianceType
53
- */
54
- export const getListingViolationsSummarySchema = z.object({
55
- complianceType: complianceTypeSchema,
56
- });