Discover Awesome MCP Servers

Extend your agent with 28,766 capabilities via MCP servers.

All28,766
A Simple MCP Server and Client

A Simple MCP Server and Client

Okay, here's a simple example of a client-server setup using MCP (Minecraft Coder Pack) concepts, focusing on the core communication idea. Keep in mind that a *true* MCP setup involves decompiling, modifying, and recompiling Minecraft code, which is a much larger undertaking. This example *simulates* the kind of interaction you'd have in a modded Minecraft environment. **Conceptual Overview** * **Client:** Represents a player's Minecraft client. It sends requests to the server. * **Server:** Represents the Minecraft server. It receives requests, processes them, and sends responses back to the client. * **Messages:** Data packets exchanged between the client and server. In a real mod, these would be custom packets handled by Minecraft's networking system. Here, we'll use simple strings. **Python Example (Illustrative)** This example uses Python for simplicity. In a real Minecraft mod, you'd be using Java. ```python # server.py import socket HOST = '127.0.0.1' # Standard loopback interface address (localhost) PORT = 65432 # Port to listen on (non-privileged ports are > 1023) with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.bind((HOST, PORT)) s.listen() print(f"Server listening on {HOST}:{PORT}") conn, addr = s.accept() with conn: print(f"Connected by {addr}") while True: data = conn.recv(1024) if not data: break message = data.decode('utf-8') print(f"Received: {message}") # Process the message (example: echo back with a prefix) response = f"Server says: {message.upper()}" conn.sendall(response.encode('utf-8')) print(f"Sent: {response}") ``` ```python # client.py import socket HOST = '127.0.0.1' # The server's hostname or IP address PORT = 65432 # The port used by the server with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.connect((HOST, PORT)) while True: message = input("Enter message to send (or 'exit'): ") if message.lower() == 'exit': break s.sendall(message.encode('utf-8')) data = s.recv(1024) print(f"Received: {data.decode('utf-8')}") print("Client exiting.") ``` **How to Run:** 1. **Save:** Save the code as `server.py` and `client.py`. 2. **Run the Server:** Open a terminal or command prompt and run `python server.py`. The server will start listening for connections. 3. **Run the Client:** Open another terminal or command prompt and run `python client.py`. 4. **Interact:** In the client terminal, type messages and press Enter. The client will send the message to the server, the server will process it (in this case, just convert it to uppercase and add a prefix), and send the response back to the client. The client will then display the received response. 5. **Exit:** Type `exit` in the client terminal to close the connection. **Explanation:** * **Sockets:** The `socket` module provides the basic networking functionality. * **Server:** * Creates a socket, binds it to an address and port, and listens for incoming connections. * `s.accept()` blocks until a client connects. * `conn.recv(1024)` receives data from the client (up to 1024 bytes at a time). * `conn.sendall()` sends data back to the client. * **Client:** * Creates a socket and connects to the server's address and port. * `s.sendall()` sends data to the server. * `s.recv(1024)` receives data from the server. * **Encoding/Decoding:** `encode('utf-8')` converts strings to bytes (which are what sockets send), and `decode('utf-8')` converts bytes back to strings. **Key MCP Concepts Illustrated (Simulated):** * **Client-Server Communication:** The core idea of sending data between the client and server is demonstrated. * **Messages:** The strings being sent are analogous to custom packets in a Minecraft mod. In a real mod, you'd define specific packet classes with fields for the data you want to send. * **Event Handling (Implicit):** The server's `while True` loop is similar to how a Minecraft server constantly processes events (including incoming packets). **Important Notes for Real Minecraft Modding:** * **Java:** You'll need to use Java, not Python. * **Minecraft Forge:** Use Minecraft Forge to provide the modding API. * **Networking API:** Forge provides a networking API for sending custom packets. You'll need to register your packets and create handlers for them on both the client and server sides. * **Threads:** Be careful with threads. Minecraft is single-threaded on the client side for rendering. Use `Minecraft.getMinecraft().addScheduledTask()` to execute code on the main thread. * **Side:** You need to be very aware of which side (client or server) your code is running on. Use `@SideOnly` annotations to restrict code to a specific side. * **Packet Handling:** Packets are typically handled in separate classes. You'll need to register your packet handlers with Forge's `NetworkRegistry`. **Korean Translation of Key Terms:** * **Client:** 클라이언트 (keullaienteu) * **Server:** 서버 (seobeo) * **Message:** 메시지 (mesiji) or 패킷 (paeket) - *Packet* is often used in the context of networking. * **Socket:** 소켓 (soket) * **Send:** 보내다 (bonaeda) * **Receive:** 받다 (batda) * **Mod:** 모드 (modeu) * **Minecraft Forge:** 마인크래프트 포지 (mainkeuraepeuteu poji) * **Packet Handler:** 패킷 핸들러 (paeket haendeulleo) **Korean Translation of the Python Code Comments (Example):** ```python # server.py import socket HOST = '127.0.0.1' # Standard loopback interface address (localhost) - 표준 루프백 인터페이스 주소 (로컬호스트) PORT = 65432 # Port to listen on (non-privileged ports are > 1023) - 수신 대기할 포트 (권한이 없는 포트는 1023보다 큼) with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.bind((HOST, PORT)) s.listen() print(f"Server listening on {HOST}:{PORT}") # 서버가 {HOST}:{PORT}에서 수신 대기 중입니다. conn, addr = s.accept() with conn: print(f"Connected by {addr}") # {addr}에서 연결되었습니다. while True: data = conn.recv(1024) if not data: break message = data.decode('utf-8') print(f"Received: {message}") # 받은 메시지: {message} # Process the message (example: echo back with a prefix) - 메시지 처리 (예: 접두사와 함께 다시 에코) response = f"Server says: {message.upper()}" conn.sendall(response.encode('utf-8')) print(f"Sent: {response}") # 보낸 메시지: {response} ``` This Python example provides a basic understanding of client-server communication. For real Minecraft modding, you'll need to delve into Java, Minecraft Forge, and the Forge networking API. Good luck!

