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 +5 -5
- package/build/config/environment.js +2 -2
- package/build/scripts/buildMcpApps.js +1 -1
- package/build/skills/content.js +1 -1
- package/package.json +4 -4
- /package/{public → assets}/icons/1024x1024.png +0 -0
- /package/{public → assets}/icons/128x128.png +0 -0
- /package/{public → assets}/icons/16x16.png +0 -0
- /package/{public → assets}/icons/256x256.png +0 -0
- /package/{public → assets}/icons/32x32.png +0 -0
- /package/{public → assets}/icons/48x48.png +0 -0
- /package/{public → assets}/icons/512x512.png +0 -0
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="
|
|
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
|
-

|
|
370
370
|
|
|
371
371
|
**Step 2** — In your app's **User Tokens** settings, copy the **RuName** (eBay Redirect URL):
|
|
372
372
|
|
|
373
|
-

|
|
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
|
-

|
|
378
378
|
|
|
379
379
|
**Step 4** — Paste the authorization code from the callback URL when prompted:
|
|
380
380
|
|
|
381
|
-

|
|
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(`../../
|
|
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
|
|
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) {
|
package/build/skills/content.js
CHANGED
|
@@ -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
|
|
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.
|
|
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
|
-
"
|
|
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 \"
|
|
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
|