mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-17 21:54:05 +02:00
Adds comprehensive test coverage for the Everything Server including: Tools (10 tools tested): - echo: message echoing with validation - get-sum: number addition with edge cases - get-env: environment variable retrieval - get-tiny-image: image content blocks - get-structured-content: weather data for all cities - get-annotated-message: priority/audience annotations - trigger-long-running-operation: progress notifications - get-resource-links: dynamic resource link generation - get-resource-reference: text/blob resource validation Prompts (4 prompts tested): - simple-prompt: no-argument prompt - args-prompt: city/state arguments - completable-prompt: department/name completions - resource-prompt: embedded resource references Resources: - templates.ts: URI generation, text/blob resources - session.ts: session-scoped resource registration Test infrastructure: - vitest.config.ts with v8 coverage - Mock server helper for capturing registered handlers - 81 tests, all passing Closes #2925 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"name": "@modelcontextprotocol/server-everything",
|
|
"version": "2.0.0",
|
|
"description": "MCP server that exercises all the features of the MCP protocol",
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"mcpName": "io.github.modelcontextprotocol/server-everything",
|
|
"author": "Model Context Protocol a Series of LF Projects, LLC.",
|
|
"homepage": "https://modelcontextprotocol.io",
|
|
"bugs": "https://github.com/modelcontextprotocol/servers/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/modelcontextprotocol/servers.git"
|
|
},
|
|
"type": "module",
|
|
"bin": {
|
|
"mcp-server-everything": "dist/index.js"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc && shx cp -r docs dist/ && shx chmod +x dist/*.js",
|
|
"prepare": "npm run build",
|
|
"watch": "tsc --watch",
|
|
"start:stdio": "node dist/index.js stdio",
|
|
"start:sse": "node dist/index.js sse",
|
|
"start:streamableHttp": "node dist/index.js streamableHttp",
|
|
"prettier:fix": "prettier --write .",
|
|
"prettier:check": "prettier --check .",
|
|
"test": "vitest run --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
"cors": "^2.8.5",
|
|
"express": "^5.2.1",
|
|
"jszip": "^3.10.1",
|
|
"zod": "^3.25.0",
|
|
"zod-to-json-schema": "^3.23.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.19",
|
|
"@types/express": "^5.0.6",
|
|
"@vitest/coverage-v8": "^2.1.8",
|
|
"shx": "^0.3.4",
|
|
"typescript": "^5.6.2",
|
|
"prettier": "^2.8.8",
|
|
"vitest": "^2.1.8"
|
|
}
|
|
}
|