Demo (Everything) MCP server

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

The MCP Server "Everything" is a comprehensive test server for MCP clients that demonstrates all features of the Model Context Protocol. It provides a variety of tools, resources, and prompts to showcase MCP capabilities, making it ideal for testing and development of MCP client applications.

Installation Options

Using NPM

Install the package globally:

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

Running with NPX

You can run the server directly without installing using npx:

npx -y @modelcontextprotocol/server-everything

Running the Server

Standard STDIO Mode (Default)

npx @modelcontextprotocol/server-everything

Or specify STDIO explicitly:

npx @modelcontextprotocol/server-everything stdio

Streamable HTTP Transport

npx @modelcontextprotocol/server-everything streamableHttp

HTTP+SSE Transport (Deprecated)

npx @modelcontextprotocol/server-everything sse

Integration with MCP Clients

Claude Desktop Integration

Add the following to your claude_desktop_config.json file:

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

VS Code Integration

Manual Configuration

Add the following configuration to your VS Code User Settings (JSON):

  1. Press Ctrl + Shift + P and type Preferences: Open User Settings (JSON)
  2. Add this configuration:
{
  "mcp": {
    "servers": {
      "everything": {
        "command": "npx",
        "args": ["-y", "@modelcontextprotocol/server-everything"]
      }
    }
  }
}

Alternatively, create a .vscode/mcp.json file in your workspace with:

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

Available Features

Tools

The server provides several demonstration tools:

  • echo: Returns input messages
  • add: Adds two numbers together
  • longRunningOperation: Demonstrates progress notifications
  • sampleLLM: Shows LLM sampling capability
  • getTinyImage: Returns a small test image
  • printEnv: Shows environment variables
  • annotatedMessage: Demonstrates content annotations
  • getResourceReference: Returns resource references

Resources

The server provides 100 test resources:

  • Even-numbered resources: plaintext format
  • Odd-numbered resources: binary blob format
  • Features include pagination, subscriptions, templates, and auto-updates

Prompts

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

Using the Tools

You can interact with the tools through your MCP client. For example:

Echo Tool

Call the echo tool with a message parameter:

message: "Hello world!"

Add Tool

Call the add tool with two number parameters:

a: 5
b: 10

Sample LLM Tool

Sample from an LLM with:

prompt: "Write a short poem about technology"
maxTokens: 100

How to add this MCP server to 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 > MCP and click "Add new global MCP server".

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

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

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 explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

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