Discover Awesome MCP Servers

Extend your agent with 30,124 capabilities via MCP servers.

All30,124
Everything MCP Server

Everything MCP Server

An MCP server implementation providing system-wide functionality including file operations, HTTP requests, and command execution

MCP TypeScript Template

MCP TypeScript Template

A beginner-friendly foundation for building Model Context Protocol (MCP) servers (and in the future also clients) with TypeScript. This template provides a comprehensive starting point with production-ready utilities, well-structured code, and working examples for building an MCP server.

Model Context Protocol (MCP) Server for Unity

Model Context Protocol (MCP) Server for Unity

JBAssist - Microsoft Graph MCP Server

JBAssist - Microsoft Graph MCP Server

A Windows-compatible MCP server for querying Microsoft Graph API

Glean

Glean

Mirror of

Standardizing LLM Interaction with MCP Servers

Standardizing LLM Interaction with MCP Servers

Okay, here's a short and sweet example of a basic MCP (Minecraft Coder Pack) server/client implementation concept for tools, resources, and prompts, focusing on the core idea rather than production-ready code. This is more of a conceptual outline in Python. **Important Considerations:** * **MCP Context:** This assumes you're familiar with the general idea of MCP, which is about deobfuscating Minecraft code. This example *doesn't* actually deobfuscate anything. It's just using the "MCP" name to represent a system for managing tools, resources, and prompts related to Minecraft modding/development. * **Simplicity:** This is *extremely* simplified. A real MCP system is far more complex. * **Python:** I'm using Python for readability. MCP itself is typically associated with Java. **Conceptual Outline** ```python # --- Server (Conceptual MCP Server) --- import socket import threading SERVER_HOST = '127.0.0.1' # Localhost SERVER_PORT = 65432 # In a real system, this would be a database or file system. resource_database = { "block_texture_example": "path/to/example_block.png", "item_model_template": "path/to/item_model.json", } tool_list = ["decompiler", "reobfuscator", "code_editor"] prompt_list = ["How to add a new block?", "How to register an item?"] def handle_client(conn, addr): print(f"Connected by {addr}") while True: data = conn.recv(1024).decode() if not data: break print(f"Received: {data}") if data.startswith("GET_RESOURCE:"): resource_name = data[len("GET_RESOURCE:"):] if resource_name in resource_database: conn.sendall(resource_database[resource_name].encode()) else: conn.sendall("RESOURCE_NOT_FOUND".encode()) elif data == "GET_TOOL_LIST": conn.sendall(str(tool_list).encode()) elif data == "GET_PROMPT_LIST": conn.sendall(str(prompt_list).encode()) else: conn.sendall("UNKNOWN_COMMAND".encode()) conn.close() print(f"Connection closed by {addr}") def start_server(): with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.bind((SERVER_HOST, SERVER_PORT)) s.listen() print(f"Server listening on {SERVER_HOST}:{SERVER_PORT}") while True: conn, addr = s.accept() thread = threading.Thread(target=handle_client, args=(conn, addr)) thread.start() if __name__ == "__main__": start_server() # --- Client (Conceptual MCP Client) --- import socket CLIENT_HOST = '127.0.0.1' CLIENT_PORT = 65432 def get_resource(resource_name): with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.connect((CLIENT_HOST, CLIENT_PORT)) s.sendall(f"GET_RESOURCE:{resource_name}".encode()) data = s.recv(1024).decode() return data def get_tool_list(): with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.connect((CLIENT_HOST, CLIENT_PORT)) s.sendall("GET_TOOL_LIST".encode()) data = s.recv(1024).decode() return data def get_prompt_list(): with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.connect((CLIENT_HOST, CLIENT_PORT)) s.sendall("GET_PROMPT_LIST".encode()) data = s.recv(1024).decode() return data if __name__ == "__main__": # Example Usage resource_path = get_resource("block_texture_example") if resource_path != "RESOURCE_NOT_FOUND": print(f"Resource path: {resource_path}") else: print("Resource not found.") tool_list = get_tool_list() print(f"Tool List: {tool_list}") prompt_list = get_prompt_list() print(f"Prompt List: {prompt_list}") ``` **Explanation:** 1. **Server:** * Listens for client connections. * Handles requests for resources, tools, and prompts. * Uses a simple dictionary (`resource_database`) to store resource paths. In a real system, this would be a database or file system. * Responds to the client with the requested data or an error message. * Uses threads to handle multiple clients concurrently. 2. **Client:** * Connects to the server. * Sends requests for resources, tools, and prompts. * Receives and prints the server's response. * Includes example usage to demonstrate how to retrieve data. **How to Run:** 1. Save the code as a Python file (e.g., `mcp_example.py`). 2. Run the script from your terminal: `python mcp_example.py` (This will start the server). 3. The client code is in the `if __name__ == "__main__":` block at the bottom. It will automatically run when you start the script, connecting to the server and printing the results. **Key Improvements for a Real System:** * **Data Storage:** Use a proper database (e.g., SQLite, PostgreSQL) to store resources, tools, and prompts. * **Error Handling:** Implement more robust error handling (e.g., try-except blocks, logging). * **Security:** Add security measures (e.g., authentication, authorization) if the server is exposed to a network. * **Data Serialization:** Use a more efficient data serialization format (e.g., JSON, Protocol Buffers) for transferring data between the client and server. * **MCP Integration:** The most important part! This example doesn't actually *do* any MCP deobfuscation. You would need to integrate the actual MCP tools and data into the server. This would involve: * Storing mappings (the deobfuscation data) in the database. * Providing an API to the client to request deobfuscated names. * Integrating the MCP command-line tools into the server. * **Asynchronous Communication:** Consider using asynchronous communication (e.g., `asyncio` in Python) for better performance, especially if the server needs to handle many concurrent clients. **Indonesian Translation of the Explanation:** Oke, berikut adalah contoh singkat dan manis dari konsep implementasi server/klien MCP (Minecraft Coder Pack) dasar untuk alat, sumber daya, dan perintah, yang berfokus pada ide inti daripada kode siap produksi. Ini lebih merupakan garis besar konseptual dalam Python. **Pertimbangan Penting:** * **Konteks MCP:** Ini mengasumsikan Anda sudah familiar dengan ide umum MCP, yaitu tentang mendekode kode Minecraft. Contoh ini *tidak* benar-benar mendekode apa pun. Ini hanya menggunakan nama "MCP" untuk mewakili sistem untuk mengelola alat, sumber daya, dan perintah yang terkait dengan modding/pengembangan Minecraft. * **Kesederhanaan:** Ini *sangat* disederhanakan. Sistem MCP yang sebenarnya jauh lebih kompleks. * **Python:** Saya menggunakan Python agar mudah dibaca. MCP itu sendiri biasanya terkait dengan Java. **Garis Besar Konseptual** ```python # (Kode Python seperti di atas) ``` **Penjelasan:** 1. **Server:** * Mendengarkan koneksi klien. * Menangani permintaan untuk sumber daya, alat, dan perintah. * Menggunakan kamus sederhana (`resource_database`) untuk menyimpan jalur sumber daya. Dalam sistem yang sebenarnya, ini akan menjadi database atau sistem file. * Menanggapi klien dengan data yang diminta atau pesan kesalahan. * Menggunakan thread untuk menangani banyak klien secara bersamaan. 2. **Klien:** * Terhubung ke server. * Mengirim permintaan untuk sumber daya, alat, dan perintah. * Menerima dan mencetak respons server. * Mencakup contoh penggunaan untuk menunjukkan cara mengambil data. **Cara Menjalankan:** 1. Simpan kode sebagai file Python (misalnya, `mcp_example.py`). 2. Jalankan skrip dari terminal Anda: `python mcp_example.py` (Ini akan memulai server). 3. Kode klien ada di blok `if __name__ == "__main__":` di bagian bawah. Ini akan berjalan secara otomatis saat Anda memulai skrip, menghubungkan ke server dan mencetak hasilnya. **Peningkatan Utama untuk Sistem Nyata:** * **Penyimpanan Data:** Gunakan database yang tepat (misalnya, SQLite, PostgreSQL) untuk menyimpan sumber daya, alat, dan perintah. * **Penanganan Kesalahan:** Terapkan penanganan kesalahan yang lebih kuat (misalnya, blok try-except, logging). * **Keamanan:** Tambahkan langkah-langkah keamanan (misalnya, otentikasi, otorisasi) jika server terpapar ke jaringan. * **Serialisasi Data:** Gunakan format serialisasi data yang lebih efisien (misalnya, JSON, Protocol Buffers) untuk mentransfer data antara klien dan server. * **Integrasi MCP:** Bagian terpenting! Contoh ini sebenarnya *tidak* melakukan deobfuscation MCP apa pun. Anda perlu mengintegrasikan alat dan data MCP yang sebenarnya ke dalam server. Ini akan melibatkan: * Menyimpan pemetaan (data deobfuscation) di database. * Menyediakan API ke klien untuk meminta nama yang dideobfuscasi. * Mengintegrasikan alat baris perintah MCP ke dalam server. * **Komunikasi Asinkron:** Pertimbangkan untuk menggunakan komunikasi asinkron (misalnya, `asyncio` di Python) untuk kinerja yang lebih baik, terutama jika server perlu menangani banyak klien secara bersamaan.

Aws Service Authorization Reference

Aws Service Authorization Reference

DeepSeek MCP Server

DeepSeek MCP Server

Mirror of

UIThub MCP Server

UIThub MCP Server

Simple MCP server for uithub.com

uv-mcp

uv-mcp

Server MCP untuk introspeksi lingkungan Python.

jira-mcp-server

jira-mcp-server

Memgraph MCP Server

Memgraph MCP Server

Memgraph MCP Server

AI MCP Portal

AI MCP Portal

Portal untuk AIMCP.

Remote MCP Server on Cloudflare

Remote MCP Server on Cloudflare

MCPAgentAI 🚀

MCPAgentAI 🚀

Python SDK designed to simplify interactions with MCP (Model Context Protocol) servers. It provides an easy-to-use interface for connecting to MCP servers, reading resources, and calling tools

teable-mcp-server

teable-mcp-server

Sebuah server MCP untuk berinteraksi dengan database Teable.

mcpDemo

mcpDemo

MCP Server demo

create-mcp-server

create-mcp-server

A MCP Server to Create MCP Server

CodeSynapse

CodeSynapse

An MCP (Model Context Protocol) server that integrates with the Language Server Protocol (LSP) to expose rich semantic information from codebases to an LLM code agent.

Needle MCP Server

Needle MCP Server

Integrasi Needle dalam modelcontextprotocol

MCP Local File Server

MCP Local File Server

Servidor para acessar e manipular arquivos locais usando MCP

Database Schema MCP Server

Database Schema MCP Server

mcp-server-email

mcp-server-email

mcp-server demo about send email by golang

CTF-MCP-Server

CTF-MCP-Server

Bankless Onchain MCP Server

Bankless Onchain MCP Server

Bringing the bankless onchain API to MCP

github-mcp-cursor-project-rules

github-mcp-cursor-project-rules

Cursor project rules and MCP server

mcp-wdpcameracontrol-server MCP Server

mcp-wdpcameracontrol-server MCP Server

Cohere MCP Server

Cohere MCP Server

Server MCP Cohere

@waldzellai/mcp-servers

@waldzellai/mcp-servers

Monorepo MCP server Waldzell AI untuk peningkatan model. Digunakan di Claude Desktop, Cline, Roo Code, dan lainnya!

Redmine MCP Server

Redmine MCP Server

Mirror of