MetaTrader 5 MCP Server

MetaTrader 5 MCP Server

Enables comprehensive access to the MetaTrader 5 trading platform for retrieving market data, managing accounts, and executing trading operations. It provides 32 specialized tools for interacting with MT5 functionalities, including historical OHLCV data access, real-time position monitoring, and automated order management.

codeix

codeix

Fast semantic code search for AI agents — find symbols, references, and callers across any codebase.

Pistachio MCP Server

Pistachio MCP Server

A remote MCP server built with Node.js and TypeScript that enables tool calls and prompt templates via streamable HTTP transport. It includes example implementations for a calculator and localized greetings, featuring built-in CORS support for web-based clients.

Zerodha MCP Server

Zerodha MCP Server

Enables trading operations on Zerodha platform through natural language, supporting account management, order placement/modification, portfolio holdings, positions, margins, and stock news retrieval.

Custom Search MCP Server

Custom Search MCP Server

An MCP (Multi-Agent Conversation Protocol) Server that enables interaction with Google's Custom Search API, allowing agents to perform customized web searches through natural language requests.

MCP Server Python

MCP Server Python

ArXiv MCP Server

ArXiv MCP Server

Enables AI assistants to search arXiv's research repository, download papers, and access their content programmatically. Includes specialized prompts for comprehensive academic paper analysis covering methodology, results, and implications.

File System MCP Server

File System MCP Server

거울

only_mcp

only_mcp

간단한 아키타입 MCP v0.2 클라이언트 및 서버 구현

MCP Reddit Server

MCP Reddit Server

Enables AI assistants to interact with Reddit by searching subreddits, retrieving hot posts, and fetching detailed post information with comments through the Reddit API.

Stock MCP Server

Stock MCP Server

모델 컨텍스트 프로토콜(MCP)을 사용하는 실시간 주식 시세 MCP 서버

Pydantic MCP Agent with Chainlit

Pydantic MCP Agent with Chainlit

