Piyush Tripathi
71d5d71a80
test(fetch): add unit tests for fetch MCP server
...
Add comprehensive test coverage for the fetch server:
- TestGetRobotsTxtUrl: 6 tests for URL parsing
- TestExtractContentFromHtml: 3 tests for HTML-to-markdown conversion
- TestCheckMayAutonomouslyFetchUrl: 5 tests for robots.txt handling
- TestFetchUrl: 6 tests for URL fetching with various scenarios
Total: 20 tests covering:
- URL parsing and robots.txt URL generation
- HTML content extraction and markdown conversion
- robots.txt permission checking (401, 403, 404, allow/disallow)
- HTTP response handling (success, errors, raw mode)
- Proxy support
Also adds pytest and pytest-asyncio as dev dependencies.
2026-01-28 14:31:01 -08:00
dependabot[bot]
a1f9dfa470
Bump the uv group across 3 directories with 1 update
...
Bumps the uv group with 1 update in the /src/fetch directory: [python-multipart](https://github.com/Kludex/python-multipart ).
Bumps the uv group with 1 update in the /src/git directory: [python-multipart](https://github.com/Kludex/python-multipart ).
Bumps the uv group with 1 update in the /src/time directory: [python-multipart](https://github.com/Kludex/python-multipart ).
Updates `python-multipart` from 0.0.21 to 0.0.22
- [Release notes](https://github.com/Kludex/python-multipart/releases )
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Kludex/python-multipart/compare/0.0.21...0.0.22 )
Updates `python-multipart` from 0.0.21 to 0.0.22
- [Release notes](https://github.com/Kludex/python-multipart/releases )
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Kludex/python-multipart/compare/0.0.21...0.0.22 )
Updates `python-multipart` from 0.0.21 to 0.0.22
- [Release notes](https://github.com/Kludex/python-multipart/releases )
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Kludex/python-multipart/compare/0.0.21...0.0.22 )
---
updated-dependencies:
- dependency-name: python-multipart
dependency-version: 0.0.22
dependency-type: indirect
dependency-group: uv
- dependency-name: python-multipart
dependency-version: 0.0.22
dependency-type: indirect
dependency-group: uv
- dependency-name: python-multipart
dependency-version: 0.0.22
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-26 23:57:45 +00:00
dependabot[bot]
b906f726fa
Bump the uv group across 3 directories with 5 updates
...
Bumps the uv group with 5 updates in the /src/fetch directory:
| Package | From | To |
| --- | --- | --- |
| [mcp](https://github.com/modelcontextprotocol/python-sdk ) | `1.2.0` | `1.23.0` |
| [requests](https://github.com/psf/requests ) | `2.32.3` | `2.32.4` |
| [h11](https://github.com/python-hyper/h11 ) | `0.14.0` | `0.16.0` |
| [starlette](https://github.com/Kludex/starlette ) | `0.41.2` | `0.49.1` |
| [urllib3](https://github.com/urllib3/urllib3 ) | `2.2.3` | `2.6.3` |
Bumps the uv group with 3 updates in the /src/git directory: [mcp](https://github.com/modelcontextprotocol/python-sdk ), [h11](https://github.com/python-hyper/h11 ) and [starlette](https://github.com/Kludex/starlette ).
Bumps the uv group with 2 updates in the /src/time directory: [h11](https://github.com/python-hyper/h11 ) and [starlette](https://github.com/Kludex/starlette ).
Updates `mcp` from 1.2.0 to 1.23.0
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases )
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md )
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.2.0...v1.23.0 )
Updates `requests` from 2.32.3 to 2.32.4
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.4 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.2 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `urllib3` from 2.2.3 to 2.6.3
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.3...2.6.3 )
Updates `mcp` from 1.2.0 to 1.23.0
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases )
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md )
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.2.0...v1.23.0 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.2 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `mcp` from 1.2.0 to 1.23.0
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases )
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md )
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.2.0...v1.23.0 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.2 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `mcp` from 1.1.0 to 1.23.0
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases )
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md )
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.2.0...v1.23.0 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.3 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `mcp` from 1.1.0 to 1.23.0
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases )
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md )
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.2.0...v1.23.0 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.3 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `mcp` from 1.1.0 to 1.23.0
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases )
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md )
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.2.0...v1.23.0 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.3 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.3 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.3 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.3 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
---
updated-dependencies:
- dependency-name: mcp
dependency-version: 1.23.0
dependency-type: direct:production
dependency-group: uv
- dependency-name: requests
dependency-version: 2.32.4
dependency-type: direct:production
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: urllib3
dependency-version: 2.6.3
dependency-type: indirect
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.23.0
dependency-type: direct:production
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.23.0
dependency-type: direct:production
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.23.0
dependency-type: direct:production
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.23.0
dependency-type: direct:production
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.23.0
dependency-type: direct:production
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-17 18:03:32 +00:00
Adam Jones
78e0088ebd
fix(fetch): update uv.lock to sync with pyproject.toml
...
The lockfile was out of sync because pyproject.toml was updated
(version bump to 0.6.3, httpx<0.28 constraint) but uv.lock wasn't
regenerated. This became a CI failure after switching from --frozen
to --locked in #1852 .
2025-11-25 21:52:09 +00:00
David Soria Parra
53f4a23b73
Update server implementation and dependencies
2025-01-15 17:27:12 +00:00
David Soria Parra
e7e1c85058
python servers 0.6.2
2024-12-04 15:57:31 +00:00
David Soria Parra
f86486984c
python servers 0.6.0
2024-11-29 17:54:40 +00:00
Jack Adamson
caed64d5db
update dependencies
2024-11-25 20:04:59 +00:00
Jack Adamson
84321c89cf
make the fetch mcp-server obey robots.txt
2024-11-22 19:04:04 +00:00
Jack Adamson
4fa58d546b
add better exception handling
2024-11-22 15:30:28 +00:00
Jack Adamson
781571b40d
add fetch MCP server
2024-11-22 12:33:19 +00:00