Commit Graph

832 Commits

Author SHA1 Message Date
Ola Hungerford
52e60e6e29 Add missing capabilities and better connection handling 2025-03-31 08:08:35 -07:00
Ola Hungerford
6279021d60 Make changes to typescript to trigger new tag 2025-03-30 19:12:53 -07:00
Ola Hungerford
8f73c9ac4c Merge branch 'main' into main 2025-03-30 08:32:53 -07:00
shiquda
9a4d513724 fix(fetch): specify httpx<0.28 to resolve proxy problem
- AsyncClient.__init__() got an unexpected keyword argument 'proxies'
2025-03-30 22:33:51 +08:00
Ola Hungerford
3a1a06ec9c Merge branch 'main' into patch-1 2025-03-30 07:11:19 -07:00
AB498
94029e6252 puppeteer server: deduplication of launch option args 2025-03-30 13:24:43 +06:00
AB498
4f93f82009 reviewed: fix: detached frame error & feature: Puppeteer launch arguments support 2025-03-30 04:13:59 +06:00
ChunHao Huang
fa002daa58 Fix json format 2025-03-29 11:33:52 +00:00
Ola Hungerford
f99299de2b Merge branch 'main' into fix-gitlab-mr-schema-for-v4-api 2025-03-28 21:30:17 -07:00
Ola Hungerford
60d0f08c84 Merge branch 'main' into main 2025-03-28 21:27:41 -07:00
Ola Hungerford
f6d5be91b0 Merge branch 'main' into fix/fetch-package 2025-03-28 21:04:54 -07:00
Ola Hungerford
dae98830b2 Merge branch 'main' into bugfix/github-issue-label-null-description 2025-03-27 19:34:47 -07:00
Tadas Antanavicius
f7885220ac Fix git 2025-03-27 14:19:18 -07:00
Ola Hungerford
5309e52de2 Merge pull request #589 from g-votte/update-filesystem-readme
Fix misleading edit_file functionality docs in server-filesystem README
2025-03-27 06:42:04 -07:00
Ola Hungerford
1d45459e06 Merge pull request #877 from EthBerryAdmin/patch-1
Allow ~ to be used in config for server-filesystem
2025-03-27 06:41:34 -07:00
Wilhelm Klopp
0490e08253 Fix typo in mcp_server_fetch 2025-03-26 18:52:33 +00:00
Ola Hungerford
2788ca4558 Remove invalid submodule reference to src/mssql-mcp 2025-03-26 08:15:52 -07:00
Ola Hungerford
24e392062f Update server-redis package.json to be consistent with other MCP packages 2025-03-24 14:10:18 -07:00
Matt Herich
db24c89c5e Add file read and directory listing enhancements
- Add head/tail functionality for memory-efficient file reading
- Implement new list_directory_with_sizes command with file size info
- Add formatSize utility for human-readable file sizes
2025-03-21 19:29:45 -07:00
Steven Gonsalvez
056daf37ac Merge branch 'main' into fix/fetch-package 2025-03-19 14:25:27 +00:00
cliffhall
487fe0237c Update README.md 2025-03-17 10:32:57 -04:00
EthBerryAdmin
d7ea463aa5 allow ~ to be used in config
following config throws error

```
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "~"
      ]
    },
```

```
Error accessing directory ~: Error: ENOENT: no such file or directory, stat '~'
    at async Object.stat (node:internal/fs/promises:1032:18)
    at async file:///Users/USER_NAME/.npm/_npx/a3241bba59c344f5/node_modules/@modelcontextprotocol/server-filesystem/dist/index.js:33:23━━━━━━━━━━━━━━━━━
    at async Promise.all (index 0)
    at async file:///Users/USER_NAME/.npm/_npx/a3241bba59c344f5/node_modules/@modelcontextprotocol/server-filesystem/dist/index.js:31:1 {
  errno: -2,
  code: 'ENOENT',
  syscall: 'stat',
  path: '~'
}
```

this commit fixes error and allows to set ~ as allowed directory
2025-03-16 16:39:24 +04:00
cliffhall
0f0ed351cb Respect log level setting by client
* This fixes #868
* In everything.ts
  - import LoggingLevel from sdk
  - add log messages for all levels
  - add isMessageIgnored function that checks the incoming level against the logLevel and returns false if it is a lower index than the logLevel
  - in the setInterval for sending dummy logs, only send the message if it is not ignored by the logLevel.
