Commit Graph

444 Commits

Author SHA1 Message Date
cliffhall
b8ecbe79de Adjust intervals for outgoing demo messages
- subscription updates: 10 seconds
- logging messages: 20 seconds
- stderr messages: 30 seconds
2025-04-15 10:52:34 -04:00
cliffhall
41fa29e21b Fix formatting 2025-04-14 17:32:33 -04:00
cliffhall
9655d471f7 Add periodic stderr messages.
In everything.ts
- add a 10 second interval for sending 'notifications/stderr' messages to the client

This was created in order to test the display and clearing of stderr messages in the client.
- see https://github.com/modelcontextprotocol/inspector/pull/286
2025-04-14 17:13:11 -04:00
Seongtaek Oh
33447683ee Merge branch 'main' into feat/optimize-slack-get-channels 2025-04-15 00:04:09 +09:00
Ashwin Bhat
53a5410d32 Merge pull request #1249 from modelcontextprotocol/ashwin/github
Update github CreatePullRequestReview schema to allow line or position
2025-04-07 10:13:20 -07:00
Ashwin Bhat
3798e87303 Merge pull request #1197 from modelcontextprotocol/ashwin/resources
Add embedded resource reference example to everything server
2025-04-07 08:27:01 -07:00
Seongtaek Oh
c1b21df0ae Merge branch 'main' into feat/optimize-slack-get-channels 2025-04-05 16:12:07 +09:00
Toby Padilla
87b4170868 docs: update GitHub server with deprecation notice 2025-04-04 13:27:01 -06:00
nevergettingold
ebfd210e99 docs: update README 2025-04-05 00:34:42 +09:00
5startaek
3eee3e6872 feat: modify getChannels method to support fetching channels by IDs from env 2025-04-04 23:46:42 +09:00
Ashwin Bhat
1c175614f6 Update pull request review schema to allow line or position
Allow either line or position in PR review comments, but not both,
to align with GitHub API functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-03 21:20:35 -07:00
Ola Hungerford
5e54cd33bd Merge pull request #1166 from modelcontextprotocol/force-bump-redis-and-memory
Add missing capabilities and improve connection handling for server-redis
2025-04-03 06:46:11 -07:00
Ashwin Bhat
26ae300622 Add resource reference support to MCP server
- Add new tool 'getResourceReference' that returns embedded resources
- Add new prompt 'resource_prompt' demonstrating embedded resources in prompts
- Update documentation with new tool and prompt details
- Create CLAUDE.md with development guidelines

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-01 17:47:07 -07:00
YuDavidCao
2fa9cb93e3 fix: puppeteer readme launch option json missing comma 2025-04-01 14:52:29 -04:00
Ola Hungerford
f323325275 Revert serer-memory for now 2025-03-31 08:41:28 -07:00
Ola Hungerford
4e660a2d99 Update Readme 2025-03-31 08:12:53 -07:00
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
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
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
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