Commit graph servers/src/git
Author SHA1 Message Date
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
Matthew McEachen
ba54c9d374
fix(server.py): remove unused import 'os' 2025-04-29 16:01:50 -07:00
Matthew McEachen
4c77b64518
refactor(mcp-server-git): Change from environment variable to proper parameter 2025-04-08 17:53:03 -07:00
Matthew McEachen
1ac3c1da59
feat(mcp_server_git): Add support for configurable GIT_DIFF_CONTEXT_LINES
- Introduced `GIT_DIFF_CONTEXT_LINES` environment variable to customize the number of context lines shown in git diff output.
- Updated `git_diff_unstaged`, `git_diff_staged`, and `git_diff` functions to utilize the new context line setting.
- Enhanced README.md to document the new environment variable and its implications.
2025-04-08 15:41:41 -07:00
Burke Holland
e6db372447 Update READMEs with instructions for VS Code installation 2025-04-03 16:37:27 -05:00
ChunHao Huang
fa002daa58
Fix json format 2025-03-29 11:33:52 +00:00
Tadas Antanavicius
f7885220ac
Fix git 2025-03-27 14:19:18 -07:00
Shashwat
fc32e87129 Add git init command support to mcp-git-server and update README 2025-01-21 17:44:18 +05:30
Yuta Miyama
0a05e1085d
Update mcp/git README.md 2025-01-01 16:22:57 +09:00
Jim Clark
621919a954
Switch to uv-less final stages 2024-12-19 17:13:21 -08:00
Jim Clark
4fa1c47b0a
Update fetch Docker to not have ux in final stage 2024-12-19 16:05:22 -08:00
Jim Clark
066426c3fd
Fix git and brave-search typos in README.md 2024-12-19 14:00:30 -08:00
Jim Clark
70e19c466d
Migrate python servers to mcp namespace 2024-12-19 13:42:46 -08:00
colinmcneil
49044156e3
Update readmes to use new mcp namespace 2024-12-19 13:11:36 -08:00
Jim Clark
368e3b23ca
Add Dockerfiles for the 17 sample MCP servers
* add Dockerfiles and update README.md definitions
2024-12-19 13:11:34 -08:00
Ilia Choly
fac500018b add git_show tool 2024-12-17 08:59:45 -05:00
David Soria Parra
79794fe4cf
Merge pull request #166 from mikegehard/feature/git-checkout-command
Allow to check out branches
2024-12-10 14:31:08 +00:00
Mike Gehard
98e78c37b4 Use a test fixture to set proper patterns. 2024-12-08 16:26:59 -05:00
Mike Gehard
ebc797fa1b README change 2024-12-08 16:26:58 -05:00
Mike Gehard
021a95c904 Allow to check out branches
The git server currently lacks branch switching capabilities, limiting both
LLMs and developers. This adds branch checkout so LLMs can
help developers add new functionality in a new feature branch.
2024-12-08 16:26:58 -05:00
monkeydaichan
768a5af80c docs(git): restore original README formatting and add git_diff doc
Restored the original formatting while adding documentation for the new git_diff tool. No changes were made to the existing documentation structure.
2024-12-07 01:33:34 +09:00
monkeydaichan
4502810ac8 docs(git): fix README formatting
Fixed unintended formatting changes in the git server README while keeping the new git_diff tool documentation.
2024-12-07 01:30:31 +09:00
monkeydaichan
ba301c4a66 feat(git): add git_diff tool for branch comparison
Added new git_diff tool to allow comparison between branches or commits.
This adds the ability to compare branches directly through the MCP interface.
2024-12-07 01:25:33 +09:00
David Soria Parra
e7e1c85058
python servers 0.6.2 2024-12-04 15:57:31 +00:00
Mike Gehard
c0a1cb7eac
Update src/git/src/mcp_server_git/server.py
Co-authored-by: Justin Spahr-Summers <justin@jspahrsummers.com>
2024-12-03 11:19:22 -05:00
Mike Gehard
3192bf66df
Update src/git/README.md
Co-authored-by: Justin Spahr-Summers <justin@jspahrsummers.com>
2024-12-03 11:19:13 -05:00
Mike Gehard
dc70c02403 README change 2024-12-01 17:14:28 -05:00
Mike Gehard
cc4a686088 Add extra debugging/development instructions.
This should help people unfamilar with ux get the right
commands to test in the Claude app.
2024-12-01 16:30:44 -05:00
Mike Gehard
6135c62c69 Add git branch creation functionality 2024-12-01 16:30:36 -05:00
David Soria Parra
2578d6f668
python servers 0.6.1 2024-11-29 18:00:23 +00:00
David Soria Parra
f86486984c
python servers 0.6.0 2024-11-29 17:54:40 +00:00
anjor
39d6a3bc6b fix zed config 2024-11-28 22:01:38 +00:00
David Soria Parra
e8a26bbf53
lint clean 2024-11-27 22:42:47 +00:00
Justin Spahr-Summers
b876cbd52b
Pre-emptive version bump 2024-11-25 13:35:36 -06:00
Justin Spahr-Summers
45c4f70da4
Bump all package versions to 0.5.0 2024-11-25 07:13:35 -06:00
Mahesh Murag
a1120c307b
README Cleanup (#30) 2024-11-24 03:27:08 +00:00
David Soria Parra
ec3c60c0c0
move sqlite server to python 3.10 2024-11-22 23:12:59 +00:00