Home / MCP / Everything MCP Server
A test MCP server that demonstrates prompts, tools, resources, sampling, and roots interactions for client testing.
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.
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.
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)
npx @modelcontextprotocol/server-everythingYou 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"]
}
}
}Echoes back a provided message input and returns it as text content.
Adds two numbers, returning the textual result.
Simulates a long operation with progress notifications, based on duration and steps parameters.
Prints all environment variables as a JSON string for debugging MCP server configuration.
Demonstrates LLM sampling by returning a generated response from a provided prompt with a configurable max token limit.
Returns a small test image encoded as Base64 PNG data.
Shows how annotations can attach metadata and priorities to messages, with an optional image.
Provides a reference to a resource by ID, including an embedded resource and usage instructions.
Initiates an elicitation interaction within the MCP client and returns a confirmation with the selections.
Returns structured content conforming to a schema, plus a backward-compatible text content field.
Lists current MCP roots provided by the client, demonstrating the roots protocol capability.