JSPM

  • Created
  • Published
  • Downloads 38
  • Score
    100M100P100Q96223F
  • License ISC

A collection of MCP test servers including working servers (ping, resource, combined, env-echo) and test failure cases (broken-tool, crash-on-startup)

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@msfeldstein/mcp-test-servers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    MCP Test Servers

    A collection of test servers implementing the Model Context Protocol (MCP).

    Available Servers

    • ping: A simple server that responds with 'pong'
    • resource: Resource server implementation
    • combined: Combined server implementation
    • broken-tool: Server with intentionally broken tool
    • crash-on-startup: Server that crashes on startup
    • env-check: Server for environment checking
    • env-echo: Server that echoes environment variables
    • many-resources: Server with multiple resources
    • duplicate-names: Server with duplicate name implementations
    • image: Server for image handling
    • big-response: Server that returns large responses
    • date: Server for date operations
    • time: Server that returns the current time in ISO format
    • many-tools: Server with 100 tools that each return 'ack'

    Usage

    To run a server, use:

    npx @msfeldstein/mcp-test-servers <server-type>

    Example:

    npx @msfeldstein/mcp-test-servers time

    Server Details

    Time Server

    The time server provides a simple tool to get the current time:

    • Tool: get-time
    • Returns: Current time in ISO format
    • No parameters required

    Many Tools Server

    The many tools server provides 100 simple tools:

    • Tools: tool_1 through tool_100
    • Each tool returns: 'ack'
    • No parameters required

    Ubuntu SSH Docker Container

    This project provides a Docker container running Ubuntu with SSH access.

    Setup

    1. Make sure you have Docker and Docker Compose installed on your system.

    2. Create a shared directory for file exchange between host and container:

      mkdir -p shared
    3. Build and start the container:

      docker-compose up -d

    Accessing the Container

    SSH Access

    Connect to the container using SSH:

    ssh ubuntu@localhost -p 2222

    Password: ubuntu

    You can also connect as root:

    ssh root@localhost -p 2222

    Password: root

    Direct Container Access

    You can also access the container directly using Docker:

    docker exec -it ubuntu-ssh bash

    Shared Files

    The ./shared directory on your host is mounted to /home/ubuntu/shared in the container. You can use this to exchange files between your host and the container.

    Stopping the Container

    To stop the container:

    docker-compose down

    Haiku

    Servers test and ping
    Protocols flow back and forth
    Code speaks through the night