Discover Awesome MCP Servers

Extend your agent with 25,254 capabilities via MCP servers.

All25,254
Telegram MCP Server

Telegram MCP Server

MCP server to send notifications to Telegram

mcp-cbs-cijfers-open-data

mcp-cbs-cijfers-open-data

Here are a few ways to interpret "MCP server for working with CBS Cijfers Open Data" and their Indonesian translations: **1. Assuming "MCP" refers to a specific software or platform (unlikely without more context):** * **English:** MCP server for working with CBS Cijfers Open Data * **Indonesian:** Server MCP untuk bekerja dengan Data Terbuka CBS Cijfers * This is a direct translation, assuming the user knows what "MCP" refers to. **2. Assuming "MCP" is a typo and meant to be "API" (Application Programming Interface), which is more likely in the context of open data:** * **English:** API server for working with CBS Cijfers Open Data * **Indonesian:** Server API untuk bekerja dengan Data Terbuka CBS Cijfers * This is a more likely interpretation, as APIs are commonly used to access and manipulate open data. **3. Assuming "MCP" is a general term for a server used for data processing and manipulation:** * **English:** Server for processing and manipulating CBS Cijfers Open Data * **Indonesian:** Server untuk memproses dan memanipulasi Data Terbuka CBS Cijfers * This is a more general translation, focusing on the server's function. **4. A more descriptive translation, focusing on the purpose:** * **English:** A server for accessing and using CBS Cijfers Open Data. * **Indonesian:** Server untuk mengakses dan menggunakan Data Terbuka CBS Cijfers. **Important Considerations:** * **CBS Cijfers:** This is likely referring to the "Centraal Bureau voor de Statistiek" (Statistics Netherlands) open data. It's best to keep the original name "CBS Cijfers" in the Indonesian translation for clarity. * **Data Terbuka:** This is the standard Indonesian translation for "Open Data." * **Context is Key:** The best translation depends on the specific context. If you can provide more information about what "MCP" is supposed to mean, I can provide a more accurate translation. Therefore, without more context, **I recommend using option 2 or 4:** * **Option 2 (API):** Server API untuk bekerja dengan Data Terbuka CBS Cijfers * **Option 4 (General):** Server untuk mengakses dan menggunakan Data Terbuka CBS Cijfers

testmcpgithubdemo1

testmcpgithubdemo1

created from MCP server demo

MCP Server Docker

MCP Server Docker

MCP Server untuk Docker

create-mcp-server

create-mcp-server

A comprehensive architecture for building robust Model Context Protocol (MCP) servers with integrated web capabilities

Weather MCP Server

Weather MCP Server

Flights Mcp Server

Flights Mcp Server

MCP Server untuk Google Flights!!

gatherings MCP Server

gatherings MCP Server

Server Protokol Konteks Model yang membantu melacak pengeluaran dan menghitung penggantian biaya untuk acara sosial, sehingga memudahkan penyelesaian saldo antar teman.

Choose MCP Server Setup

Choose MCP Server Setup

Cermin dari

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

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.

SkySQL MCP Integration

SkySQL MCP Integration

๐Ÿ‹ Docker MCP server

๐Ÿ‹ Docker MCP server

Mirror of

Simple Memory Extension MCP Server

Simple Memory Extension MCP Server

Sebuah server MCP yang memperluas jendela konteks agen AI dengan menyediakan alat untuk menyimpan, mengambil, dan mencari memori, memungkinkan agen untuk mempertahankan riwayat dan konteks di seluruh interaksi yang panjang.

ChatGPT MCP Server

ChatGPT MCP Server

Mirror of

Mcp Servers Wiki Website

Mcp Servers Wiki Website

Binance Market Data MCP Server

Binance Market Data MCP Server

MCP System Monitor

MCP System Monitor

A system monitoring tool that exposes system metrics via the Model Context Protocol (MCP). This tool allows LLMs to retrieve real-time system information through an MCP-compatible interface.

Apache Doris MCP Server

Apache Doris MCP Server

An MCP server for Apache Doris & VeloDB

mock-assistant-mcp-server

mock-assistant-mcp-server

Asisten server MCP untuk data tiruan

MCP Server Pool

MCP Server Pool

MCP ๆœๅŠกๅˆ้›†

google-workspace-mcp

google-workspace-mcp

Google Scholar

Google Scholar

๐Ÿ” Aktifkan asisten AI untuk mencari dan mengakses makalah Google Scholar melalui antarmuka MCP yang sederhana.

MCP Chess

MCP Chess

A MCP server for playing chess

untapped-mcp

untapped-mcp

A Untapped MCP server to be used with claude.

FreeCAD MCP

FreeCAD MCP

Repositori ini adalah MCP FreeCAD yang memungkinkan Anda mengendalikan FreeCAD dari Claude Desktop.

Model Context Protocol Community

Model Context Protocol Community

Easily run, deploy, and connect to MCP servers

Kubectl MCP Tool

Kubectl MCP Tool

Sebuah server Protokol Konteks Model yang memungkinkan asisten AI untuk berinteraksi dengan klaster Kubernetes melalui bahasa alami, mendukung operasi inti Kubernetes, pemantauan, keamanan, dan diagnostik.

comment-stripper-mcp

comment-stripper-mcp

A flexible MCP server that batch processes code files to remove comments across multiple programming languages. Currently supports JavaScript, TypeScript, and Vue files with regex-based pattern matching. Handles individual files, directories (including subdirectories), and text input. Built for clean code maintenance and preparation.

MCP Server ะดะปั Prom.ua

MCP Server ะดะปั Prom.ua

MCP server untuk bekerja dengan API Prom.ua