Skip to main content
Glama
nichuan

zhenyun-pangun-mcp

by nichuan

zhenyun-pangun-mcp

Zhenyun Pangu General Tools MCP, reusable by any MCP client (Claude Desktop / Cursor / various agents).

Fully self-contained: depends on no external project directories; simply configure real credentials in .env.

Capabilities Overview

Tools are grouped by prefix (17 total):

Prefix

Tools

Description

obs_*

obs_log_query / obs_log_datasources / obs_sls_query

Log query: Loki dual platforms (AWS global all environments + CN domestic non-production) + Alibaba Cloud SLS (CN domestic Pangu prod only)

archery_*

archery_query / archery_describe_table / archery_list_columns / archery_query_tenant / archery_list_databases / archery_list_instances

Database query (Archery dual sites cn/aws + Pangu dedicated tenant/database/instance capabilities)

choerodon_*

choerodon_query_issue / choerodon_list_issue / choerodon_search_users / choerodon_get_status_map / choerodon_search_tasks_by_person / choerodon_list_attachments / choerodon_download_attachment

Choerodon collaboration (built-in Python client, pure HTTP login)

search_repo

search_repo

Cross-local repository search (content / file name / module structure)

Log Platform Differentiation (Important)

Pangu logs are distributed across three different platforms. Confirm the target environment's platform before querying:

Capability

Environment

Platform

Data Source / project

Tag System

obs_log_query

AWS Global (all environments)

Grafana/Loki

Jp-saas-1-prod / Jp-saas-1-noneprod / ops

job / app

obs_log_query

CN domestic non-production (dev/test)

Grafana/Loki

Loki (pangu-noneprod) etc.

namespace / service_name / pod_name / container_name

obs_sls_query

CN domestic Pangu prod only

Alibaba Cloud SLS

pangu-cn-saas-3-prod-shared-sls-project-0 / sls-store-0-pangu-prod

_namespace_ = saas-prod

  • CN domestic Pangu prod logs = Alibaba Cloud SLS (integration method replicated from log-ops-mcp), query with obs_sls_query.

  • CN domestic Pangu dev/test and other non-production use obs_log_query(region="cn"); logs in the Pangu non-production panel (namespace=saas-dev-new / saas-test-new) reside in the Loki (pangu-noneprod) data source.

  • AWS Global (prod or non-production) all use obs_log_query(region="aws").

  • ⚠️ Routing rule of thumb: Except for CN domestic Pangu prod which goes to SLS, all others (CN non-production + all AWS) go to Loki. Do not call obs_sls_query for Pangu non-production.

Login credentials and data source names for the three platforms are configured independently in .env; see .env.example for details.

Installation and Running

cd zhenyun-pangun-mcp
uv sync  # 或 pip install -e .
cp .env.example .env   # 填写真实凭据

Run via stdio:

uv run zhenyun-pangun-mcp
# 或
python -m zhenyun_pangun_mcp

MCP Client Configuration

{
  "mcpServers": {
    "zhenyun-pangun-mcp": {
      "command": "uvx",
      "args": ["--from", "/path/to/zhenyun-pangun-mcp", "zhenyun-pangun-mcp"],
      "env": {
        "MCP_ENV_DIR": "/path/to/zhenyun-pangun-mcp"
      }
    }
  }
}

Configuration (.env)

Group

Environment Variables

Description

Archery

ARCHERY_USERNAME / ARCHERY_PASSWORD / ARCHERY_AWS_USERNAME / ARCHERY_AWS_PASSWORD

Database gateway cn/aws credentials

ARCHERY_DB_CN / ARCHERY_DB_AWS / ARCHERY_DB_DEV / ARCHERY_DB_TEST

Instance alias → real instance name

Loki

AWS_LOG_USERNAME / AWS_LOG_PASSWORD / CN_LOG_USERNAME / CN_LOG_PASSWORD

Grafana login credentials

AWS_LOG_DS_* / CN_LOG_DS_*

Environment → data source name mapping

Choerodon

CHOERODON_BASE_URL / CHOERODON_USERNAME / CHOERODON_PASSWORD

Choerodon gateway and login credentials

SLS

SLS_PANGU_PROD_ACCESS_KEY_ID / SLS_PANGU_PROD_ACCESS_KEY_SECRET

Pangu production Alibaba Cloud log credentials

Other

PG_ROOT

Cross-repository search root directory (default: this repository root)

Do not commit credentials to git; .env is excluded by .gitignore. Only .env.example (with placeholder values) is committed.

-
license - not tested
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only

  • Hosted MCP memory: save sessions/decisions once, search from Claude, Cursor, ChatGPT. EU-hosted FTS.

  • An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nichuan/zhenyun-pangu-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server