이 레포지토리는 에이전트를 위한 여러 도구를 매끄럽게 통합하기 위해 MCP 서버를 활용합니다.

meta-mcp

meta-mcp

Enables AI assistants to manage Instagram and Threads accounts — publish content, handle comments, view insights, search hashtags, and manage DMs through the Meta Graph API.

imessage-mcp

imessage-mcp

A read-only MCP server for macOS that enables users to search through iMessage history and analyze conversation patterns using AI-powered tools. It provides detailed statistics on messaging habits, streaks, and contact analytics while keeping all data private and local.

WiseVision/mcp_server_ros_2

WiseVision/mcp_server_ros_2

Public implementation of MCP for ROS 2 enabling to interact with system visible various robots, capable of: List available topics List available services Call service Subscribe topic to get messages Publish message on topic and more

🚀 GitLab MR MCP

🚀 GitLab MR MCP

GitLab 저장소와 원활하게 연동하여 병합 요청 및 이슈를 관리하세요. 세부 정보를 가져오고, 댓글을 추가하고, 코드 검토 프로세스를 간소화할 수 있습니다.

MCP Domain Checker Price

MCP Domain Checker Price

Provides domain registration pricing from Joker.com and generates affiliate purchase links. Supports both static pricing data for instant responses and optional real-time API pricing with smart caching.

BigBugAI MCP Server

BigBugAI MCP Server

Enables access to BigBugAI cryptocurrency tools for getting trending tokens and performing token analysis by contract address. Provides production-ready API access with rate limiting and authentication for crypto market intelligence.

Claude Code Review MCP

Claude Code Review MCP

An MCP server that provides code review functionality using OpenAI, Google, and Anthropic models, serving as a "second opinion" tool that works with any MCP client.

nvim-mcp

nvim-mcp

Enables AI assistants to control running Neovim sessions via RPC socket, supporting command execution, state inspection, and LSP actions. Automatically discovers Neovim instances and supports multi-instance management on Linux and macOS.

Gemini Function Calling + Model Context Protocol(MCP) Flight Search

Gemini Function Calling + Model Context Protocol(MCP) Flight Search

Gemini 2.5 Pro를 사용한 모델 컨텍스트 프로토콜(MCP). Gemini의 함수 호출 기능과 MCP의 항공편 검색 도구를 사용하여 대화형 쿼리를 항공편 검색으로 변환합니다.

MCP-Typebot

MCP-Typebot

Powerful Model Context Protocol server for managing Typebot chatbots, enabling operations like authentication, creating, updating, listing, and publishing bots through a standardized JSON interface.

mcpwall

mcpwall

mcpwall is a deterministic security proxy for MCP tool calls — iptables for MCP. It sits between the MCP client and server, intercepting every JSON-RPC request and enforcing YAML-defined policies.

Eye of Sauron - Discord Bot MCP

Eye of Sauron - Discord Bot MCP

Enables AI assistants to control Discord servers with 93 tools for server management, moderation, voice TTS, AI chat via OpenRouter, and World of Warships stats lookup through the Model Context Protocol.

PuppeteerMCP Server

PuppeteerMCP Server

An MCP server that enables AI assistants to capture and analyze web page screenshots using Puppeteer, supporting multi-breakpoint captures, error reporting, and page interactions.

Union Unity MCP Server

Union Unity MCP Server

Enables AI agents to interact with Unity projects through multimodal vision, code analysis, asset management, and scene manipulation. Supports real-time Unity editor control, project search, script creation, and visual debugging through screenshots.

Procesio MCP Server

Procesio MCP Server

Procesio API와 상호 작용하기 위한 MCP 서버

llm-mcp-server-template

llm-mcp-server-template

LLM-MCP 서버 개발 템플릿 프로젝트

nocobase-mcp-server

nocobase-mcp-server

An MCP server that enables AI assistants to interact with NocoBase instances for managing collections, UI schemas, flow models, and running API operations. It provides both hand-crafted tools and dynamically generated tools from NocoBase's OpenAPI specification.