ebay-mcp 2.0.4 → 2.0.5

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <!-- Keywords: eBay MCP server, eBay Model Context Protocol, eBay API for AI assistants, eBay Sell API, Claude eBay integration, Cursor eBay, eBay inventory automation, eBay order management AI, eBay OAuth, eBay developer tools, MCP server for eBay -->
2
2
 
3
3
  <p align="center">
4
- <a href="https://github.com/YosefHayim/ebay-mcp"><img src="public/ebay-mcp-hero.png" alt="eBay MCP Server — connect Claude, Cursor, and any AI assistant to eBay's Sell APIs with one command (npm run setup)" width="820" /></a>
4
+ <a href="https://github.com/YosefHayim/ebay-mcp"><img src=".github/readme/ebay-mcp-hero.png" alt="eBay MCP Server — connect Claude, Cursor, and any AI assistant to eBay's Sell APIs with one command (npm run setup)" width="820" /></a>
5
5
  </p>
6
6
 
7
7
  <p align="center">
@@ -366,19 +366,19 @@ The setup wizard (`npm run setup`) handles OAuth automatically. Here's where to
366
366
 
367
367
  **Step 1** — In the [Developer Portal](https://developer.ebay.com/my/keys), copy your **App ID (Client ID)** and **Cert ID (Client Secret)**:
368
368
 
369
- ![Step 1 - Copy Client ID and Client Secret from the eBay Developer Portal](public/screenshot-guides/STEP%20-%201%20-%20COPY%20CLIENT%20ID%20AND%20CLIENT%20SECRET%20TO%20ENV%20FILE.png)
369
+ ![Step 1 - Copy Client ID and Client Secret from the eBay Developer Portal](.github/readme/setup-step-1-copy-client-id-and-secret.png)
370
370
 
371
371
  **Step 2** — In your app's **User Tokens** settings, copy the **RuName** (eBay Redirect URL):
372
372
 
373
- ![Step 2 - Copy the RuName redirect URL from eBay sign-in settings](public/screenshot-guides/STEP%20-%202%20-%20COPY%20REDIRECT%20URL.png)
373
+ ![Step 2 - Copy the RuName redirect URL from eBay sign-in settings](.github/readme/setup-step-2-copy-redirect-url.png)
374
374
 
375
375
  **Step 3** — Run `npm run setup`. It opens your browser for OAuth login and guides you through eBay sign-in:
376
376
 
377
- ![Step 3 - Sign in to eBay during the OAuth flow started by npm run setup](public/screenshot-guides/STEP%203%20-%20RUN%20COMMAND%20NPM%20RUN%20SETUP%20AND%20PREFORM%20OAUTH%20LOGIN.png)
377
+ ![Step 3 - Sign in to eBay during the OAuth flow started by npm run setup](.github/readme/setup-step-3-run-setup-and-oauth-login.png)
378
378
 
379
379
  **Step 4** — Paste the authorization code from the callback URL when prompted:
380
380
 
381
- ![Step 4 - Paste the authorization code into the eBay MCP setup wizard](public/screenshot-guides/STEP%20-%204%20-%20PASTE%20INTO%20THE%20SETUP%20WIZARD.png)
381
+ ![Step 4 - Paste the authorization code into the eBay MCP setup wizard](.github/readme/setup-step-4-paste-into-setup-wizard.png)
382
382
 
383
383
  The wizard exchanges the code for tokens, saves them, and configures your MCP client. You now have user-token authentication (10k–50k requests/day instead of the default 1k/day).
384
384
 
@@ -478,10 +478,10 @@ environment, scopes, state) => {
478
478
  return `${authBase}/oauth2/authorize?${params.toString()}&scope=${scopeList}`;
479
479
  };
480
480
  const iconUrl = (size) => {
481
- const url = new URL(`../../public/icons/${size}.png`, import.meta.url);
481
+ const url = new URL(`../../assets/icons/${size}.png`, import.meta.url);
482
482
  const path = fileURLToPath(url);
483
483
  if (!existsSync(path)) {
484
- writeConfigDiagnostic(`Icon not found at ${path}. Ensure public/icons is included in the package.`);
484
+ writeConfigDiagnostic(`Icon not found at ${path}. Ensure assets/icons is included in the package.`);
485
485
  }
486
486
  return url.toString();
487
487
  };
@@ -20,7 +20,7 @@ import { uiArchetypes } from '../tools/ui/archetypes.js';
20
20
  import { serverLogger } from '../utils/logger.js';
21
21
  const scriptsDir = path.dirname(fileURLToPath(import.meta.url));
22
22
  const repoRoot = path.resolve(scriptsDir, '../..');
23
- const mcpAppsDir = path.resolve(repoRoot, 'mcp-apps');
23
+ const mcpAppsDir = path.resolve(repoRoot, 'src', 'mcp-apps');
24
24
  const outDir = path.resolve(repoRoot, 'build', 'ui');
25
25
  /** Vite config for a single archetype's single-page, fully-inlined build. */
26
26
  function configFor(archetype, clean) {
@@ -108,7 +108,7 @@ export const buildContributingDoc = (snapshot) => ({
108
108
  heading: 'Validation (run before a PR)',
109
109
  body: [
110
110
  '```bash',
111
- 'pnpm check # tsc --noEmit (src + mcp-apps) + biome check (must pass)',
111
+ 'pnpm check # tsc --noEmit (src, including src/mcp-apps) + biome check (must pass)',
112
112
  'pnpm test # vitest run',
113
113
  'pnpm build # tsc + tsc-alias + MCP Apps views → build/',
114
114
  '```',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ebay-mcp",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Model Context Protocol (MCP) server that exposes 100% of the eBay Sell, Commerce and Developer APIs it tracks (379 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",
@@ -41,7 +41,7 @@
41
41
  "build/types/ebayEnums.js",
42
42
  "build/index.d.ts",
43
43
  "build/serverHttp.d.ts",
44
- "public/icons/*.png",
44
+ "assets/icons/*.png",
45
45
  "README.md"
46
46
  ],
47
47
  "repository": {
@@ -112,11 +112,11 @@
112
112
  "sync": "tsx src/scripts/devSync.ts",
113
113
  "diagnose": "node build/scripts/diagnostics.js",
114
114
  "typecheck": "tsc --noEmit --incremental --tsBuildInfoFile node_modules/.cache/tsc/src.tsbuildinfo",
115
- "typecheck:mcp-apps": "tsc -p mcp-apps/tsconfig.json --noEmit",
115
+ "typecheck:mcp-apps": "tsc -p src/mcp-apps/tsconfig.json --noEmit",
116
116
  "check": "turbo run lint typecheck typecheck:mcp-apps test build --output-logs=errors-only",
117
117
  "check:ci": "biome ci .",
118
118
  "verify": "pnpm run check:ci && pnpm run typecheck && pnpm run typecheck:mcp-apps && pnpm run test && pnpm run build",
119
- "fix": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true \"{src,mcp-apps}/**/*.{ts,tsx,js,json,md,css,html}\"",
119
+ "fix": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true \"src/**/*.{ts,tsx,js,json,md,css,html}\"",
120
120
  "lint": "biome check .",
121
121
  "lint:fix": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true .",
122
122
  "format": "biome format --write ."
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes