Discover Awesome MCP Servers

Extend your agent with 42,365 capabilities via MCP servers.

All42,365
slack-mcp-server

slack-mcp-server

TMDB MCP Server

TMDB MCP Server

Cho phép các trợ lý AI tìm kiếm và truy xuất thông tin phim từ API của The Movie Database (TMDB) thông qua giao diện Giao thức Ngữ cảnh Mô hình.

GitHub MCP Server

GitHub MCP Server

everyday series assignment

MCP Server Go

MCP Server Go

MCP Kipris

MCP Kipris

Máy chủ MCP cho KIPRIS Plus, để tìm kiếm bằng sáng chế trong.

easy-mcp

easy-mcp

Absurdly easy Model Context Protocol Servers in Typescript

Sentry

Sentry

Một máy chủ MCP kết nối với Sentry.io hoặc các phiên bản Sentry tự lưu trữ để truy xuất và phân tích các báo cáo lỗi, dấu vết ngăn xếp và thông tin gỡ lỗi.

MCP Development Server

MCP Development Server

Mirror of

Sonic Pi MCP

Sonic Pi MCP

Một máy chủ giao thức ngữ cảnh mô hình (Model Context Protocol) cho phép các trợ lý AI như Claude và Cursor tạo nhạc và điều khiển Sonic Pi một cách có lập trình thông qua các thông điệp OSC.

China Weather MCP Server

China Weather MCP Server

Máy chủ MCP để truy vấn thời tiết ở các thành phố Trung Quốc.

Crypto Fear & Greed Index MCP Server

Crypto Fear & Greed Index MCP Server

Một máy chủ MCP cung cấp dữ liệu Chỉ số Sợ hãi và Tham lam tiền điện tử theo thời gian thực và lịch sử.

P-GitHubTestRepo

P-GitHubTestRepo

được tạo từ bản demo máy chủ MCP

mcp-server-weaviate

mcp-server-weaviate

Một máy chủ cho phép Claude AI tương tác với cơ sở dữ liệu vector Weaviate, hỗ trợ cả thao tác tìm kiếm và lưu trữ thông qua giao thức MCP của Anthropic.

Unity AI MCP Server

Unity AI MCP Server

An MCP server that provides AI-powered tools and assistance for Unity game development, integrating with Cursor IDE

Advanced PocketBase MCP Server

Advanced PocketBase MCP Server

Mirror of

Coco AI

Coco AI

Ứng dụng Coco AI - Tìm kiếm, Kết nối, Cộng tác, Trợ lý và Tìm kiếm AI cá nhân của bạn, tất cả trong một không gian.

mcp-server-imessage

mcp-server-imessage

Máy chủ MCP để tương tác với iMessage trên macOS

🌐 Starknet MCP Server

🌐 Starknet MCP Server

Starknet MCP server.

Runbook MCP server

Runbook MCP server

Todo Assistant with AI and Google Calendar Integration

Todo Assistant with AI and Google Calendar Integration

AI-powered todo assistant with Google Calendar integration using OpenAI's API and Model Context Protocol (MCP) support for natural language task management.

FindRepo MCP Server

FindRepo MCP Server

MCP Stock Market

MCP Stock Market

Một công cụ Giao thức Bối cảnh Mô hình (Model Context Protocol) để truy xuất dữ liệu thị trường chứng khoán hàng ngày cho bất kỳ mã chứng khoán nào bằng cách sử dụng API Alpha Vantage.

MCP Servers - OpenAI and Flux Integration

MCP Servers - OpenAI and Flux Integration

Mirror of

Typescript Mcp Server Usage

Typescript Mcp Server Usage

Okay, I can help you with that. However, providing a *complete* and fully functional MCP (Minecraft Protocol) server implementation in TypeScript within this response is impractical due to its complexity. Instead, I'll give you a foundational example and point you towards resources that will help you build a more robust solution. Here's a basic outline and code snippets to get you started, along with explanations and important considerations: **Conceptual Outline** 1. **Project Setup:** Initialize a TypeScript project with `npm init -y` and install necessary dependencies. 2. **Networking:** Use Node.js's `net` module to listen for incoming TCP connections from Minecraft clients. 3. **Protocol Handling:** Implement the Minecraft protocol (MCP) parsing and serialization. This is the most complex part. You'll need to understand the packet structure, data types, and state transitions. 4. **Authentication (Optional):** Handle Minecraft account authentication (e.g., using Mojang's authentication servers). 5. **Game Logic (Basic):** Implement minimal game logic, such as sending world data, handling player movement, and processing chat messages. 6. **Error Handling:** Implement robust error handling to prevent crashes and provide informative messages. **Code Snippets (Illustrative)** ```typescript // index.ts import * as net from 'net'; const server = net.createServer((socket) => { console.log('Client connected:', socket.remoteAddress, socket.remotePort); socket.on('data', (data) => { console.log('Received data:', data); // TODO: Parse the Minecraft protocol packet here // and respond accordingly. // Example: Send a simple chat message back to the client const response = Buffer.from([0x02, 0x00, 0x0b, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x20, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x21]); // Example chat packet socket.write(response); }); socket.on('end', () => { console.log('Client disconnected:', socket.remoteAddress, socket.remotePort); }); socket.on('error', (err) => { console.error('Socket error:', err); }); }); const port = 25565; // Default Minecraft port server.listen(port, () => { console.log(`Server listening on port ${port}`); }); ``` **Explanation:** * **`net.createServer()`:** Creates a TCP server that listens for incoming connections. * **`socket.on('data')`:** This is where you receive data from the client. The `data` is a `Buffer` containing the raw bytes of the Minecraft protocol packet. You'll need to parse this buffer according to the MCP specification. * **`socket.write()`:** Sends data back to the client. You'll need to construct the appropriate Minecraft protocol packet as a `Buffer` before sending it. * **`socket.on('end')`:** Handles client disconnections. * **`socket.on('error')`:** Handles socket errors. **Key Challenges and Considerations** * **Minecraft Protocol (MCP):** The MCP is complex and has different versions. You'll need to choose a version to support and implement the corresponding packet structures. Refer to the official Minecraft Wiki and other resources for protocol documentation. * **Data Types:** The MCP uses various data types, including integers, strings, booleans, and arrays. You'll need to handle these correctly when parsing and serializing packets. * **State Management:** The server and client go through different states (handshaking, status, login, play). You'll need to manage these states and handle packets accordingly. * **Security:** Implement security measures to prevent attacks, such as packet validation and rate limiting. * **Performance:** Optimize your code for performance, especially when handling a large number of concurrent connections. **Dependencies (Example)** You'll likely need these: ```bash npm install @types/node --save-dev // For Node.js typings ``` **Example `tsconfig.json`** ```json { "compilerOptions": { "target": "es2017", "module": "commonjs", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, "skipLibCheck": true, "outDir": "dist" }, "include": ["index.ts"], "exclude": ["node_modules"] } ``` **How to Run** 1. Save the code as `index.ts`. 2. Create a `tsconfig.json` file (as above). 3. Run `npm install` to install dependencies. 4. Compile the TypeScript code: `tsc` 5. Run the server: `node dist/index.js` **Important Resources** * **Minecraft Protocol Wiki:** The official Minecraft Wiki is the best source for MCP documentation: [https://wiki.vg/Protocol](https://wiki.vg/Protocol) * **Node.js `net` Module:** Documentation for the Node.js networking module: [https://nodejs.org/api/net.html](https://nodejs.org/api/net.html) * **Existing Libraries:** Look for existing TypeScript libraries that provide MCP parsing and serialization. Be aware that many may be outdated or incomplete. Search on npm. **Vietnamese Translation of Key Concepts** * **Minecraft Protocol (MCP):** Giao thức Minecraft * **Packet:** Gói tin * **Server:** Máy chủ * **Client:** Máy khách * **Socket:** Ổ cắm (trong ngữ cảnh mạng) * **Data:** Dữ liệu * **Buffer:** Bộ đệm * **Authentication:** Xác thực * **Networking:** Kết nối mạng * **TypeScript:** TypeScript **Next Steps** 1. **Study the Minecraft Protocol:** Thoroughly understand the MCP specification for the version you want to support. 2. **Implement Packet Parsing:** Write code to parse incoming packets from the client. 3. **Implement Packet Serialization:** Write code to create and send packets to the client. 4. **Handle Handshaking and Login:** Implement the initial handshaking and login sequences. 5. **Implement Basic Game Logic:** Start with simple game logic, such as sending world data and handling player movement. This is a complex project, so start small and build incrementally. Good luck!

Remix Icon MCP

Remix Icon MCP

MCP Client Server With LLM Command Execution

MCP Client Server With LLM Command Execution

goose-with-mcp-servers

goose-with-mcp-servers

Codename goose docker image with mcp servers

YouTube Transcript Server

YouTube Transcript Server

Mirror of

WorldTime MCP Server

WorldTime MCP Server

Máy chủ MCP múi giờ dựa trên API TimezoneDB OSS.

Pocketbase Mcp

Pocketbase Mcp

MCP-compliant PocketBase server implementation