Skip to main content
Glama
zgh2hh

MCP Test Server

by zgh2hh
README.md
# 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
```bash
git clone https://github.com/zgh2hh/mcp-test.git
cd mcp-test
```

2. Install dependencies
```bash
npm install
```

3. Build the project
```bash
npm run build
```

4. Run examples
```bash
# Run the basic server example
npm run example

# Development mode with auto-reload
npm run dev
```

5. Run tests
```bash
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](LICENSE) file for details.