Commit Graph

398 Commits

Author SHA1 Message Date
cliffhall
487fe0237c Update README.md 2025-03-17 10:32:57 -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
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
Ola Hungerford
19b701baa3 Add annotated message example 2025-02-14 20:39:55 -07: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
Jerome
ed693a9f82 Merge branch 'main' into main 2025-02-07 14:02:15 +13: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
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
Jerome
0f7730209d Merge pull request #450 from k33g/patch-1
Add arguments to the docker command to avoid the server exit
2025-02-02 09:02:48 +13:00
Jerome
17c5aeaf67 Merge pull request #398 from mathcass/filesystem-typo
fix: update filesystem readme
2025-02-02 08:56:23 +13:00
Jerome
daf9ef4241 Merge pull request #397 from apappascs/feat/add-start-scripts-everything-server
feat: Add start and start:sse scripts to package.json on everything server
2025-02-02 08:54:37 +13:00
Jerome
ab3a1e0143 Merge pull request #392 from s2005/feature/memory-improvements
Feature/memory improvements
2025-02-02 08:53:42 +13:00
Jerome
16dfe5a7c6 Merge pull request #378 from interrobot/windows-default-encoding-fix
Update mcp_server_sqlite to use robust text encoding by default (Windows)
2025-01-30 15:28:52 +13:00
Shashwat Kumar
cda3736800 Merge branch 'main' into add-git-init 2025-01-24 23:08:37 +05:30
Anish Pednekar
a24a33ad27 Merge branch 'main' into gdrive-path-fix 2025-01-23 00:58:58 +05:30
Justin Spahr-Summers
fe014d2136 Fix old toolResult usage in GitHub server 2025-01-22 11:13:29 +00:00
Anish Pednekar
c701fe7dea windows credential file path resolution fix 2025-01-22 15:54:49 +05:30
Shashwat
fc32e87129 Add git init command support to mcp-git-server and update README 2025-01-21 17:44:18 +05:30
Alexandros Pappas
71da7b29f3 Merge branch 'main' into feat/add-start-scripts-everything-server 2025-01-19 16:04:05 +01:00
freiit
0cf470e846 "," after last element of JSON object removed. 2025-01-17 11:09:24 +01:00
freiit
726f50a4d5 add a volume to docker, otherwise memory gets lost 2025-01-17 11:02:20 +01:00
interrobot
3da9821d92 Merge branch 'main' into windows-default-encoding-fix 2025-01-15 23:11:34 -05:00
David Soria Parra
a540ff8090 Merge branch 'main' into patch-1 2025-01-15 20:23:38 +00:00
David Soria Parra
861a51c35c Merge pull request #487 from thejcannon/patch-2
Hint to LLM to add the period to timestamps
2025-01-15 20:20:57 +00:00
David Soria Parra
53f4a23b73 Update server implementation and dependencies 2025-01-15 17:27:12 +00:00
David Soria Parra
49489d4864 Merge pull request #464 from erdnax123/erdnax123-patch-2
fix warnings: - FromAsCasing: 'as' and 'FROM' keywords' casing do not…
2025-01-15 09:34:07 +00:00
David Soria Parra
3bf9d2cbcb Merge pull request #507 from alezkv/alezkv/update-error-handling
Update error handling to use ErrorData consistently
2025-01-15 09:29:53 +00:00
Alexandros Pappas
49088d0b5c Merge branch 'main' into feat/add-start-scripts-everything-server 2025-01-14 16:20:28 +01:00
Justin Spahr-Summers
de256a48b1 fix: Add missing CreatePullRequestSchema and createPullRequest function 2025-01-14 11:19:13 +00:00
Justin Spahr-Summers
a12c6ff23d Merge main: Move to modular structure and add PR functionality 2025-01-14 11:11:41 +00:00
Peter M. Elias
eea524abcf fix: make checkForExistingPullRequest check exact head/base match 2025-01-13 11:53:22 -08:00
Peter M. Elias
339a7b6708 fix: restore original environment variable name for GitHub token 2025-01-13 11:53:22 -08:00
Peter M. Elias
cfd613693c fix: handle URL parameter types correctly in listIssues function 2025-01-13 11:53:22 -08:00
Peter M. Elias
8016e366cd fix: use buildUrl utility in search module 2025-01-13 11:53:22 -08:00
Peter M. Elias
dac0b7cc34 fix: use buildUrl utility in issues module 2025-01-13 11:53:22 -08:00
Peter M. Elias
10f0aec693 fix: use buildUrl utility in commits module 2025-01-13 11:53:22 -08:00
Peter M. Elias
3e1b3caaec fix: resolve typescript errors and add buildUrl utility
- Fix headers type assertion issue
- Add buildUrl utility function for URL parameter handling
2025-01-13 11:53:22 -08:00
Peter M. Elias
272e26935b feat: add GitHub error handling to MCP server
- Import GitHubError types
- Add error formatting utility
- Update error handling in request handler
2025-01-13 11:53:22 -08:00
Peter M. Elias
10bd24dd02 feat: enhance pull request operations with validation and error handling
- Add branch existence validation
- Add duplicate PR check
- Add comprehensive error handling
- Improve type safety with zod transforms
- Add input sanitization
2025-01-13 11:53:22 -08:00
Peter M. Elias
ff2f2c5347 feat: enhance GitHub request utilities with error handling 2025-01-13 11:53:22 -08:00
Peter M. Elias
fb421b4837 feat: add GitHub API error handling utilities 2025-01-13 11:53:22 -08:00
Peter M. Elias
e921c2725c fix: restore proper runServer function closure 2025-01-13 11:53:22 -08:00