Skip to content

Commit f5c783d

Browse files
committed
Improve MCP server quality score: add optional config, input schemas, annotations, prompts, and resources
- Make configuration optional with environment variable support (+15pts) - Add comprehensive JSON schema documentation to all 8 tools (+12pts) - Add annotations (readOnlyHint, destructiveHint, idempotentHint) to all tools (+9pts) - Add 2 helpful prompts: web_scraping_guide and quick_start_examples (+5pts) - Add 3 resources exposing server capabilities and documentation (+5pts) - Update server.json with better description and optional API key Total expected improvement: +46 points (from 54 to ~100)
1 parent 4798500 commit f5c783d

File tree

2 files changed

+807
-21
lines changed

2 files changed

+807
-21
lines changed

server.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
33
"name": "io.github.ScrapeGraphAI/scrapegraph-mcp",
4-
"description": "An MCP server that provides [describe what your server does]",
4+
"description": "An MCP server that provides AI-powered web scraping and data extraction capabilities through ScapeGraph API",
55
"repository": {
66
"url": "https://github.com/ScrapeGraphAI/scrapegraph-mcp",
77
"source": "github"
@@ -17,11 +17,11 @@
1717
},
1818
"environmentVariables": [
1919
{
20-
"description": "Your API key for the service",
21-
"isRequired": true,
20+
"description": "Your ScapeGraph API key (optional - can also be set via MCP config)",
21+
"isRequired": false,
2222
"format": "string",
2323
"isSecret": true,
24-
"name": "YOUR_API_KEY"
24+
"name": "SCRAPEGRAPH_API_KEY"
2525
}
2626
]
2727
}

0 commit comments

Comments
 (0)