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
185.1K downloads
68.0K stars

The MCP "Everything" server is a comprehensive test server designed to showcase all features of the Model Context Protocol. It provides tools, resources, prompts, and more for developers working on MCP clients, allowing you to thoroughly test your MCP implementations.

Installation Options

Installation with NPM

You can install the MCP Everything server globally using npm:

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

Running Without Installation

Alternatively, you can run the server directly without installation using npx:

npx -y @modelcontextprotocol/server-everything

Running the Server

The server supports multiple transport methods:

Standard I/O (Default)

Run with the default stdio transport:

npx @modelcontextprotocol/server-everything

Or specify stdio explicitly:

npx @modelcontextprotocol/server-everything stdio

Streamable HTTP Transport

Run with the streamable HTTP transport:

npx @modelcontextprotocol/server-everything streamableHttp

HTTP+SSE Transport (Deprecated)

Run with the deprecated HTTP+SSE transport:

npx @modelcontextprotocol/server-everything sse

Integration with Claude Desktop

To use the server with Claude Desktop, add the following configuration to 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 VS Code
  2. Open the Command Palette (Ctrl + Shift + P)
  3. Run MCP: Open User Configuration
  4. Add the following to your mcp.json file:
{
  "servers": {
    "everything": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-everything"]
    }
  }
}

Method 2: Workspace Configuration

Create a .vscode/mcp.json file in your workspace with the same content as above.

Available Features

Tools

The server provides various tools to test MCP client capabilities:

  • echo: Echoes back input messages
  • add: Adds two numbers together
  • longRunningOperation: Demonstrates progress notifications
  • printEnv: Prints environment variables
  • sampleLLM: Tests LLM sampling capabilities
  • getTinyImage: Returns a test image
  • annotatedMessage: Demonstrates content annotations
  • getResourceReference: Returns resource references
  • startElicitation: Initiates interactive elicitation
  • structuredContent: Returns structured data
  • listRoots: Displays MCP roots information

Resources

The server provides 100 test resources:

  • Even-numbered resources are plaintext
  • Odd-numbered resources are binary blobs
  • Supports pagination (10 items per page)
  • Allows subscription to resource updates
  • Demonstrates resource templates
  • Auto-updates subscribed resources every 5 seconds

Prompts

The server implements various prompt templates:

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

Roots Protocol

The server demonstrates the MCP roots protocol capability by:

  • Declaring support for roots changes
  • Handling root change notifications
  • Requesting initial roots during initialization
  • Providing a tool to display current roots

Logging

The server sends random-level log messages every 15 seconds for testing client logging 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