Skip to content

Commit 3e413ff

Browse files
authored
Merge branch 'main' into main
2 parents e6d12a5 + aad86ee commit 3e413ff

File tree

16 files changed

+812
-225
lines changed

16 files changed

+812
-225
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104
105105
publish-pypi:
106106
needs: [update-packages, create-metadata]
107+
if: ${{ needs.create-metadata.outputs.pypi_packages != '[]' && needs.create-metadata.outputs.pypi_packages != '' }}
107108
strategy:
108109
fail-fast: false
109110
matrix:
@@ -145,6 +146,7 @@ jobs:
145146

146147
publish-npm:
147148
needs: [update-packages, create-metadata]
149+
if: ${{ needs.create-metadata.outputs.npm_packages != '[]' && needs.create-metadata.outputs.npm_packages != '' }}
148150
strategy:
149151
fail-fast: false
150152
matrix:

README.md

Lines changed: 93 additions & 20 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/everything/README.md

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,24 @@ This MCP server attempts to exercise all the features of the MCP protocol. It is
2727
- Returns: Completion message with duration and steps
2828
- Sends progress notifications during execution
2929

30-
4. `sampleLLM`
30+
4. `printEnv`
31+
- Prints all environment variables
32+
- Useful for debugging MCP server configuration
33+
- No inputs required
34+
- Returns: JSON string of all environment variables
35+
36+
5. `sampleLLM`
3137
- Demonstrates LLM sampling capability using MCP sampling feature
3238
- Inputs:
3339
- `prompt` (string): The prompt to send to the LLM
3440
- `maxTokens` (number, default: 100): Maximum tokens to generate
3541
- Returns: Generated LLM response
3642

37-
5. `getTinyImage`
43+
6. `getTinyImage`
3844
- Returns a small test image
3945
- No inputs required
4046
- Returns: Base64 encoded PNG image data
4147

42-
6. `printEnv`
43-
- Prints all environment variables
44-
- Useful for debugging MCP server configuration
45-
- No inputs required
46-
- Returns: JSON string of all environment variables
47-
4848
7. `annotatedMessage`
4949
- Demonstrates how annotations can be used to provide metadata about content
5050
- Inputs:
@@ -80,6 +80,15 @@ This MCP server attempts to exercise all the features of the MCP protocol. It is
8080
- `pets` (enum): Favorite pet
8181
- Returns: Confirmation of the elicitation demo with selection summary.
8282

83+
10. `structuredContent`
84+
- Demonstrates a tool returning structured content using the example in the specification
85+
- Provides an output schema to allow testing of client SHOULD advisory to validate the result using the schema
86+
- Inputs:
87+
- `location` (string): A location or ZIP code, mock data is returned regardless of value
88+
- Returns: a response with
89+
- `structuredContent` field conformant to the output schema
90+
- A backward compatible Text Content field, a SHOULD advisory in the specification
91+
8392
### Resources
8493

8594
The server provides 100 test resources in two formats:
@@ -160,22 +169,24 @@ For quick installation, use of of the one-click install buttons below...
160169

161170
[![Install with Docker in VS Code](https://img.shields.io/badge/VS_Code-Docker-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=everything&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22mcp%2Feverything%22%5D%7D) [![Install with Docker in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Docker-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=everything&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22mcp%2Feverything%22%5D%7D&quality=insiders)
162171

163-
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open User Settings (JSON)`.
172+
For manual installation, you can configure the MCP server using one of these methods:
164173

165-
Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
174+
**Method 1: User Configuration (Recommended)**
175+
Add the configuration to your user-level MCP configuration file. Open the Command Palette (`Ctrl + Shift + P`) and run `MCP: Open User Configuration`. This will open your user `mcp.json` file where you can add the server configuration.
166176

167-
> Note that the `mcp` key is not needed in the `.vscode/mcp.json` file.
177+
**Method 2: Workspace Configuration**
178+
Alternatively, you can add the configuration to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
179+
180+
> For more details about MCP configuration in VS Code, see the [official VS Code MCP documentation](https://code.visualstudio.com/docs/copilot/mcp).
168181
169182
#### NPX
170183

171184
```json
172185
{
173-
"mcp": {
174-
"servers": {
175-
"everything": {
176-
"command": "npx",
177-
"args": ["-y", "@modelcontextprotocol/server-everything"]
178-
}
186+
"servers": {
187+
"everything": {
188+
"command": "npx",
189+
"args": ["-y", "@modelcontextprotocol/server-everything"]
179190
}
180191
}
181192
}

0 commit comments

Comments
 (0)