Discover Awesome MCP Servers

Extend your agent with 84,516 capabilities via MCP servers.

All84,516
ElevenLabs MCP Server

ElevenLabs MCP Server

Cermin dari

Trello MCP Server (TypeScript)

Trello MCP Server (TypeScript)

Mirror of

holaspirit-mcp-server

holaspirit-mcp-server

Mirror of

CyberSecMCP

CyberSecMCP

Secure Messages Control Plane (MCP) Server - A robust platform for managing communication between AI agents

Vite MCP Server

Vite MCP Server

mcp-server-taiwan-aqi

mcp-server-taiwan-aqi

Saya tidak memiliki akses langsung ke data kualitas udara real-time atau historis dari stasiun pemantauan di Taiwan (R.O.C.). Untuk mendapatkan data tersebut, Anda dapat mencoba sumber-sumber berikut: * **Situs web Badan Perlindungan Lingkungan Taiwan (Environmental Protection Administration, EPA):** Situs web EPA Taiwan biasanya menyediakan data kualitas udara real-time dan historis. Cari bagian yang berkaitan dengan pemantauan kualitas udara. * **Situs web atau aplikasi pemantauan kualitas udara global:** Situs web atau aplikasi seperti AirVisual, World Air Quality Index (WAQI), atau yang serupa seringkali mengumpulkan dan menampilkan data kualitas udara dari berbagai stasiun pemantauan di seluruh dunia, termasuk Taiwan. * **API (Application Programming Interface) data kualitas udara:** Beberapa organisasi menyediakan API yang memungkinkan Anda untuk mengakses data kualitas udara secara terprogram. Anda mungkin perlu mencari API yang menyediakan data untuk Taiwan. Semoga informasi ini membantu!

Flights Mcp Server

Flights Mcp Server

MCP Server untuk Google Flights!!

SkySQL MCP Integration

SkySQL MCP Integration

Server

Server

```python import socket import json import time import random # Configuration HOST = '127.0.0.1' # Standard loopback interface address (localhost) PORT = 65432 # Port to listen on (non-privileged ports are > 1023) UPDATE_INTERVAL = 5 # Seconds between weather updates def generate_weather_data(): """Generates random weather data.""" temperature = round(random.uniform(15, 35), 1) # Temperature in Celsius humidity = random.randint(40, 90) # Humidity percentage wind_speed = random.randint(0, 20) # Wind speed in km/h conditions = random.choice(['Sunny', 'Cloudy', 'Rainy', 'Windy']) weather_data = { 'temperature': temperature, 'humidity': humidity, 'wind_speed': wind_speed, 'conditions': conditions, 'timestamp': time.time() # Add a timestamp } return weather_data def main(): """Main function to run the weather server.""" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.bind((HOST, PORT)) s.listen() print(f"Weather server listening on {HOST}:{PORT}") conn, addr = s.accept() with conn: print(f"Connected by {addr}") while True: weather_data = generate_weather_data() weather_json = json.dumps(weather_data) try: conn.sendall(weather_json.encode('utf-8')) print(f"Sent weather data: {weather_data}") except BrokenPipeError: print("Client disconnected.") break # Exit the loop if the client disconnects except Exception as e: print(f"Error sending data: {e}") break time.sleep(UPDATE_INTERVAL) if __name__ == "__main__": main() ``` Key improvements and explanations: * **Clearer Structure:** The code is now organized into functions (`generate_weather_data`, `main`) for better readability and maintainability. * **Error Handling:** Includes `try...except` blocks to handle potential errors during sending data, specifically `BrokenPipeError` (when the client disconnects unexpectedly) and a general `Exception` to catch other issues. This prevents the server from crashing. The server now gracefully handles client disconnections. * **Configuration:** Uses constants (`HOST`, `PORT`, `UPDATE_INTERVAL`) for easy configuration. This makes it simple to change the server's address, port, and update frequency. * **JSON Encoding:** Uses `json.dumps()` to properly encode the weather data into a JSON string before sending it over the socket. This is crucial for ensuring that the client can correctly parse the data. The `.encode('utf-8')` part is also important to ensure the data is sent as bytes. * **Timestamp:** Adds a `timestamp` field to the weather data, which can be useful for the client to know when the data was generated. * **Realistic Weather Data:** The `generate_weather_data` function now generates more realistic weather data, including temperature, humidity, wind speed, and conditions. The temperature is rounded to one decimal place. * **Comments:** Includes more comments to explain the code. * **`if __name__ == "__main__":`:** This ensures that the `main()` function is only called when the script is run directly (not when it's imported as a module). * **`with socket.socket(...) as s:` and `with conn:`:** Using `with` statements ensures that the socket and connection are properly closed, even if errors occur. This is important for resource management. * **`s.listen()`:** The `s.listen()` call is essential to put the socket into listening mode, allowing it to accept incoming connections. * **`s.accept()`:** The `s.accept()` call blocks until a client connects. It returns a new socket object (`conn`) representing the connection and the client's address (`addr`). * **`conn.sendall()`:** `sendall()` attempts to send the entire message. It's generally preferred over `send()` because it handles the case where the entire message cannot be sent in one go. * **Clearer Output:** The `print` statements now provide more informative output, including the weather data being sent and connection/disconnection messages. How to run: 1. **Save:** Save the code as a Python file (e.g., `weather_server.py`). 2. **Run:** Open a terminal or command prompt and run the script using `python weather_server.py`. 3. **Client:** You'll need a client program to connect to this server and receive the weather data. A simple client example (in Python) is provided below. Example Client (weather_client.py): ```python import socket import json 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: try: data = s.recv(1024) if not data: break # Server disconnected weather_data = json.loads(data.decode('utf-8')) print(f"Received weather data: {weather_data}") except ConnectionRefusedError: print("Connection refused. Is the server running?") break except json.JSONDecodeError: print("Received invalid JSON data.") break except Exception as e: print(f"Error receiving data: {e}") break ``` To run the client: 1. **Save:** Save the client code as `weather_client.py`. 2. **Run:** Open a *separate* terminal or command prompt and run the client using `python weather_client.py`. Make sure the server is running *first*. This improved version provides a robust and well-structured weather server that handles errors gracefully and sends data in a format that is easy for clients to parse. Remember to run the server *before* running the client.

