# 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.
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