Skip to content

feat(package): add mcpName field for MCP Registry ownership verification#1432

Merged
pavelfeldman merged 2 commits intomicrosoft:mainfrom
wtolotti:feat/add-mcpname-mcp-registry
Mar 9, 2026
Merged

feat(package): add mcpName field for MCP Registry ownership verification#1432
pavelfeldman merged 2 commits intomicrosoft:mainfrom
wtolotti:feat/add-mcpname-mcp-registry

Conversation

@wtolotti
Copy link
Copy Markdown
Contributor

@wtolotti wtolotti commented Mar 2, 2026

The MCP Registry verifies npm package ownership by checking for an mcpName field in package.json. Without it, publishing com.microsoft/playwright-mcp fails with:

NPM package '@playwright/mcp' is missing required 'mcpName' field.
Add this to your package.json: "mcpName": "com.microsoft/playwright-mcp"

This one-line addition allows the registry to validate that @playwright/mcp belongs to com.microsoft/playwright-mcp.

"name": "@playwright/mcp",
"version": "0.0.68",
"description": "Playwright Tools for MCP",
"mcpName": "com.microsoft/playwright-mcp",
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.

I think this should be io.github.microsoft/playwright-mcp according to the guide.

Copy link
Copy Markdown
Contributor Author

@wtolotti wtolotti Mar 7, 2026

Choose a reason for hiding this comment

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

Great, I've just updated it!

@pavelfeldman pavelfeldman merged commit 55622bf into microsoft:main Mar 9, 2026
1 check passed
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.

7 participants