Skip to main content
Glama

MCP Test Server

by zgh2hh

MCP Test

A test repository for MCP (Model Context Protocol) functionality with TypeScript support.

Features

  • TypeScript-based MCP server implementation

  • Example configurations and usage

  • Jest-based test cases

  • Development tools setup (ts-node, ts-node-dev)

Project Structure

├── src/ │ ├── server.ts # Main server implementation │ └── types/ # TypeScript definitions ├── examples/ │ └── basic-server.ts # Example usage ├── test/ │ └── server.test.ts # Test cases └── package.json # Project configuration

Getting Started

  1. Clone the repository

git clone https://github.com/zgh2hh/mcp-test.git cd mcp-test
  1. Install dependencies

npm install
  1. Build the project

npm run build
  1. Run examples

# Run the basic server example npm run example # Development mode with auto-reload npm run dev
  1. Run tests

npm test

Development

  • npm run build - Compile TypeScript to JavaScript

  • npm run dev - Start development mode with auto-reload

  • npm test - Run test cases

  • npm run example - Run the example server

License

This project is licensed under the MIT License - see the LICENSE file for details.

-
security - not tested
A
license - permissive license
-
quality - not tested

A TypeScript-based test implementation for the Model Context Protocol (MCP) with example configurations and Jest test cases. Provides a development foundation for building and testing MCP server functionality.

  1. Features
    1. Project Structure
      1. Getting Started
        1. Development
          1. License

            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/zgh2hh/mcp-test'

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