smart-web-mcp 0.5.8 → 0.5.11

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/CHANGELOG.md CHANGED
@@ -6,6 +6,26 @@ The format is based on Keep a Changelog[^1] and this project uses SemVer.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.5.11] - 2026-03-27
10
+
11
+ ### Changed
12
+
13
+ - Metadata verification now checks the routing guidance in `server.json` and `README.md` so future releases are less likely to drift away from the intended tool-selection contract
14
+
15
+ ## [0.5.10] - 2026-03-27
16
+
17
+ ### Changed
18
+
19
+ - `smartsearch`, `smartfetch`, and `smartcrawl` now publish clearer MCP titles, routing-oriented descriptions, and schema field descriptions so hosts can distinguish direct-URL fetches from search/crawl workflows more reliably
20
+ - The tool metadata now includes accurate read-only/open-world annotations, and the README plus registry metadata now document the intended routing: `smartfetch` for direct URLs, `smartsearch` for discovery, and `smartcrawl` for multi-page site traversal
21
+
22
+ ## [0.5.9] - 2026-03-26
23
+
24
+ ### Changed
25
+
26
+ - The Claude Code plugin wrapper is kept on purpose because it still provides marketplace discovery/installation and now exposes a single plugin-managed `settings_file` option instead of the old giant env block
27
+ - Contributor guidance now explicitly keeps provider tests fixture-driven so third-party title/markup drift does not break CI
28
+
9
29
  ## [0.5.8] - 2026-03-26
10
30
 
11
31
  ### Added
package/README.md CHANGED
@@ -7,9 +7,19 @@ One local MCP server for web search, page fetch, and site crawl.
7
7
  `smart-web` ships three tools in one stdio server:
8
8
 
9
9
  - `smartsearch`: fallback web search with optional site-crawl handoff
10
- - `smartfetch`: browser-aware fetch with target-specific normalization
10
+ - `smartfetch`: browser-aware direct-URL fetch with target-specific normalization
11
11
  - `smartcrawl`: site exploration for docs, boards, pagination, and scroll-heavy pages
12
12
 
13
+ ## Tool routing
14
+
15
+ Use the tools like this:
16
+
17
+ - `smartfetch` first when the user already gave a URL or shortlink
18
+ - `smartsearch` when the user gave a topic, keywords, or a `site:` query and you need discovery
19
+ - `smartcrawl` when you already know the site and need multiple relevant pages instead of one page
20
+
21
+ This routing mirrors MCP tool-design guidance: clear human-readable descriptions, schema field descriptions, and explicit tool behavior hints make host/tool selection more reliable.[^1][^2]
22
+
13
23
  - npm: `https://www.npmjs.com/package/smart-web-mcp`
14
24
  - MCP Registry: `io.github.rich-jojo/smart-web`
15
25
  - GitHub: `https://github.com/rich-jojo/smart-web`
@@ -30,6 +40,8 @@ Claude Code:
30
40
  claude mcp add smart-web -- npx -y smart-web-mcp
31
41
  ```
32
42
 
43
+ If you prefer Claude Code marketplace install/discovery, the repo also keeps a small Claude plugin wrapper. It is worth keeping even without custom hooks/skills because the plugin gives Claude-native marketplace distribution and a single optional `settings_file` user config instead of a long MCP env block.
44
+
33
45
  OpenCode:
34
46
 
35
47
  ```json
@@ -77,7 +89,7 @@ If you need a non-default path, set only one variable in the host config:
77
89
  }
