Demo (Everything) MCP server

Test protocol features and tools for client compatibility.
Back to servers
Setup instructions
Provider
Anthropic
Release date
Nov 19, 2024
Language
TypeScript
Package
Stats
561.2K downloads
74.0K stars

The Everything MCP Server is a comprehensive testing platform for Model Context Protocol (MCP) clients, providing a wide range of features including tools, resources, prompts, and more. It's designed to demonstrate MCP capabilities rather than serve as a production server.

Installation Options

Using NPM

Install the server globally using npm:

npm install -g @modelcontextprotocol/server-everything@latest

Using Docker

The server can also be run using Docker (see configuration examples below).

Running the Server

After installation, you can run the server using different transport methods:

Default (stdio) Server

npx @modelcontextprotocol/server-everything

Streamable HTTP Transport

npx @modelcontextprotocol/server-everything streamableHttp

SSE Server (Deprecated)

npx @modelcontextprotocol/server-everything sse

Integration with Claude Desktop

To use with Claude Desktop, update your claude_desktop_config.json file:

{
  "mcpServers": {
    "everything": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-everything"
      ]
    }
  }
}

Integration with VS Code

Manual Configuration

Method 1: User Configuration (Recommended)

  1. Open the Command Palette (Ctrl + Shift + P)
  2. Run MCP: Open User Configuration
  3. Add this configuration to your user mcp.json file:
{
  "servers": {
    "everything": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-everything"]
    }
  }
}

Method 2: Workspace Configuration

Add the same configuration to .vscode/mcp.json in your workspace.

Available Features

Tools

The server provides various tools to demonstrate MCP capabilities:

  • echo: Returns the input message
  • add: Adds two numbers together
  • longRunningOperation: Demonstrates progress notifications
  • printEnv: Shows all environment variables
  • sampleLLM: Demonstrates LLM sampling
  • getTinyImage: Returns a test image
  • annotatedMessage: Shows different annotation patterns
  • getResourceReference: Returns resource references
  • startElicitation: Initiates an interaction within the MCP client
  • structuredContent: Returns structured content with schema validation
  • listRoots: Shows current MCP roots

Resources

The server provides 100 test resources:

  • Even-numbered resources are plaintext
  • Odd-numbered resources are binary data
  • Supports pagination, subscriptions, and auto-updates

Prompts

  • simple_prompt: Basic prompt without arguments
  • complex_prompt: Advanced prompt with argument handling
  • resource_prompt: Demonstrates embedding resource references

Usage Examples

When connected to the server, you can call any of the provided tools. For example:

Using the Echo Tool

Call the echo tool with a message parameter: "Hello, MCP!"

Using the Add Tool

Use the add tool to calculate 42 + 17

Accessing Resources

Get resource reference with ID 10

Using Prompts

Execute the complex_prompt with temperature="warm" and style="casual"

The server will respond appropriately to each request, demonstrating the various MCP protocol capabilities.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "everything" '{"command":"npx","args":["-y","@modelcontextprotocol/server-everything"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "everything": {
            "command": "npx",
            "args": [
                "-y",
                "@modelcontextprotocol/server-everything"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "everything": {
            "command": "npx",
            "args": [
                "-y",
                "@modelcontextprotocol/server-everything"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later