Commit Graph

591 Commits

Author SHA1 Message Date
Ola Hungerford
e84c79da2d Merge branch 'main' into add-jest-setup 2025-06-15 23:37:11 -07:00
Ola Hungerford
d2b217ac4f Merge pull request #1027 from mjherich/feat/filesystem-read-specified-lines
Add head/tail file reading and directory size listings to filesystem server
2025-06-15 23:08:15 -07:00
olaservo
88ce1f1fdd Adjust instructions 2025-06-14 18:22:43 -07:00
JavieHush
6c92dfe667 Merge branch 'modelcontextprotocol:main' into main 2025-06-03 09:24:26 +08:00
Cliff Hall
09db08f8f4 Merge branch 'main' into add-instructions 2025-06-02 10:52:38 -04:00
Tadas Antanavicius
0e519ca3a1 Merge pull request #1519 from olaservo/olaservo-patch-1
Update fetch Readme JSON snippets for installation to be complete JSON
2025-05-31 11:27:34 -07:00
Really Him
7c9cb06442 Merge branch 'main' into hesreallyhim/git-small-fixes-with-typing-and-strings 2025-05-30 11:52:43 -04:00
JavieHush
0c470fd956 Merge branch 'modelcontextprotocol:main' into main 2025-05-30 11:22:01 +08:00
Cliff Hall
8c5d9c8a40 Merge branch 'main' into add-instructions 2025-05-29 10:54:33 -04:00
Cliff Hall
5f36973811 Merge pull request #1884 from cliffhall/everything-server-multiple-connection-support
Everything server multiple connection support
2025-05-29 10:41:51 -04:00
David Soria Parra
e515378a90 restore git as ola asked for it 2025-05-29 13:42:18 +01:00
David Soria Parra
2dc1a34b75 update 2025-05-29 12:04:52 +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
David Dworken
1f705677a9 Add basic mitigation against postgres queries injecting to trigger writes or other dangerous actions (#1889)
Co-authored-by: Santiago Mola <santiago.mola@datadoghq.com>
2025-05-29 09:41:51 +01:00
cliffhall
3adf59409c In sse.ts, /message endpoint, if transport isn't found for the given sessionId, output a "No transport found for sessionId" message. 2025-05-28 17:29:42 -04:00
cliffhall
2da9f33969 Remove or clause for sessionId where "none" is offered as an alternative.
In the first case (line 16) we already know that req.query.sessionId is set to something. I

 n the second (line 40), it doesn't matter because if it doesn't map to a transport no further action is taken.
2025-05-28 16:31:21 -04:00
cliffhall
9ffacb78ab Be more verbose about unexpected GET /sse calls from already connected clients. 2025-05-28 11:14:03 -04: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
olaservo
318c22b2ac Add instructions 2025-05-26 12:49:33 -07:00
cliffhall
145f893108 Allow multiple connections to the everything server.
For both sse and streamableHttp, a server instance needs to be created for each transport. Otherwise, when a new client connects and its new transport is connected to the single server, the previous transport is overwritten in the server instance and can no longer communicate.

* In sse.ts
  - remove global server, cleanup, and transport vars
  - add transports map
  - in sse GET handler,
    - check for sessionId, there shouldn't be one, so comment "Reconnecting?" and do nothing if present
    - if sessionId not present
      - create new server and transport instance
      - connect server to transport
      - add transport to transports map
      - in server.onclose, delete the transport from the transports map and call cleanup
  - in /message POST handler
    - get the sessionId from the request
    - get the transport from the map by sessionId
    - handle the message if the transport was found

* In streamableHttp.ts
  - remove the global server and cleanup vars
  - change transports var to Map
  - in /mcp POST handler
    - when creating a new session
      - create a server instance
      - in server.onclose, delete the transport from the transports map and call cleanup
  - remove the calls to cleanup and server.close in the SIGINT handler, because the transport is closed and its onclose handler closes the server.
2025-05-22 11:41:16 -04:00
Really Him
c430ac96d3 Merge branch 'main' into hesreallyhim/git-small-fixes-with-typing-and-strings 2025-05-18 06:24:45 -04:00
cliffhall
26aa0f8091 * In src/everything/sse.ts
- add SIGINT handler that does cleanup, server.close, and process.exit
2025-05-15 14:32:42 -04:00
cliffhall
3894d236c0 * In src/everything/sse.ts and streamableHttp.ts
- Replace console.log with console.error throughout
* In src/everything/sse.ts
  - remove the process.exit() in the server.onclose handler so reconnections are possible
2025-05-15 14:13:15 -04:00
David Dworken
c0821f1ed8 Add warning about security risks of 2 MCP servers (#1765) 2025-05-15 17:49:25 +01:00
Frederick Ros
cd88954e18 fix: resolve ZoneInfo error by using IANA-compliant local timezone
Replaced local timezone detection using tzinfo string (e.g. "CEST")
with tzlocal.get_localzone_name() to ensure a valid IANA time zone
(e.g. "Europe/Paris") is passed to ZoneInfo. This avoids runtime
errors on macOS and other systems that return non-IANA tz abbreviations.
2025-05-13 18:53:03 +02: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
Jun Kim
3ce1efbd37 Merge branch 'main' into jun/puppeteer 2025-05-07 01:39:01 -05:00
Jun Kim
cbf4d6b611 Merge branch 'main' into jun/puppeteer 2025-05-06 16:21:13 -05:00
Jun
4bb9ec779e remove redundancy and update puppeteer_screenshot tool description 2025-05-06 16:18:57 -05:00
みのるん
95df2efa0c Merge branch 'main' into patch-1 2025-05-07 00:15:18 +09:00
Cliff Hall
2645e03e5f Merge pull request #1673 from cliffhall/choose-server-at-startup-from-npx
Choose the server-everything transport on the command line
2025-05-06 11:10:58 -04:00
みのるん
96352032fc Fixed README: Added NPX config for Claude Desktop 2025-05-07 00:10:50 +09:00
cliffhall
e30f30868f Update server-everything to use the latest version of the SDK
* In sse.ts & streamableHttp.ts
  - change console.log to console.error
2025-05-06 10:27:49 -04:00
cliffhall
69549cc844 Update server-everything to use the latest version of the SDK
* In stdio.ts
  - change console.log to console.error
2025-05-06 10:26:47 -04:00
Jun
51593d9a9a add optional encoded param to puppeteer_screenshot for base64 output 2025-05-06 02:46:41 -05:00
Jun Kim
249024599f Merge branch 'main' into jun/puppeteer 2025-05-06 02:21:45 -05:00
cliffhall
c4371d95d5 Update server-everything to use the latest version of the SDK 2025-05-05 18:00:44 -04:00
cliffhall
f06dc654ff Update server-everything to allow choosing the transport on the command line.
* Update README.md
2025-05-05 13:33:25 -04:00
cliffhall
f93911607b Update server-everything to allow choosing the transport on the command line.
# Run the default (stdio) server
```npx @modelcontextprotocol/server-everything```

# Or specify stdio explicitly
```npx @modelcontextprotocol/server-everything stdio```

# Run the SSE server
```npx @modelcontextprotocol/server-everything sse```

# Run the streamable HTTP server
```npx @modelcontextprotocol/server-everything streamableHttp```

* In src/everything/index.ts
  - refactor/extracted contents to stdio.ts
  - replaced with code that
    - Gets the single argument from the commandline as scriptName
    - switches on scriptName
    - imports the appropriate server script or outputs usage options
  - scripts run on import

* In src/everything/stdio.ts
  - added console log "Starting default (STDIO) server..."

* In src/everything/sse.ts
  - added console log "Starting SSE server..."

* In src/everything/streamableHttp.ts
  - added console log "Starting Streamable HTTP server..."

* This fixes #1594
2025-05-05 13:09:38 -04:00
Ola Hungerford
0ad83e8dda Merge pull request #1183 from buvinghausen/main
Fix docker warnings in Puppeteer dockerfile
2025-05-05 07:20:48 -07:00
Matthew McEachen
ba54c9d374 fix(server.py): remove unused import 'os' 2025-04-29 16:01:50 -07:00
Cliff Hall
aff2243237 Merge branch 'main' into main 2025-04-23 18:00:37 -04:00
Ola Hungerford
6c9246468f Merge pull request #1527 from czy88840616/patch-1
Docs: wrap mcpServers config in complete JSON for better IDE support
2025-04-23 08:08:29 -07:00
Shiv Deepak Muddada
e70bcd317b remove json middleware from everything streamable http server 2025-04-22 19:51:16 -07:00