78
90
  ```
79
91
 
80
- Environment variables are still supported as legacy overrides for compatibility, but the recommended steady-state setup is one `settings.json` file.[^1]
92
+ Environment variables are still supported as legacy overrides for compatibility, but the recommended steady-state setup is one `settings.json` file.[^3]
81
93
 
82
94
  Most users only need:
83
95
 
@@ -127,4 +139,6 @@ MIT
127
139
 
128
140
  ## References
129
141
 
130
- [^1]: VS Code MCP configuration reference documents `env` and `inputs` on the client side, which is why `smart-web` keeps env compatibility while moving its main runtime behavior into a single settings file.
142
+ [^1]: Model Context Protocol, "Tools" specification tool definitions may include a title, human-readable descriptions, JSON Schema input metadata, and tool annotations such as `readOnlyHint` and `openWorldHint`.
143
+ [^2]: Model Context Protocol Blog, "Tool Annotations as Risk Vocabulary: What Hints Can and Can't Do" (2026-03-16) — `title` is useful UI metadata, while behavior annotations should be accurate but treated as hints.
144
+ [^3]: VS Code MCP configuration reference documents `env` and `inputs` on the client side, which is why `smart-web` keeps env compatibility while moving its main runtime behavior into a single settings file.
package/dist/index.js CHANGED
@@ -12,18 +12,29 @@ const server = new McpServer({
12
12
  name: "smart-web",
13
13
  version: packageVersion,
14
14
  });
15
- server.tool("smartsearch", "Search the web with fallback engines. Uses Exa, then Brave, then self-hosted SearXNG, then DuckDuckGo HTML.", {
16
- query: z.string().min(1).describe("Web search query"),
17
- numResults: z.number().int().min(1).max(20).optional().describe("Number of search results to return"),
18
- type: z.enum(["auto", "fast", "deep"]).optional().describe("Search depth hint"),
19
- contextMaxCharacters: z.number().int().min(1000).max(20000).optional().describe("Maximum snippet/context size hint"),
20
- site_crawl: z.boolean().optional().describe("After search, hand off into smartcrawl when a crawl_url or site: operator is available"),
21
- crawl_url: z.string().optional().describe("Optional starting URL for the smartcrawl handoff"),
22
- crawl_mode: z.enum(["auto", "board", "docs"]).optional().describe("Traversal hint for the smartcrawl handoff"),
23
- crawl_limit: z.number().int().min(1).max(50).optional().describe("Maximum ranked crawl results to return in the handoff summary"),
24
- crawl_max_pages: z.number().int().min(1).max(20).optional().describe("Maximum number of pages to visit during the crawl handoff"),
25
- crawl_max_depth: z.number().int().min(0).max(3).optional().describe("Maximum recursive depth for the crawl handoff"),
26
- crawl_timeout_ms: z.number().int().min(3000).max(120000).optional().describe("Per-page timeout for the crawl handoff"),
15
+ server.registerTool("smartsearch", {
16
+ title: "Smart Search",
17
+ description: "Search the web when the user gave a topic, keywords, or a `site:` query instead of a specific URL. Use this for discovery first; if you already have a direct URL, use smartfetch instead. Can optionally hand off into smartcrawl for same-site exploration.",
18
+ inputSchema: {
19
+ query: z.string().min(1).describe("Search-engine style query. Use this when the user gave a topic or keywords rather than a direct URL."),
20
+ numResults: z.number().int().min(1).max(20).optional().describe("Number of search results to return"),
21
+ type: z.enum(["auto", "fast", "deep"]).optional().describe("Search depth hint"),
22
+ contextMaxCharacters: z.number().int().min(1000).max(20000).optional().describe("Maximum snippet/context size hint"),
23
+ site_crawl: z.boolean().optional().describe("After search, hand off into smartcrawl when a crawl_url or site: operator is available"),
24
+ crawl_url: z.string().optional().describe("Optional starting URL for the smartcrawl handoff"),
25
+ crawl_mode: z.enum(["auto", "board", "docs"]).optional().describe("Traversal hint for the smartcrawl handoff"),
26
+ crawl_limit: z.number().int().min(1).max(50).optional().describe("Maximum ranked crawl results to return in the handoff summary"),
27
+ crawl_max_pages: z.number().int().min(1).max(20).optional().describe("Maximum number of pages to visit during the crawl handoff"),
28
+ crawl_max_depth: z.number().int().min(0).max(3).optional().describe("Maximum recursive depth for the crawl handoff"),
29
+ crawl_timeout_ms: z.number().int().min(3000).max(120000).optional().describe("Per-page timeout for the crawl handoff"),
30
+ },
31
+ annotations: {
32
+ title: "Smart Search",
33
+ readOnlyHint: true,
34
+ destructiveHint: false,
35
+ idempotentHint: true,
36
+ openWorldHint: true,
37
+ },
27
38
  }, async ({ query, numResults, type, contextMaxCharacters, site_crawl, crawl_url, crawl_mode, crawl_limit, crawl_max_pages, crawl_max_depth, crawl_timeout_ms }) => {
28
39
  const output = await runSmartsearch({
29
40
  query,
@@ -43,20 +54,31 @@ server.tool("smartsearch", "Search the web with fallback engines. Uses Exa, then
43
54
  content: [{ type: "text", text: renderSmartsearch(output) }],
44
55
  };
45
56
  });
46
- server.tool("smartcrawl", "Explore a specific site with a browser, pagination, and scroll-aware traversal to gather relevant pages or posts.", {
47
- url: z.string().min(1).describe("Starting URL to explore"),
48
- query: z.string().optional().describe("Optional topic filter used to rank crawl results"),
49
- mode: z.enum(["auto", "board", "docs"]).optional().describe("Traversal hint for boards, docs sites, or automatic detection"),
50
- limit: z.number().int().min(1).max(50).optional().describe("Maximum number of ranked results to return"),
51
- max_pages: z.number().int().min(1).max(20).optional().describe("Maximum number of pages to visit during exploration"),
52
- max_depth: z.number().int().min(0).max(3).optional().describe("Maximum recursive depth from the starting URL"),
53
- include_patterns: z.array(z.string().min(1)).max(20).optional().describe("Optional regex or substring patterns for URLs to keep"),
54
- exclude_patterns: z.array(z.string().min(1)).max(20).optional().describe("Optional regex or substring patterns for URLs to skip"),
55
- same_origin_only: z.boolean().optional().describe("Restrict traversal to the starting origin while still surfacing external item links"),
56
- follow_pagination: z.boolean().optional().describe("Follow next or more-style pagination links during exploration"),
57
- scroll_steps: z.number().int().min(0).max(12).optional().describe("How many scroll attempts to use for scroll-driven pages"),
58
- timeout_ms: z.number().int().min(3000).max(120000).optional().describe("Crawl timeout budget per page"),
59
- format: z.enum(["json", "text", "markdown"]).optional().describe("Text rendering format for the human-readable content"),
57
+ server.registerTool("smartcrawl", {
58
+ title: "Smart Crawl",
59
+ description: "Traverse a known site when one page is not enough and you need multiple relevant docs pages, posts, or thread items. Start from a concrete site URL; if you need to discover the site first, use smartsearch, and if you only need one direct URL, use smartfetch.",
60
+ inputSchema: {
61
+ url: z.string().min(1).describe("Starting site or docs URL to explore. Use this when you need multiple pages from one site, not a single direct URL fetch."),
62
+ query: z.string().optional().describe("Optional topic filter used to rank crawl results"),
63
+ mode: z.enum(["auto", "board", "docs"]).optional().describe("Traversal hint for boards, docs sites, or automatic detection"),
64
+ limit: z.number().int().min(1).max(50).optional().describe("Maximum number of ranked results to return"),
65
+ max_pages: z.number().int().min(1).max(20).optional().describe("Maximum number of pages to visit during exploration"),
66
+ max_depth: z.number().int().min(0).max(3).optional().describe("Maximum recursive depth from the starting URL"),
67
+ include_patterns: z.array(z.string().min(1)).max(20).optional().describe("Optional regex or substring patterns for URLs to keep"),
68
+ exclude_patterns: z.array(z.string().min(1)).max(20).optional().describe("Optional regex or substring patterns for URLs to skip"),
69
+ same_origin_only: z.boolean().optional().describe("Restrict traversal to the starting origin while still surfacing external item links"),
70
+ follow_pagination: z.boolean().optional().describe("Follow next or more-style pagination links during exploration"),
71
+ scroll_steps: z.number().int().min(0).max(12).optional().describe("How many scroll attempts to use for scroll-driven pages"),
72
+ timeout_ms: z.number().int().min(3000).max(120000).optional().describe("Crawl timeout budget per page"),
73
+ format: z.enum(["json", "text", "markdown"]).optional().describe("Text rendering format for the human-readable content"),
74
+ },
75
+ annotations: {
76
+ title: "Smart Crawl",
77
+ readOnlyHint: true,
78
+ destructiveHint: false,
79
+ idempotentHint: true,
80
+ openWorldHint: true,
81
+ },
60
82
  }, async ({ url, query, mode, limit, max_pages, max_depth, include_patterns, exclude_patterns, same_origin_only, follow_pagination, scroll_steps, timeout_ms, format, }) => {
61
83
  const output = await runSmartcrawl({
62
84
  url,
@@ -83,13 +105,24 @@ server.tool("smartcrawl", "Explore a specific site with a browser, pagination, a
83
105
  ],
84
106
  };
85
107
  });
86
- server.tool("smartfetch", "Fetch a URL with browser-aware fallbacks. Uses impit first, then stealth Playwright when the page looks JS-rendered or blocked.", {
87
- url: z.string().min(1).describe("Target URL to fetch"),
88
- target: z.enum(["auto", "generic", "reddit_post", "x_post", "threads_post", "instagram_post", "telegram_post", "dcinside_post", "youtube_video", "naver_blog", "naver_cafe_post", "tistory_post", "velog_post", "hackernews_post", "linkedin_post"]).optional().describe("Content type hint"),
89
- timeout_ms: z.number().int().min(3000).max(120000).optional().describe("Fetch timeout in milliseconds"),
90
- force_dynamic: z.boolean().optional().describe("Skip light fetches and go straight to Playwright"),
91
- strict_schema: z.boolean().optional().describe("Return schema-safe fallback output when normalization breaks"),
92
- format: z.enum(["json", "text", "markdown"]).optional().describe("Text rendering format for the human-readable content"),
108
+ server.registerTool("smartfetch", {
109
+ title: "Smart Fetch",
110
+ description: "Fetch and normalize one known URL or shortlink. Use this first for direct user-supplied URLs, browser-rendered pages, social posts, and videos; do not use smartsearch when the user already provided the URL, and use smartcrawl only when you need multiple pages from the same site.",
111
+ inputSchema: {
112
+ url: z.string().min(1).describe("Direct URL or shortlink to fetch. Prefer this tool when the user already supplied a URL."),
113
+ target: z.enum(["auto", "generic", "reddit_post", "x_post", "threads_post", "instagram_post", "telegram_post", "dcinside_post", "youtube_video", "naver_blog", "naver_cafe_post", "tistory_post", "velog_post", "hackernews_post", "linkedin_post"]).optional().describe("Content type hint"),
114
+ timeout_ms: z.number().int().min(3000).max(120000).optional().describe("Fetch timeout in milliseconds"),
115
+ force_dynamic: z.boolean().optional().describe("Skip light fetches and go straight to Playwright"),
116
+ strict_schema: z.boolean().optional().describe("Return schema-safe fallback output when normalization breaks"),
117
+ format: z.enum(["json", "text", "markdown"]).optional().describe("Text rendering format for the human-readable content"),
118
+ },
119
+ annotations: {
120
+ title: "Smart Fetch",
121
+ readOnlyHint: true,
122
+ destructiveHint: false,
123
+ idempotentHint: true,
124
+ openWorldHint: true,
125
+ },
93
126
  }, async ({ url, target, timeout_ms, force_dynamic, strict_schema, format }) => {
94
127
  const output = await runSmartfetch({
95
128
  url,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAA;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAA;AAChF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAC5E,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACjE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AACjE,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEpE,MAAM,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,OAAiB,CAAA;AAEtH,MAAM,MAAM,GAAG,IAAI,SAAS,CAAC;IAC3B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,cAAc;CACxB,CAAC,CAAA;AAEF,MAAM,CAAC,IAAI,CACT,aAAa,EACb,6GAA6G,EAC7G;IACE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,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AI,CAAC,QAAQ,CAAC,uBAAuB,CAAC,EAAE,CAAC;QAC3C,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC,CAAA;QAC3B,OAAM;IACR,CAAC;IACD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAA;IACjD,IAAI,SAAS,KAAK,CAAC,CAAC,EAAE,CAAC;QACrB,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,CAAA;QACrC,MAAM,IAAI,GAAG,SAAS,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,EAAE,CAAA;QAClF,MAAM,MAAM,GAAG,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAA;QAC3D,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;QACxB,OAAM;IACR,CAAC;IACD,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAA;IAC5C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;AACjC,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;IACpB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;AACjB,CAAC,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "smart-web-mcp",
3
3
  "mcpName": "io.github.rich-jojo/smart-web",
4
- "version": "0.5.8",
4
+ "version": "0.5.11",
5
5
  "packageManager": "npm@10.8.2",
6
- "description": "Portable MCP server that provides smart web search, fetch, and crawl tools.",
6
+ "description": "Portable MCP server for web search, direct-URL fetch, and site crawling.",
7
7
  "homepage": "https://github.com/rich-jojo/smart-web",
8
8
  "bugs": {
9
9
  "url": "https://github.com/rich-jojo/smart-web/issues"