2025-03-15 16:45:03 -04:00
Cliff Hall
a835f3c2d7 Merge branch 'main' into add-logging-to-everything-server 2025-03-15 14:51:53 -04:00
cliffhall
f41b117716 Update everything/README.md with info about the logging output 2025-03-13 15:33:59 -04:00
cliffhall
2ba960ca13 In the Inspector, log messages from the server were not being displayed.
https://github.com/modelcontextprotocol/inspector/issues/184

The user who created the issue provided a python test server to send dummy messages, but I expected that the 'everything server' would be exercising this capability, but it wasn't. So I decided to add that functionality at the same time as fixing the inspector.

In src/everything/everything.ts
 - add logsUpdateInterval
 - use setInterval to send a random-leveled log message every 15 seconds
2025-03-13 15:23:52 -04:00
caorui
2ea5d50351 # MSSQL MCP Server
## Overview

MSSQL MCP Server,  provides database interaction and business intelligence capabilities. This server enables running SQL queries, analyzing business data, and automatically generating business insight memos.
Refer to the official website's SQLite for modifications to adapt to MSSQL

## Components

- `read_query`
   - Execute SELECT queries to read data from the database
- `write_query`
   - Execute INSERT, UPDATE, or DELETE queries
- `create_table`
   - Create new tables in the database
- `list_tables`
   - Get a list of all tables in the database
- `describe-table`
   - View schema information for a specific table
- `append_insight`
   - Add new business insights to the memo resource

## Operating environment

- `Python 3.x`
- `Packages`
   - pyodbc>=4.0.39
   - pydantic>=2.0.0
   - mcp>=0.1.0
- `ODBC Driver 17 for SQL Server`

## Usage

### Install packages

```bash
CD /d ~/mssql-mcp
pip install -r requirements.txt
```

### config

```bash
#with server.py same folder create config.json,add:
{
    "database": {
        "driver": "ODBC Driver 17 for SQL Server",
        "server": "server ip",
        "database": "db name",
        "username": "username",
        "password": "password",
        "trusted_connection": false
    },
    "server": {
        "name": "mssql-manager",
        "version": "0.1.0",
        "host": "0.0.0.0",
        "port": 8080
    }
}
```

### Claude Desktop 、 Windsurf

```bash
# add to claude_desktop_config.json. Note:use your path
{
    "mcpServers": {
        "mssql": {
            "command": "py",
            "args": [
                # your path,e.g.:"C:\\mssql-mcp\\src\\server.py"
                "~/server.py"
            ]
        }
    }
}
```

### Cursor

```bash
# Note:use your path
Type:command
Command:py C:\\mssql-mcp\\src\\server.py
```

### MCP Inspector

```bash
# Note:use your path
npx -y @modelcontextprotocol/inspector py C:\\mssql-mcp\\src\\server.py
```

## License

MIT License
2025-03-13 14:16:28 +08:00
shiquda
64a654744a feat(fetch): add support for using proxy for requests 2025-03-13 00:20:48 +08:00
Franco Valerio
8fe9b4768a fix(gitlab): Invalid arguments error when using v4 API for gitlab.com
Make 'merged' property optional and 'diff_refs' nullable in the `GitLabMergeRequestSchema` to align with GitLab V4 API specifications.
2025-03-09 20:24:03 -03:00
CONG To Quang
732c119c75 feat(gitlab): Make owner and fork properties optional 2025-03-04 08:20:07 +07:00
John-Mason P. Shackelford
32f49f4487 feat(github): Add missing pull request operations to MCP server
Add support for all pull request operations documented in README.md that were
previously missing from the MCP server implementation. This includes:

