ask-web-fetch-mcp 0.1.0 → 0.3.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +27 -0
- data/lib/ask/web_fetch/mcp/version.rb +1 -1
- data/lib/ask/web_fetch/mcp.rb +6 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3f10399064540031994a014092f5f13fd31131dd8a1e86eef566d2506e001c0
|
|
4
|
+
data.tar.gz: 9026785d083bbd511c48304fa869d8efb74f835b8602b95c896b5b086c6a591a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dea189f34df55f84339f6ab4f244665e2c0e1e978051788476a8ce79f5fc7e4b85d042d49cb6f06f5fd114b8035d72ecfe22c1a5c06504fc095e93d3c785f0b2
|
|
7
|
+
data.tar.gz: 7091d8b1ed55007f500759c2653858f9f96b87504948a8c4d88f7a656aa6f1dc6ef4f588dca83bd1b5bf5652c7cc17a9ee36776153cd8420e93bff78d532b305
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
## [0.3.0] — 2026-08-08
|
|
2
|
+
|
|
3
|
+
### Changed
|
|
4
|
+
|
|
5
|
+
- `ask-web-fetch` floor raised to `>= 0.4` for the content-pruning pipeline
|
|
6
|
+
and the Browser backend. The server exposes the tool unchanged; set
|
|
7
|
+
`ASK_WEB_FETCH_CDP_URL` (e.g. `http://127.0.0.1:9222`) in the server's
|
|
8
|
+
environment to fetch Cloudflare-gated pages through an already-running
|
|
9
|
+
Chrome, and `ASK_WEB_FETCH_CHROME_PATH`/`ASK_WEB_FETCH_PROFILE` to tune
|
|
10
|
+
the launched-browser mode.
|
|
11
|
+
|
|
12
|
+
## [0.2.0] — 2026-08-04
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- Subprocess integration test suite (`test/server_test.rb`) driving the
|
|
17
|
+
server end-to-end with `Ask::MCP::Client` over a real stdio subprocess,
|
|
18
|
+
using a stub backend so no network is involved: stateless negotiation,
|
|
19
|
+
tool listing, tool calls, `max_chars` truncation, and unknown-tool errors.
|
|
20
|
+
- The server now reports its own gem version in the MCP `serverInfo`
|
|
21
|
+
handshake (via `ask-mcp >= 0.4.3`), instead of ask-mcp's version.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- `ask-mcp` floor raised to `>= 0.4.3` for the serverInfo version
|
|
26
|
+
passthrough.
|
|
27
|
+
|
|
1
28
|
## [0.1.0] — 2026-08-04
|
|
2
29
|
|
|
3
30
|
### Added
|
data/lib/ask/web_fetch/mcp.rb
CHANGED
|
@@ -23,20 +23,24 @@ module Ask
|
|
|
23
23
|
#
|
|
24
24
|
# The server listens for JSON-RPC messages on stdin and writes
|
|
25
25
|
# responses to stdout — the standard MCP stdio transport. Register
|
|
26
|
-
# this executable as an MCP server in your client configuration
|
|
26
|
+
# this executable as an MCP server in your client configuration,
|
|
27
|
+
# setting ASK_WEB_FETCH_CDP_URL in the server's env to route
|
|
28
|
+
# Cloudflare-gated pages through an already-running Chrome:
|
|
27
29
|
#
|
|
28
30
|
# "mcp": {
|
|
29
31
|
# "servers": {
|
|
30
32
|
# "ask-web-fetch-mcp": {
|
|
31
33
|
# "type": "stdio",
|
|
32
34
|
# "command": "ask-web-fetch-mcp",
|
|
33
|
-
# "args": []
|
|
35
|
+
# "args": [],
|
|
36
|
+
# "env": { "ASK_WEB_FETCH_CDP_URL": "http://127.0.0.1:9222" }
|
|
34
37
|
# }
|
|
35
38
|
# }
|
|
36
39
|
# }
|
|
37
40
|
def self.start
|
|
38
41
|
Ask::MCP::Server.start_stdio(
|
|
39
42
|
name: 'ask-web-fetch-mcp',
|
|
43
|
+
version: VERSION,
|
|
40
44
|
tools: [tool],
|
|
41
45
|
capabilities: { tools: {} },
|
|
42
46
|
debug: ENV['DEBUG'] == '1'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ask-web-fetch-mcp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kaka Ruto
|
|
@@ -15,28 +15,28 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version:
|
|
18
|
+
version: 0.4.3
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - ">="
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version:
|
|
25
|
+
version: 0.4.3
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: ask-web-fetch
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '0.
|
|
32
|
+
version: '0.4'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - ">="
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '0.
|
|
39
|
+
version: '0.4'
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: minitest
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|