Skip to content

AI: Spectrum Web Components MCP#6019

Closed
Rajdeepc wants to merge 2 commits intomainfrom
rajdeep/swc-mcp
Closed

AI: Spectrum Web Components MCP#6019
Rajdeepc wants to merge 2 commits intomainfrom
rajdeep/swc-mcp

Conversation

@Rajdeepc
Copy link
Copy Markdown
Contributor

Description

This PR adds a GETTING-STARTED.md guide so colleagues and customers can set up and use the MCP with minimal context. The main README stays the technical reference; the new doc is the single entry point for “how do I use this MCP?”

How to verify

  • Open GETTING-STARTED.md and follow the steps; they should match your environment.
  • Confirm the README link to GETTING-STARTED.md works and the README still reads correctly.

@Rajdeepc Rajdeepc self-assigned this Feb 12, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 12, 2026

⚠️ No Changeset found

Latest commit: d10aae3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Comment on lines +3 to +10
"version": "0.1.0",
"description": "MCP server exposing Spectrum Web Components (list components, get component doc) from Custom Elements Manifest.",
"license": "Apache-2.0",
"type": "module",
"bin": {
"swc-mcp": "./dist/index.js"
},
"private": true,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsonc/sort-keys> reported by reviewdog 🐶
Expected object keys to be in specified order. 'private' should be before 'bin'.

Suggested change
"version": "0.1.0",
"description": "MCP server exposing Spectrum Web Components (list components, get component doc) from Custom Elements Manifest.",
"license": "Apache-2.0",
"type": "module",
"bin": {
"swc-mcp": "./dist/index.js"
},
"private": true,
"version": "0.1.0",
"private": true,
"description": "MCP server exposing Spectrum Web Components (list components, get component doc) from Custom Elements Manifest.",
"license": "Apache-2.0",
"type": "module",
"bin": {
"swc-mcp": "./dist/index.js"
},

Comment on lines +13 to +15
"build": "tsc",
"start": "node dist/index.js",
"prepare": "yarn build"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsonc/sort-keys> reported by reviewdog 🐶
Expected object keys to be in ascending order. 'prepare' should be before 'start'.

Suggested change
"build": "tsc",
"start": "node dist/index.js",
"prepare": "yarn build"
"build": "tsc",
"prepare": "yarn build",
"start": "node dist/index.js"

Comment on lines +11 to +27
"main": "./src/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"prepare": "yarn build"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.26.0",
"zod": "^4.0.0"
},
"devDependencies": {
"typescript": "5.9.2"
},
"files": [
"dist",
"README.md"
],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsonc/sort-keys> reported by reviewdog 🐶
Expected object keys to be in specified order. 'files' should be before 'devDependencies'.

Suggested change
"main": "./src/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"prepare": "yarn build"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.26.0",
"zod": "^4.0.0"
},
"devDependencies": {
"typescript": "5.9.2"
},
"files": [
"dist",
"README.md"
],
"main": "./src/index.js",
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"prepare": "yarn build"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.26.0",
"zod": "^4.0.0"
},
"devDependencies": {
"typescript": "5.9.2"
},

Comment on lines +10 to +32
"private": true,
"main": "./src/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"prepare": "yarn build"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.26.0",
"zod": "^4.0.0"
},
"devDependencies": {
"typescript": "5.9.2"
},
"files": [
"dist",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/adobe/spectrum-web-components.git",
"directory": "1st-gen/tools/mcp-server"
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsonc/sort-keys> reported by reviewdog 🐶
Expected object keys to be in specified order. 'repository' should be before 'files'.

Suggested change
"private": true,
"main": "./src/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"prepare": "yarn build"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.26.0",
"zod": "^4.0.0"
},
"devDependencies": {
"typescript": "5.9.2"
},
"files": [
"dist",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/adobe/spectrum-web-components.git",
"directory": "1st-gen/tools/mcp-server"
},
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/adobe/spectrum-web-components.git",
"directory": "1st-gen/tools/mcp-server"
},
"main": "./src/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"prepare": "yarn build"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.26.0",
"zod": "^4.0.0"
},
"devDependencies": {
"typescript": "5.9.2"
},
"files": [
"dist",
"README.md"
],

Comment on lines +28 to +31
"repository": {
"type": "git",
"url": "https://github.com/adobe/spectrum-web-components.git",
"directory": "1st-gen/tools/mcp-server"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsonc/sort-keys> reported by reviewdog 🐶
Expected object keys to be in ascending order. 'directory' should be before 'url'.

Suggested change
"repository": {
"type": "git",
"url": "https://github.com/adobe/spectrum-web-components.git",
"directory": "1st-gen/tools/mcp-server"
"repository": {
"directory": "1st-gen/tools/mcp-server",
"type": "git",
"url": "https://github.com/adobe/spectrum-web-components.git"

Comment on lines +2 to +4
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsonc/sort-keys> reported by reviewdog 🐶
Expected object keys to be in ascending order. 'module' should be before 'target'.

Suggested change
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"compilerOptions": {
"module": "NodeNext",
"target": "ES2022",

Comment on lines +7 to +9
"rootDir": "./src",
"strict": true,
"skipLibCheck": true,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsonc/sort-keys> reported by reviewdog 🐶
Expected object keys to be in ascending order. 'skipLibCheck' should be before 'strict'.

Suggested change
"rootDir": "./src",
"strict": true,
"skipLibCheck": true,
"rootDir": "./src",
"skipLibCheck": true,
"strict": true,

Comment on lines +2 to +10
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"skipLibCheck": true,
"declaration": true,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsonc/sort-keys> reported by reviewdog 🐶
Expected object keys to be in ascending order. 'declaration' should be before 'skipLibCheck'.

Suggested change
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"skipLibCheck": true,
"declaration": true,
"compilerOptions": {
"declaration": true,
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"skipLibCheck": true,

Comment on lines +10 to +12
"declaration": true,
"sourceMap": true,
"esModuleInterop": true,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsonc/sort-keys> reported by reviewdog 🐶
Expected object keys to be in ascending order. 'esModuleInterop' should be before 'sourceMap'.

Suggested change
"declaration": true,
"sourceMap": true,
"esModuleInterop": true,
"declaration": true,
"esModuleInterop": true,
"sourceMap": true,

Comment on lines +14 to +16
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "dist"]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsonc/sort-keys> reported by reviewdog 🐶
Expected object keys to be in ascending order. 'exclude' should be before 'include'.

Suggested change
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "dist"]
},
"exclude": ["node_modules", "dist"],
"include": ["src/**/*.ts"]

@Rajdeepc Rajdeepc closed this Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant