Discover Awesome MCP Servers
Extend your agent with 84,516 capabilities via MCP servers.
- All84,516
- Developer Tools3,867
- Search1,714
- Research & Data1,557
- AI Integration Systems229
- Cloud Platforms219
- Data & App Analysis181
- Database Interaction177
- Remote Shell Execution165
- Browser Automation147
- Databases145
- Communication137
- AI Content Generation127
- OS Automation120
- Programming Docs Access109
- Content Fetching108
- Note Taking97
- File Systems96
- Version Control93
- Finance91
- Knowledge & Memory90
- Monitoring79
- Security71
- Image & Video Processing69
- Digital Note Management66
- AI Memory Systems62
- Advanced AI Reasoning59
- Git Management Tools58
- Cloud Storage51
- Entertainment & Media43
- Virtualization42
- Location Services35
- Web Automation & Stealth32
- Media Content Processing32
- Calendar Management26
- Ecommerce & Retail18
- Speech Processing18
- Customer Data Platforms16
- Travel & Transportation14
- Education & Learning Tools13
- Home Automation & IoT13
- Web Search Integration12
- Health & Wellness10
- Customer Support10
- Marketing9
- Games & Gamification8
- Google Cloud Integrations7
- Art & Culture4
- Language Translation3
- Legal & Compliance2
Remote MCP Server on Cloudflare
Model Context Protocol (MCP) Implementation
Learn MCP by building from Scarch
Modular Outlook MCP Server
MCP server for Claude to access Outlook data via Microsoft Graph API
@modelcontextprotocol/server-terminal
Terminal server implementation for Model Context Protocol
MCP2HTTP
MCP2HTTP is a minimal transport adapter that bridges MCP clients using stdio with stateless HTTP servers.
Dockerized Salesforce MCP Server
Dockerized Salesforce MCP Server for REST API integration
Exa MCP Server ๐
ํด๋ก๋๋ MCP (๋ชจ๋ธ ์ปจํ ์คํธ ํ๋กํ ์ฝ)์ ์ฌ์ฉํ์ฌ ์น ๊ฒ์ | Exa๋ฅผ ์ํํ ์ ์์ต๋๋ค.
Basilisp nREPL MCP Bridge
simple MCP server for nREPL
Zoom MCP Server
MCP server for Zoom
MCP Expert Server
Mirror of
mcp-server-datahub
DataHub์ ๊ณต์ MCP ์๋ฒ (
mcp_server_local_files
Local File System MCP Server
GooseTeam
Look, a flock of geese! An MCP server and protocol for Goose agent collaboration.
MCPClient Python Application
Okay, I understand. You want an implementation for interacting between an MCP (presumably Minecraft Protocol) server and an Ollama model. This is a complex project, so let's break down the key components and provide a conceptual outline with code snippets. I'll focus on the core logic and leave out boilerplate code for brevity. **Conceptual Outline** 1. **Minecraft Server Interaction (MCP):** * Establish a connection to the Minecraft server. * Listen for player chat messages. * Parse the chat messages to extract the player's input. * Send responses back to the Minecraft server to be displayed to the player. 2. **Ollama Model Interaction:** * Send the player's input to the Ollama model. * Receive the model's response. 3. **Orchestration:** * Connect the Minecraft server interaction and the Ollama model interaction. * Handle errors gracefully. * Potentially implement a command prefix to trigger the Ollama interaction. **Code Snippets (Python - Example)** This example uses Python because it's commonly used for both Minecraft server interaction and interacting with APIs. You'll need libraries like `mcstatus` (for basic server status and RCON) or a more robust Minecraft protocol library like `python-minecraft-protocol` (for more advanced interaction) and `requests` for making HTTP requests to the Ollama API. ```python import mcstatus import requests import json import time # --- Minecraft Server Interaction --- def get_server_status(server_address, server_port): """Gets the status of the Minecraft server.""" try: server = mcstatus.JavaServer(server_address, server_port) status = server.status() return status except Exception as e: print(f"Error getting server status: {e}") return None def send_command_to_server(server_address, server_port, rcon_password, command): """Sends a command to the Minecraft server using RCON.""" try: server = mcstatus.JavaServer(server_address, server_port) with server.rcon(rcon_password) as rcon: response = rcon.command(command) return response except Exception as e: print(f"Error sending command: {e}") return None def listen_for_chat_messages(server_address, server_port, rcon_password, command_prefix="!ollama"): """Listens for chat messages and processes them.""" # This is a simplified example. A real implementation would need to # continuously monitor the server logs or use a more sophisticated # Minecraft protocol library to receive chat messages in real-time. # This example uses RCON to get the latest server log entries. # It's not ideal for real-time chat monitoring, but it demonstrates the concept. while True: log_entries = send_command_to_server(server_address, server_port, rcon_password, "log read") if log_entries: for line in log_entries.splitlines(): if "]: [CHAT]" in line: try: username = line.split("]: [CHAT]")[0].split("<")[1].split(">")[0] message = line.split("]: [CHAT]")[1].strip() if message.startswith(command_prefix): user_input = message[len(command_prefix):].strip() print(f"Received message from {username}: {user_input}") ollama_response = get_ollama_response(user_input) if ollama_response: send_command_to_server(server_address, server_port, rcon_password, f"say {username}: {ollama_response}") else: send_command_to_server(server_address, server_port, rcon_password, f"say Ollama error.") except IndexError: print(f"Could not parse chat message: {line}") time.sleep(5) # Check for new messages every 5 seconds. Adjust as needed. # --- Ollama Model Interaction --- OLLAMA_API_URL = "http://localhost:11434/api/generate" # Default Ollama API endpoint OLLAMA_MODEL = "llama2" # Replace with your desired Ollama model def get_ollama_response(prompt): """Sends a prompt to the Ollama model and returns the response.""" try: data = { "prompt": prompt, "model": OLLAMA_MODEL, "stream": False # Set to True for streaming responses } response = requests.post(OLLAMA_API_URL, json=data, stream=False) #stream=False for non-streaming response.raise_for_status() # Raise HTTPError for bad responses (4xx or 5xx) json_response = response.json() return json_response["response"] except requests.exceptions.RequestException as e: print(f"Error communicating with Ollama: {e}") return None except json.JSONDecodeError as e: print(f"Error decoding Ollama response: {e}") return None except KeyError as e: print(f"Error extracting response from Ollama JSON: {e}") return None # --- Main --- if __name__ == "__main__": SERVER_ADDRESS = "your_server_address" # Replace with your server address SERVER_PORT = 25565 # Default Minecraft port RCON_PASSWORD = "your_rcon_password" # Replace with your RCON password status = get_server_status(SERVER_ADDRESS, SERVER_PORT) if status: print(f"Server is online with {status.players.online} players.") listen_for_chat_messages(SERVER_ADDRESS, SERVER_PORT, RCON_PASSWORD) else: print("Server is offline.") ``` **Explanation and Key Considerations:** * **Minecraft Protocol Library:** The `mcstatus` library is very basic. For real-time chat monitoring and more robust interaction, use `python-minecraft-protocol`. This library allows you to directly interact with the Minecraft protocol, giving you much more control. It's more complex to use, but it's necessary for a production-ready implementation. You'll need to handle packet parsing and authentication. * **RCON (Remote Console):** RCON is used in the example for simplicity. It allows you to send commands to the server. However, it's not ideal for real-time chat monitoring because you have to poll the server logs. `python-minecraft-protocol` is the better approach for real-time interaction. * **Ollama API:** The code assumes Ollama is running locally on the default port (11434). Adjust `OLLAMA_API_URL` if your Ollama instance is running elsewhere. * **Error Handling:** The code includes basic error handling, but you should add more robust error handling for production use. Consider logging errors to a file. * **Command Prefix:** The `command_prefix` (e.g., `!ollama`) allows players to trigger the Ollama interaction. This prevents the model from responding to every chat message. * **Rate Limiting:** Implement rate limiting to prevent abuse and to avoid overwhelming the Ollama model. You can track the number of requests from each player and limit the frequency. * **Security:** Be very careful about security. Never hardcode sensitive information like RCON passwords in your code. Use environment variables or a configuration file to store sensitive data. Sanitize user input to prevent prompt injection attacks. * **Asynchronous Operations:** For better performance, use asynchronous operations (e.g., `asyncio` in Python) to handle the Minecraft server interaction and the Ollama API calls concurrently. This will prevent the program from blocking while waiting for responses. * **Model Selection:** The `OLLAMA_MODEL` variable allows you to choose which Ollama model to use. Make sure the model is installed in your Ollama instance. * **Streaming Responses:** The `stream` parameter in the Ollama API request can be set to `True` to receive streaming responses. This allows you to display the model's output in real-time as it's being generated. You'll need to modify the code to handle the streaming response format. * **Prompt Engineering:** Experiment with different prompts to get the best results from the Ollama model. You can include context from the Minecraft world in the prompt to make the responses more relevant. * **Context Management:** Consider implementing context management to allow the model to remember previous conversations. You can store the conversation history for each player and include it in the prompt. **Example Usage:** 1. Install the necessary libraries: ```bash pip install mcstatus requests ``` 2. Replace the placeholder values in the code with your actual server address, port, and RCON password. 3. Run the script. 4. In Minecraft, type `!ollama What is the meaning of life?` in the chat. The script will send the prompt to the Ollama model and display the response in the Minecraft chat. **Korean Translation of Key Terms:** * **Minecraft Protocol (MCP):** ๋ง์ธํฌ๋ํํธ ํ๋กํ ์ฝ * **Ollama Model:** Ollama ๋ชจ๋ธ * **Server Address:** ์๋ฒ ์ฃผ์ * **Server Port:** ์๋ฒ ํฌํธ * **RCON Password:** RCON ๋น๋ฐ๋ฒํธ * **Chat Message:** ์ฑํ ๋ฉ์์ง * **Prompt:** ํ๋กฌํํธ * **Response:** ์๋ต * **Command Prefix:** ๋ช ๋ น์ด ์ ๋์ฌ * **Rate Limiting:** ์๋ ์ ํ * **Security:** ๋ณด์ * **Asynchronous Operations:** ๋น๋๊ธฐ ์์ * **Prompt Engineering:** ํ๋กฌํํธ ์์ง๋์ด๋ง * **Context Management:** ์ปจํ ์คํธ ๊ด๋ฆฌ This detailed explanation and code outline should give you a solid foundation for building your Minecraft server and Ollama model integration. Remember to choose the appropriate Minecraft protocol library based on your needs and to prioritize security and error handling. Good luck!
Browser JavaScript Evaluator
This is a reference design for a MCP server that hosts a web page that connects back to the server via sse and allows Claude to execute javascript on the page.
iOS Simulator MCP Server
Mirror of
Fiberflow MCP Gateway
Run Fiberflow MCP SSE Server over stdio.
Gmail MCP Server
Mirror of
Supergateway
Run MCP stdio servers over SSE and SSE over stdio. AI gateway.
generator-mcp
Yeoman Generator to quickly create a new MCP Server
MCP Server Playwright
MCP Server Playwright - Claude ๋ฐ์คํฌํฑ์ฉ ๋ธ๋ผ์ฐ์ ์๋ํ ์๋น์ค
NSAF MCP Server
๊ฑฐ์ธ
Initial thoughts
"OpenAPI specifications๋ฅผ MCP ์๋ฒ์์ ์ฌ์ฉํ ์ ์๋ ๋๊ตฌ๋ก ๋ณํํฉ๋๋ค."
glif-mcp
๊ฑฐ์ธ
Weather MCP Server
์ํ ๋ ์จ ์๋ณด ๊ฐ์ ธ์ค๊ธฐ์ฉ MCP ์๋ฒ ๊ตฌํ
Spring AI MCP Server ็คบไพ้กน็ฎ
Financial Analysis MCP Server
๊ฑฐ์ธ
ConnectWise Manage MCP Server
A Model Context Protocol (MCP) server for ConnectWise Manage API integration
Ghost MCP Server
Mirror of
๐ LinkedIn DI MCP Server
Audiense Digital Intelligence LinkedIn MCP ์๋ฒ๋ ๋ชจ๋ธ ์ปจํ ์คํธ ํ๋กํ ์ฝ(MCP)์ ๊ธฐ๋ฐ์ผ๋ก ํ๋ฉฐ, Claude ๋ฐ ๊ธฐํ MCP ํธํ ํด๋ผ์ด์ธํธ๊ฐ ์ฌ์ฉ์์ Audiense DI LinkedIn ๊ณ์ ๊ณผ ์ํธ ์์ฉํ ์ ์๋๋ก ํฉ๋๋ค.