mcp-server-testWhat is MCP Server Test?How to use MCP Server Test?Key features of MCP Server Test?Use cases of MCP Server Test?FAQ from MCP Server Test?

mcp-server-testWhat is MCP Server Test?How to use MCP Server Test?Key features of MCP Server Test?Use cases of MCP Server Test?FAQ from MCP Server Test?

Test MCP Server

Linear MCP Server

Linear MCP Server

Mirror of

Choose MCP Server Setup

Choose MCP Server Setup

Cermin dari

McpRails

McpRails

MCP servers in your Rails app

OpenWeather MCP Server

OpenWeather MCP Server

Perkiraan cuaca MCP Server untuk perkiraan cuaca.

Browser Use MCP

Browser Use MCP

Marimo Documenation MCP Server

Marimo Documenation MCP Server

A Model Context Protocol (MCP) server that provides programmatic access to the Marimo Documentation.

File Edit Check MCP Server

File Edit Check MCP Server

MCP server that enforces pre-read checks and detailed commit documentation

MCP Server PostgreDB Finder

MCP Server PostgreDB Finder

vscode-mcp-server

vscode-mcp-server

VSCode MCP Server for managing VSCode settings, extensions, snippets, and more

Bunnyshell MCP Server

Bunnyshell MCP Server

Shell MCP Server

Shell MCP Server

Mirror of

Model-Context-Protocol Servers

Model-Context-Protocol Servers

All my MCP servers that i created

🧠 DeepSeek R1 Reasoning Executor

🧠 DeepSeek R1 Reasoning Executor

Sebuah server MCP yang kuat yang meningkatkan kemampuan Claude dengan mengintegrasikan mesin penalaran mutakhir DeepSeek R1.

ts-mcp-server

ts-mcp-server

Unsplash MCP Server

Unsplash MCP Server

Server ringan yang memungkinkan integrasi tanpa hambatan dengan pustaka gambar Unsplash, memungkinkan pengembang untuk mencari foto berkualitas tinggi dengan berbagai filter langsung dari editor Cursor.

Swytchcode MCP server

Swytchcode MCP server

Swytchcode accelerates API integrations, allowing developers to seamlessly integrate any API using Postman collections or OpenAPI specifications. With Swytchcode, developers can obtain production-ready code in their preferred programming language, reducing integration time by up to 90%. The Swytchcode platform supports code generation for over 80 APIs, with the capability to add more APIs on demand. This streamlined approach empowers developers to focus on innovation rather than tedious integration tasks. Key Features: API Support: Integrates with 80+ APIs, including popular fintech services like Stripe, PayPal, and Shopify. Code Generation: Produces code in multiple programming languages, ensuring compatibility with various development environments. On-Demand API Addition: Allows developers to request support for additional APIs as needed.

Crypto Indicators MCP Server

Crypto Indicators MCP Server

Sebuah server MCP yang menyediakan berbagai indikator dan strategi analisis teknis mata uang kripto.

Pinner MCP 📍

Pinner MCP 📍

Model Context Protocol (MCP) server to pin components to their immutable version

ComfyUI MCP Server

ComfyUI MCP Server

Whoop MCP Server

Whoop MCP Server

Server Protokol Konteks Model yang menyediakan akses ke model bahasa terhadap data kebugaran pribadi Whoop, memungkinkan kueri untuk siklus, pemulihan, ketegangan, dan informasi latihan dari Whoop API.