olaservo
d811ba11f1
docs(python): note the mcp 1.x requirement in fetch, git, and time
...
Users hitting the 2.0.0 startup failure land on the README first. Also makes
the three packages qualify for the next release: the release workflow selects
packages by .py/.ts/.md changes, so a dependency-only fix would merge without
publishing.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-18 08:57:03 -07:00
olaservo
53dbe83b7a
fix(python): require mcp>=1.29.0,<2 in fetch, git, and time
...
mcp 2.0.0 renamed McpError to MCPError and replaced the low-level Server
decorators with constructor handlers. The three servers had no upper bound,
so a fresh uvx install has resolved 2.0.0 since 2026-07-28 and failed to
start: fetch and time raise ImportError on the McpError import, git raises
AttributeError on server.list_tools().
The floor moves to 1.29.0, the last 1.x release. The previous floors (1.0.0
for git, 1.1.3 for fetch, 1.23.0 for time) resolved versions affected by
GHSA-vj7q-gjh5-988w, GHSA-jpw9-pfvf-9f58, and GHSA-hvrp-rf83-w775.
Porting to the v2 SDK is tracked separately.
Closes #4560
Closes #4570
Closes #4580
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-18 08:26:30 -07:00
dependabot[bot]
3bcfedd8e4
chore(deps): bump the uv group across 3 directories with 4 updates
...
Bumps the uv group with 3 updates in the /src/git directory: [gitpython](https://github.com/gitpython-developers/GitPython ), [mcp](https://github.com/modelcontextprotocol/python-sdk ) and [pydantic-settings](https://github.com/pydantic/pydantic-settings ).
Bumps the uv group with 2 updates in the /src/time directory: [mcp](https://github.com/modelcontextprotocol/python-sdk ) and [pydantic-settings](https://github.com/pydantic/pydantic-settings ).
Bumps the uv group with 2 updates in the /src/fetch directory: [mcp](https://github.com/modelcontextprotocol/python-sdk ) and [soupsieve](https://github.com/facelessuser/soupsieve ).
Updates `gitpython` from 3.1.50 to 3.1.54
- [Release notes](https://github.com/gitpython-developers/GitPython/releases )
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES )
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.50...3.1.54 )
Updates `mcp` from 1.23.0 to 1.28.1
- [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.23.0...v1.28.1 )
Updates `pydantic-settings` from 2.12.0 to 2.14.2
- [Release notes](https://github.com/pydantic/pydantic-settings/releases )
- [Commits](https://github.com/pydantic/pydantic-settings/compare/v2.12.0...v2.14.2 )
Updates `mcp` from 1.25.0 to 1.28.1
- [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.23.0...v1.28.1 )
Updates `pydantic-settings` from 2.12.0 to 2.14.2
- [Release notes](https://github.com/pydantic/pydantic-settings/releases )
- [Commits](https://github.com/pydantic/pydantic-settings/compare/v2.12.0...v2.14.2 )
Updates `mcp` from 1.23.0 to 1.28.1
- [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.23.0...v1.28.1 )
Updates `soupsieve` from 2.6 to 2.8.4
- [Release notes](https://github.com/facelessuser/soupsieve/releases )
- [Commits](https://github.com/facelessuser/soupsieve/compare/2.6...2.8.4 )
---
updated-dependencies:
- dependency-name: gitpython
dependency-version: 3.1.54
dependency-type: direct:production
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.28.1
dependency-type: direct:production
dependency-group: uv
- dependency-name: pydantic-settings
dependency-version: 2.14.2
dependency-type: indirect
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.28.1
dependency-type: direct:production
dependency-group: uv
- dependency-name: pydantic-settings
dependency-version: 2.14.2
dependency-type: indirect
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.28.1
dependency-type: direct:production
dependency-group: uv
- dependency-name: soupsieve
dependency-version: 2.8.4
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-07-29 22:05:20 +00:00
Bao
a72e93e503
docs: link Python packages to source
2026-07-02 06:39:31 +07:00
Ola Hungerford
b2a94a21a5
fix(deps): bump python-multipart, cryptography, pyjwt to clear HIGH alerts ( #4398 )
...
Resolves a fresh batch of Dependabot alerts (disclosed 2026-06-15/16,
after PR #4376 merged) across the fetch, git, and time server lockfiles:
- python-multipart 0.0.27 -> 0.0.32 (CVE-2026-53539 HIGH querystring DoS,
plus CVE-2026-53537/53538/53540 parameter smuggling / buffering)
- cryptography 48.0.0 -> 49.0.0 (GHSA-537c-gmf6-5ccf HIGH, vulnerable
OpenSSL statically linked in wheels < 48.0.1)
- pyjwt 2.12.1 -> 2.13.0 (HIGH + medium JWT advisories)
All three are transitive deps; lockfiles only. Diff scoped to exactly
these 9 version bumps with no other resolution churn. git server tests
unchanged vs base (43 passed; 37 pre-existing Windows tempdir errors).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 09:13:57 +02:00
olaservo
0588ec098e
fix(security): bump vulnerable deps; harden git_add (defense-in-depth)
...
Real fixes (deps):
- python (git/fetch/time): idna 3.10->3.18 (GHSA-65pc), starlette
0.49.1->1.3.1 (GHSA-86qp)
- npm: vitest ^2.1.8->^4.1.8 (critical GHSA-5xrq UI server RCE). vitest 4
pulls vite 8 (rolldown, no esbuild), clearing the esbuild/vite advisories
natively. Remaining root overrides: qs>=6.15.2 (GHSA-q8mj, via express),
hono>=4.12.21 (via @modelcontextprotocol/sdk).
- npm audit: 0 vulnerabilities; all TS (313) + Python (git/fetch/time) suites
and TS builds pass.
Hardening (git_add):
- The repo already mitigates CVE-2026-27735 by using repo.git.add (the git
CLI rejects out-of-tree paths, PR #3164 's fix), not repo.index.add (which
did not). Add an explicit path-boundary check in git_add as defense in
depth plus regression tests asserting the security invariant (out-of-tree
paths are never staged), guarding against a regression to repo.index.add.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 13:46:02 -07:00
Ola Hungerford
f5054df1fb
fix(deps): bump gitpython and urllib3 to resolve HIGH security alerts ( #4283 )
...
- git: gitpython >=3.1.45 -> >=3.1.50 (lock 3.1.49 -> 3.1.50)
Fixes GHSA-mv93-w799-cj2w: newline injection in config_writer()
bypasses the CVE-2026-42215 patch, enabling RCE via core.hooksPath.
- fetch: urllib3 2.6.3 -> 2.7.0 (transitive via requests)
Fixes GHSA-qccp-gfcp-xxvc (sensitive headers forwarded across origins
on proxied redirects) and GHSA-mf9v-mfxr-j63j (decompression-bomb
safeguards bypassed in the streaming API).
Resolves Dependabot alerts #129 , #131 , #132 .
Tests pass (fetch: 20 passed; git: all test bodies pass, only
pre-existing Windows tmpdir-teardown errors remain).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 11:24:07 -04:00
olaservo
0db9a34071
chore(deps): bump python deps to address security alerts
...
Bumps vulnerable Python deps via `uv lock --upgrade-package` across the
three Python workspaces (src/git, src/fetch, src/time):
High severity
- gitpython 3.1.45 -> 3.1.49 (src/git): command injection via Git options
bypass and unsafe `multi_options` validation (GHSA-x9j5-25mq-w6vh,
GHSA-2gv7-q9w6-xfwm)
- lxml 5.3.0 -> 6.1.0 (src/fetch): XXE in default iterparse() and
ETCompatXMLParser() (GHSA-pjj9-h2g6-3v7q)
- pyjwt 2.10.1 -> 2.12.1 (all): accepts unknown `crit` header extensions
(GHSA-75c5-xw7c-p5pm)
Medium / low
- cryptography 46.0.5 -> 48.0.0 (all): buffer overflow with non-contiguous
buffers; incomplete DNS name constraint enforcement
- python-dotenv 1.0.1/1.2.1 -> 1.2.2 (all): symlink-following arbitrary
file overwrite in set_key
- python-multipart 0.0.22 -> 0.0.27 (all): DoS via large preamble/epilogue
- pytest 8.3.x -> 9.0.3 (all): vulnerable tmpdir handling
- pygments 2.19.2 -> 2.20.0 (src/fetch): ReDoS in GUID matcher
- requests 2.32.4 -> 2.33.1 (src/fetch): insecure temp file reuse in
extract_zipped_paths()
All three workspaces sync cleanly and `uv run pytest` passes:
- src/fetch: 20 passed
- src/time: 38 passed
- src/git: 41 passed (35 preexisting Windows-only fixture cleanup
errors are reproducible on main and unrelated to this change)
Supersedes/extends dependabot PR #3748 (which only bumped requests and
cryptography to 46.0.6).
2026-05-05 06:55:44 -07:00
Nipun Negi
c104a61f87
Fix formatting in README for docker usage note
2026-03-24 12:08:13 +05:30
Supun Geethanjana Jayasinghe
c7e0c7e730
add tools | 3573 ( #3589 )
...
feat(git): add tool annotations
Adds MCP ToolAnnotations to all 12 git server tools, marking read-only operations (status, diff, log, show, branch) and distinguishing destructive (reset) from non-destructive write operations (add, commit, create_branch, checkout).
Fixes #3573
2026-03-15 09:05:24 -07:00
Elliot
ae40ec239d
fix(git): add missing argument injection guards to git_show, git_create_branch, git_log, and git_branch ( #3545 )
...
fix(git): add missing argument injection guards
Extends existing startswith("-") input validation to git_show, git_create_branch, git_log, and git_branch, preventing user-supplied values from being interpreted as CLI flags by GitPython's subprocess calls to git.
2026-03-15 09:04:24 -07:00
dependabot[bot]
e3ea3c8b7f
Bump the uv group across 3 directories with 1 update
...
Bumps the uv group with 1 update in the /src/fetch directory: [cryptography](https://github.com/pyca/cryptography ).
Bumps the uv group with 1 update in the /src/git directory: [cryptography](https://github.com/pyca/cryptography ).
Bumps the uv group with 1 update in the /src/time directory: [cryptography](https://github.com/pyca/cryptography ).
Updates `cryptography` from 46.0.3 to 46.0.5
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/46.0.3...46.0.5 )
Updates `cryptography` from 46.0.3 to 46.0.5
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/46.0.3...46.0.5 )
Updates `cryptography` from 46.0.3 to 46.0.5
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/46.0.3...46.0.5 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-version: 46.0.5
dependency-type: indirect
dependency-group: uv
- dependency-name: cryptography
dependency-version: 46.0.5
dependency-type: indirect
dependency-group: uv
- dependency-name: cryptography
dependency-version: 46.0.5
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-11 02:51:37 +00: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
Aonan Guan
db96050800
git: improve file path validation in add operation
...
Use Git CLI directly instead of GitPython index API to ensure proper
path validation and prevent option injection. The '--' separator ensures
file paths starting with '-' are handled correctly.
2025-12-29 16:04:31 -08:00
Paul Carleton
88320daffa
fix(git): import BadName directly to fix pyright errors
...
Import `BadName` from `git.exc` directly instead of accessing it via
`git.exc.BadName`, which pyright doesn't recognize as a valid attribute
access on the `git` module.
This fixes the pyright CI failures introduced by the recent security
patches (GHSA merges).
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-18 13:22:52 +00:00
Jenn Newton
a37158bc15
Merge commit from fork
...
Validate that repo_path arguments in tool calls are within the
configured --repository path when the --repository flag is set.
The fix:
- Adds validate_repo_path() that resolves paths and checks
containment using Path.relative_to()
- Resolves symlinks before comparison
- Maintains backward compatibility when --repository is not set
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Paul Carleton <paulc@anthropic.com>
2025-12-17 16:04:30 +00:00
Jenn Newton
9e5d5b8e4b
Merge commit from fork
...
Add validation to reject arguments starting with '-' and verify
arguments resolve to valid git refs via rev_parse before passing
to git CLI commands. This prevents flag-like values from being
interpreted as command-line options (e.g., --output=/path/to/file).
CWE-88: Improper Neutralization of Argument Delimiters in a Command
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-17 16:01:19 +00:00
João M. Martins
1b5f64e7e4
Fix test_git_diff to use dynamic branch name
2025-12-10 10:11:46 +11:00
adam jones
d9929014d5
Add mcpName and repository fields for MCP registry ( #3068 )
...
Adds metadata required for registering servers in the MCP registry:
- NPM servers (everything, filesystem, memory, sequentialthinking):
Added mcpName and repository fields to package.json
- PyPI servers (fetch, git, time):
Added mcp-name comment to README.md
Part of #3047
2025-11-26 14:29:36 +00:00
Adam Jones
350ffeec01
Fix VS Code MCP documentation URLs
...
Update links to point to the new location at /docs/copilot/customization/mcp-servers
2025-11-25 22:11:56 +00:00
UmakanthKaspa
2f93d3c717
Add comprehensive tests for git server functions ( #2970 )
...
- Add tests for git_diff_unstaged, git_diff_staged, and git_diff
- Add tests for git_commit and git_reset operations
- Add tests for git_log with different parameters
- Add tests for git_create_branch with base branch support
- Add tests for git_show including initial commit edge case
- Achieve 100% test coverage of git server functions (12/12)
- All 23 tests pass with 0 errors
2025-11-25 21:43:09 +00:00
Eugene Mwangi
9758f34d36
chore(uv): Prefer --locked for dependency sync ( #1852 )
...
Adopt uv best practice for dependency synchronization.
[Note]
- (uv sync --frozen) proceeds with an out-dated lockfile.
This could lead to inconsistencies.
[Docs]
See: https://docs.astral.sh/uv/concepts/projects/sync/#locking-and-syncing
2025-11-25 21:36:35 +00:00
Christoph Blecker
99813ce5c9
Update gitpython library for git mcp server ( #2948 )
...
* bump: gitpython dependency from 3.1.43 to 3.1.45
* test: use default branch name instead of hardcoding 'master'
* fix: handle d.diff as string in GitPython 3.1.45+
2025-11-25 20:35:33 +00:00
UmakanthKaspa
5556c3a0f4
Fix git_create_branch parameter documentation
...
Changed incorrect 'start_point' to correct 'base_branch' parameter.
The documented parameter didn't match the actual code implementation.
2025-11-09 17:16:53 +09:00
UmakanthKaspa
4225ab46e1
Add test for git_status function
...
Adds test coverage for the previously untested git_status function.
The test verifies that the function returns valid git status output
containing branch information.
2025-11-06 16:58:07 +00:00
Aonan Guan
6382f7846d
docs: update README to reflect removed initialization functionality
2025-09-23 21:31:26 -07:00
Aonan Guan
eac56e7bcd
refactor: remove redundant initialization functionality
2025-09-23 20:59:54 -07:00
Mohamed Amine Berguiga
09adff0b29
feat(git): add date-based commit log retrieval functions ( #2057 )
...
Co-authored-by: adam jones <domdomegg+git@gmail.com>
2025-08-25 18:26:32 +01:00
Matthias Glastra
15ed42bf7e
git MCP: Add support for git-lfs ( #2503 )
2025-08-16 22:17:12 +01:00
Taj Baba
a67e3b0a92
fix: mcp_server_git: correct add logic for ["."] ( #2379 )
2025-08-11 12:09:26 +01:00
Kunal Babre
3e230d8637
Merge branch 'modelcontextprotocol:main' into main
2025-07-14 07:51:03 -07:00
Vibor Cipan
b64c0b2926
docs: Adds Zencoder instructions for the Time and git MCP Server ( #2337 )
...
* docs: Adds Zencoder instructions for the Time MCP Server
* docs: Adds Zencoder instructions for the git MCP Server
2025-07-14 13:59:54 +01:00
Kunal Babre
55a36ad0dd
docs: Clean up VS Code installation instructions
...
- Remove unnecessary explanatory note about JSON format
- JSON examples already demonstrate the correct format clearly
- Streamlines documentation to focus on essential information
- Maintains reference to official VS Code MCP documentation
The removed note was redundant since both configuration methods
use identical JSON structure shown in the examples.
2025-07-11 22:53:13 -07:00
Kunal Babre
95a72b792f
docs: Add reference to official VS Code MCP documentation
...
- Add link to official VS Code MCP documentation in all server READMEs
- Enhances existing VS Code installation instructions with authoritative reference
- Provides users with comprehensive documentation for advanced configuration
- Complements the existing two-method approach with additional resources
Affects: everything, filesystem, git, memory, sequentialthinking
2025-07-11 22:45:10 -07:00
Kunal Babre
20eb59590e
docs: Update VS Code installation instructions to use mcp.json
...
- Replace outdated 'Preferences: Open Settings (JSON)' instructions
- Add proper guidance for 'MCP: Open User Configuration' command
- Update JSON examples to remove mcp wrapper key
- Clarify user vs workspace configuration methods
- Fixes issue with outdated documentation across all servers
Affects: sequentialthinking, filesystem, memory, everything, git
2025-07-11 21:36:21 -07:00
JavieHush
1f952310e4
feat: Add git branch functionality and unit tests
...
This commit introduces the `git branch` tool to the MCP Git server, allowing users to list branches with various filtering options.
Changes include:
- Implemented `git_branch` function in `src/git/src/mcp_server_git/server.py` to support listing local, remote, and all branches, as well as filtering by `contains` and `not_contains` SHA values.
- Added comprehensive unit tests for the `git branch` functionality in `src/git/tests/test_server.py`, covering different branch types and commit filtering scenarios.
- Updated `src/git/README.md`.
2025-06-25 15:10:04 +08:00
Ola Hungerford
1252f484b9
Merge pull request #1326 from mceachen/main
...
feat(mcp-server-git): Add context_lines to git_diff* tools
2025-06-24 21:07:31 -07:00
Ola Hungerford
fb9bb0b4d9
Merge branch 'main' into hesreallyhim/git-small-fixes-with-typing-and-strings
2025-06-24 20:44:49 -07:00
Ola Hungerford
4e425617b0
Merge pull request #1133 from chuang8511/chunhao/git-servers-typo
...
Fix json format
2025-06-16 21:44:25 -07:00
David Soria Parra
e515378a90
restore git as ola asked for it
2025-05-29 13:42:18 +01:00
David Soria Parra
d53d6cc75c
Archive unmaintained servers
...
Removed the following servers from main branch:
- aws-kb-retrieval-server
- brave-search
- everart
- gdrive
- git
- github
- gitlab
- google-maps
- postgres
- puppeteer
- redis
- sentry
- slack
- sqlite
These servers remain maintained:
- sequentialthinking
- time
- memory
- fetch
- filesystem
- everything
Full history preserved in archive-servers branch
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-29 12:04:51 +01:00
JavieHush
e4d856214b
feat: Add git branch functionality and unit tests
...
This commit introduces the `git branch` tool to the MCP Git server, allowing users to list branches with various filtering options.
Changes include:
- Implemented `git_branch` function in `src/git/src/mcp_server_git/server.py` to support listing local, remote, and all branches, as well as filtering by `contains` and `not_contains` SHA values.
- Added comprehensive unit tests for the `git branch` functionality in `src/git/tests/test_server.py`, covering different branch types and commit filtering scenarios.
- Updated `src/git/README.md`.
2025-05-28 16:18:42 +08:00
Really Him
8e86d49346
fix: pyproject
2025-05-13 11:07:36 -04:00
Really Him
7c5dcaf461
chore: add py.typed
2025-05-13 00:14:22 -04:00
Really Him
0ffd7013db
fix: fix f-strings
2025-05-12 23:35:19 -04:00
Really Him
abd24f63f8
fix: use 'references' instead of 'refs' for pylance even though it's an alias
2025-05-12 23:32:58 -04:00
Really Him
c53b53030d
fix: fix mypy warning about representation of bytes
2025-05-12 23:28:26 -04:00
Really Him
1e7d4bc254
fix: replace deprecated pydantic function
2025-05-12 23:26:09 -04:00
Matthew McEachen
c6eb49bc24
Merge branch 'main' into main
2025-05-11 20:22:48 -07:00