- get_pull_request: Get details of a specific pull request
- list_pull_requests: List and filter repository pull requests
- create_pull_request_review: Create a review on a pull request
- merge_pull_request: Merge a pull request
- get_pull_request_files: Get the list of files changed in a pull request
- get_pull_request_status: Get the combined status of all status checks
- update_pull_request_branch: Update a PR branch with latest base branch changes
- get_pull_request_comments: Get the review comments on a pull request
- get_pull_request_reviews: Get the reviews on a pull request
2025-03-03 17:03:20 -05:00
Matrix Dai
6209bed479 Fix: Handle null description in GitHub label schema 2025-02-28 11:23:01 +08:00
S1M0N38
f35f57c333 fix: add back the __init__.py in mcp_server_tim 2025-02-20 00:59:00 +01:00
S1M0N38
f3e14698c9 feat: configurable timezone for docker in time server
Fixes #639

Add support for configurable timezone in Docker for `time` server.

* Update `src/time/Dockerfile` to include `LOCAL_TIMEZONE` environment variable.
* Set default timezone to "UTC" in `src/time/Dockerfile`.
* Modify `ENTRYPOINT` in `src/time/Dockerfile` to include `--local-timezone` argument.
* Update `src/time/README.md` to include instructions on setting the timezone using `LOCAL_TIMEZONE` environment variable.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/modelcontextprotocol/servers/issues/639?shareId=XXXX-XXXX-XXXX-XXXX).
2025-02-20 00:51:50 +01:00
Ola Hungerford
19b701baa3 Add annotated message example 2025-02-14 20:39:55 -07:00
Steven Gonsalvez
93d7c1af3d Merge branch 'main' into fix/fetch-package 2025-02-13 10:00:45 +00:00
Shotaro Sano
f1474553c1 Merge branch 'main' into update-filesystem-readme 2025-02-12 10:20:01 +09:00
David Soria Parra
9bfccfb2bc Merge pull request #593 from timrogers/timrogers/github-version
Validate in CI that the GitHub server versions in `package.json` and `version.ts` match
2025-02-10 11:50:18 +00:00
Steven Gonsalvez
95e500842d Merge branch 'main' into fix/fetch-package 2025-02-08 11:51:37 +00:00
Shotaro Sano
8171f6458e Merge branch 'main' into update-filesystem-readme 2025-02-07 19:04:54 +09:00
Jerome
ed693a9f82 Merge branch 'main' into main 2025-02-07 14:02:15 +13:00
steven gonsalvez
88c8f5a347 Add error handling and logging for GitHub issue creation
- Improve error handling in GitHub issue creation process
- Add detailed error messages for repository not found scenarios
- Implement global fetch polyfill for node-fetch
- Add debug and error logging for issue creation attempts
2025-02-06 23:26:03 +00:00
Shotaro Sano
964ac6a532 Merge branch 'main' into update-filesystem-readme 2025-02-05 09:54:01 +09:00
Tim Rogers
d5f719c1a2 Validate in CI that the GitHub server versions in package.json and version.ts match 2025-02-04 12:24:08 +00:00
David Soria Parra
c5968be422 Merge pull request #592 from timrogers/timrogers/github-user-agent
Include meaningful `User-Agent` header in requests to the GitHub UI
2025-02-04 12:03:29 +00:00
Shotaro Sano
089b7f9abe Fix misleading edit_file functionality docs in filesystem README 2025-02-03 12:00:41 +09:00
Jerome
8d54d44b2e Merge pull request #552 from anishp/gdrive-path-fix
windows credential file path resolution fixes #301
2025-02-03 13:17:28 +13:00
Jerome
c37ce47196 Merge pull request #551 from shashwat001/add-git-init
Add git init command support to mcp-git-server and update README
2025-02-03 12:42:13 +13:00
Jerome
9ff0b02f17 Merge pull request #540 from freiit/patch-1
memory-mcp: add a volume to docker, otherwise memory gets lost
2025-02-03 12:39:42 +13:00
Tim Rogers
df63442c3c Include meaningful User-Agent header in requests to the GitHub UI
This adds a custom `User-Agent` header to requests from the
GitHub server to the GitHub API, identifying the application,
the version and key information about the environment.

This aligns with the [recommendations][1] in the GitHub Docs.

As part of this change, I have also moved the current version of
the server into a constant, and fix the initialization of `Server`
to use that version, taking from `package.json`.

[1]: https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api?apiVersion=2022-11-28#user-agent
2025-02-02 15:04:59 +00:00