semvec/pypi-packages huggingface dataset:
multicluster-mcp-server 0.1.6
The gateway for GenAI systems to interact with multiple Kubernetes clusters through the MCP
License: MIT
Requires Python: >=3.11
Keywords: MCP, python, Kubernetes, Multi-Cluster, open-cluster-management

<!-- [![MseeP Badge](https://mseep.net/pr/yanmxa-multicluster-mcp-server-badge.jpg)](https://mseep.ai/app/yanmxa-multicluster-mcp-server) -->


# Multi-Cluster MCP server

The **Multi-Cluster MCP Server** provides a robust gateway for Generative AI (GenAI) systems to interact with multiple Kubernetes clusters through the Model Context Protocol (MCP). It facilitates comprehensive operations on Kubernetes resources, streamlined multi-cluster management, and delivered interactive cluster observability.

## **🚀 Features**

### 🛠️ MCP Tools - Kubernetes Cluster Awareness
  
- ✅ Retrieve resources from the **hub cluster** (current context)  
- ✅ Retrieve resources from the **managed clusters**  
- ✅ Connect to a **managed cluster** using a specified `ClusterRole`
- ✅ Access resources across multiple Kubernetes clusters(via Open Cluster Management)
- ❌ Retrieve and analyze **metrics, logs, and alerts** from integrated clusters  
- ❌ Interact with multi-cluster APIs, including Managed Clusters, Policies, Add-ons, and more

  ![alt text](images/tools.png)
  <details>
  <summary>Mutiple Kubernetes Clusters Operations</summary>

  [![Watch the demo](https://asciinema.org/a/706281.svg)](https://asciinema.org/a/706281)

  </details>

### 📦 Prompt Templates for Open Cluster Management *(Planning)*

- Provide reusable prompt templates tailored for OCM tasks, streamlining agent interaction and automation

### 📚 MCP Resources for Open Cluster Management *(Planning)*

- Reference official OCM documentation and related resources to support development and integration

### **📌 How to Use**

- Use with MCP Inspector

```bash
mcp dev ./src/multicluster_mcp_server/__main__.py 
```

Configure the server using the following snippet:

```json
{
  "mcpServers": {
    "multicluster-mcp-server": {
      "command": "uvx",
      "args": [
        "multicluster-mcp-server@latest"
      ]
    }
  }
}
```

**Note:** Ensure `kubectl` is installed. By default, the tool uses the **`KUBECONFIG`** environment variable to access the cluster. In a multi-cluster setup, it treats the configured cluster as the **hub cluster**, accessing others through it.

## License

This project is licensed under the [MIT License](LICENSE).
whereami-cli 0.1.1
用于获取当前用户的经纬度位置信息的命令行工具
License: MIT
Requires Python: >=3.6

# WhereAmI CLI

这是一个简单的命令行工具，用于获取当前用户的经纬度位置信息。

## 安装

### 从PyPI安装
```bash
pip install whereami-cli
```

### 从源码安装
1. 确保您已安装Python 3.6或更高版本
2. 克隆仓库：
```bash
git clone https://github.com/zhangzimin/geo-location.git
cd geo-location
```
3. 安装依赖：
```bash
pip install -r requirements.txt
```

## 使用方法

安装后，您可以直接使用命令：
```bash
whereami
```

或者运行Python脚本：
```bash
python get_location.py
```

## 输出示例

```
您当前的位置是：
纬度: 39.9042
经度: 116.4074
地址: 北京市, 中国
```

## 注意事项

- 需要网络连接
- 位置信息基于IP地址，可能不是非常精确
- 如果无法获取位置信息，请检查网络连接