Add ScrapeGraphAI registry support with PyPI and Smithery #886
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds support for ScrapeGraphAI as a new registry type, with support for both PyPI and Smithery as registry backends.
Changes
Code Changes
RegistryTypeScrapeGraphAIconstant inpkg/model/constants.goRegistryURLSmitheryconstant for Smithery registry supportinternal/validators/registries/scrapegraphai.govalidator with support for:mcp-name:in package READMEmcpNameinpackage.jsoninternal/validators/package.gopkg/model/types.goSchema & API Updates
scrapegraphaito registry type examples inserver.schema.jsonscrapegraphaito registry type examples inopenapi.yamlhttps://smithery.aito registry base URL examples in both schemasDocumentation
package-types.mdxwith examples for both PyPI and SmitheryRegistry Support
ScrapeGraphAI packages can now be published using:
PyPI (
https://pypi.org- default):mcp-name: <server-name>in package READMESmithery (
https://smithery.ai):mcpNamefield inpackage.jsonDirect npm (
https://registry.npmjs.org):Example Usage
PyPI:
{ "registryType": "scrapegraphai", "registryBaseUrl": "https://pypi.org", "identifier": "web-scraper-mcp", "version": "1.0.0" }Smithery:
{ "registryType": "scrapegraphai", "registryBaseUrl": "https://smithery.ai", "identifier": "@ScrapeGraphAI/scrapegraph-mcp", "version": "1.0.0" }Testing
The validator follows the same patterns as existing registry validators (npm, pypi, etc.) and includes proper error handling and validation logic.
Related