Skip to main content
Glama
soriat

MCP Elicitations Demo Server

by soriat

MCP Everything Server

A comprehensive reference implementation for the Model Context Protocol (MCP) that demonstrates all features of the protocol. This server showcases the versatility and extensibility of MCP, demonstrating how it can be used to give Large Language Models (LLMs) secure, controlled access to tools and data sources.

This server is built with the TypeScript MCP SDK.

Features

This server implements a comprehensive set of MCP features including:

  • Tools: Various tools including echo, add, long-running operations, environment variable printing, LLM sampling, and more

  • Prompts: Simple and complex prompts with arguments, resource references, and embedded content

  • Resources: Static resources with pagination support, resource templates, and subscriptions

  • Logging: Configurable logging levels with real-time notifications

  • Completions: Auto-completion for prompt arguments and resource references

  • Elicitation: Interactive user input collection with structured schemas

  • Annotations: Content annotations for priority and audience targeting

  • Progress Tracking: Progress notifications for long-running operations

  • Real-time Updates: Resource update notifications and stderr streaming

Related MCP server: Hello World MCP Server

Installation

npm install -g @modelcontextprotocol/server-everything

Usage

Standard I/O

mcp-server-everything

Server-Sent Events (SSE)

npm run start:sse

HTTP with Streaming Support

npm run start:streamableHttp

Development

  1. Clone the repository:

git clone https://github.com/modelcontextprotocol/servers.git cd servers
  1. Install dependencies:

npm install
  1. Build the server:

npm run build
  1. Run the server:

npm start

Configuration

The server supports various configuration options and can be used to test and demonstrate MCP capabilities. It includes:

  • 100 static resources (mix of text and binary)

  • Multiple tool implementations

  • Various prompt templates

  • Real-time notifications and updates

  • Progress tracking for long operations

Docker

Build and run with Docker:

docker build -t mcp-everything-server . docker run -p 3000:3000 mcp-everything-server

License

MIT - See LICENSE file for details.

Contributing

See CONTRIBUTING.md for contribution guidelines.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/soriat/soria-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server