Home / MCP / Everything MCP Server

Everything MCP Server

A test MCP server that demonstrates prompts, tools, resources, sampling, and roots interactions for client testing.

typescript
74.1kstars
Installation
Add the following to your MCP client configuration file.

Configuration

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

You can run the Everything MCP Server to explore a wide range of MCP features in a safe, test-focused environment. This server demonstrates prompts, tools, resources, sampling, structured content, and roots interactions. It’s designed to showcase what MCP clients can do and to help you validate client behavior, tooling, and integration patterns.

How to use

To use this MCP server, connect your MCP client to the local or remote server endpoint you choose. You can interact with a variety of test tools and prompts to exercise prompts, resource handling, sampling, and progress notifications. Use the client to invoke tools like echo, add, longRunningOperation, and getResourceReference, and to exercise structured content responses and resource subscriptions. This guide focuses on practical usage patterns to help you validate client capabilities, error handling, and user-facing content delivery.

How to install

Prerequisites: ensure you have Node.js and npm installed on your machine.

Install or run the server via npm or npx using the provided package name.

Option A: Quick run using NPX (recommended for testing)

Option A: Quick run using NPX (recommended for testing)

npx @modelcontextprotocol/server-everything

Option B: Claude Desktop or VS Code integration (stdio transport)

You can configure a local MCP server entry that uses stdio transport by running the following configuration in your MCP client setup.

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

Available tools

echo

Echoes back a provided message input and returns it as text content.

add

Adds two numbers, returning the textual result.

longRunningOperation

Simulates a long operation with progress notifications, based on duration and steps parameters.

printEnv

Prints all environment variables as a JSON string for debugging MCP server configuration.

sampleLLM

Demonstrates LLM sampling by returning a generated response from a provided prompt with a configurable max token limit.

getTinyImage

Returns a small test image encoded as Base64 PNG data.

annotatedMessage

Shows how annotations can attach metadata and priorities to messages, with an optional image.

getResourceReference

Provides a reference to a resource by ID, including an embedded resource and usage instructions.

startElicitation

Initiates an elicitation interaction within the MCP client and returns a confirmation with the selections.

structuredContent

Returns structured content conforming to a schema, plus a backward-compatible text content field.

listRoots

Lists current MCP roots provided by the client, demonstrating the roots protocol capability.