Mirror of https://github.com/modelcontextprotocol/example-remote-server — A hosted version of the Everything server - for demonstration and testing purposes, hosted at https://example-server.modelcontextprotocol.io/mcp
  • TypeScript 87.3%
  • Shell 8.7%
  • HTML 2.3%
  • CSS 1.4%
  • JavaScript 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jerome 93c939614e
Fix tests to work with ES modules and TypeScript
- Updated Jest configuration to use ts-jest ESM preset
- Added NODE_OPTIONS flag for experimental VM modules support
- Fixed import statements in all test files to import Jest globals
- Rewrote provider.test.ts to work with ESM (using actual implementations with mock Redis)
- Fixed test expectations to match actual implementation
- Fixed encryption key generation in tests (using proper 64-char hex tokens)
- Standardized token_type to "Bearer" across codebase
- Removed unused imports to fix lint errors
- Excluded scratch folder from test runs

All tests now pass successfully with proper ES module support.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

Relocked
2025-06-04 13:16:42 +01:00
.devcontainer Initial commit 2025-06-04 13:16:20 +01:00
.github Initial commit 2025-06-04 13:16:20 +01:00
src Fix tests to work with ES modules and TypeScript 2025-06-04 13:16:42 +01:00
.git-blame-ignore-revs Initial commit 2025-06-04 13:16:20 +01:00
.gitignore Initial commit 2025-06-04 13:16:20 +01:00
CLAUDE.md Initial commit 2025-06-04 13:16:20 +01:00
eslint.config.mjs Initial commit 2025-06-04 13:16:20 +01:00
jest.config.js Fix tests to work with ES modules and TypeScript 2025-06-04 13:16:42 +01:00
package-lock.json Fix tests to work with ES modules and TypeScript 2025-06-04 13:16:42 +01:00
package.json Fix tests to work with ES modules and TypeScript 2025-06-04 13:16:42 +01:00
tsconfig.json Initial commit 2025-06-04 13:16:20 +01:00