Skip to main content

MCP Server for Tencent Cloud DNSPod

Project description

Tencent Cloud DNS MCP Server

The Tencent Cloud DNS MCP server is implemented to manage authoritative DNS domains, records and obtain DNS resolution statistics.

Features

  • DNS domains Management:: Full lifecycle management, including creating, starting, stopping DNS domains.
  • Record Management: Obtain current records.
  • DNS resolution statistics: Obtain DNS resolution statistics for a domain or specified subdomains.

API List

DescribeDomainList

Get the list of domains.

Input Parameters:

  • Type (string, optional): The domain group type.
  • Offset (integer, optional): Offset, default 0.
  • Limit (integer, optional): Number of results, default 20, max 100.
  • GroupId (integer, optional): Group ID, which can be passed in to get all domains in the specified group.
  • Keyword (integer, optional) Keyword for searching for a domain.
  • Tags (array[string], optional): Filter by Tags.

CreateDomain

Create a domain.

Input Parameters:

  • Domain (string): Domain.
  • GroupId (integer, optional): Group ID, which can be passed in to get all domains in the specified group.
  • Tags (array[string], optional): Bind tags for domain.

DescribeRecordList

get the status of a domain.

Input Parameters:

  • Domain (string): Domain.
  • DomainId (string, optional): The ID of the domain whose DNS records are requested.
  • SubDomain (string, optional): The host header of a DNS record.
  • RecordType (string, optional): The type of DNS record.
  • RecordLine (string, optional): The name of the split zone for which DNS records are requested.
  • RecordLineId (string, optional): The ID of the split zone for which DNS records are requested.
  • GroupId (integer, optional): The group ID passed in to get DNS records in the group.
  • Keyword (string, optional): The keyword for searching for DNS records.
  • SortField (string, optional): The sorting field.
  • SortType (string, optional): The sorting type.
  • Offset (integer, optional): The offset.
  • Limit (integer, optional): The limit.

DescribeRecordLineList

get record lines by domain and domain grade .

Input Parameters:

  • Domain (string): Domain.
  • DomainGrade (string): Domain grade.
  • DomainId (integer, optional): Domain ID.

DescribeDomainAnalytics

get dns resolution statistics of domain.

Input Parameters:

  • Domain (string): Domain.
  • StartDate (string): Start Date, Format: YYYY-MM-DD.
  • EndDate (string): End Date, Format: YYYY-MM-DD.
  • DnsFormat (string): Format type, Date/Hour.
  • DomainId (integer, optional): Domain ID.

DescribeSubdomainAnalytics

get dns resolution statistics of subdomain.

Input Parameters:

  • Domain (string): Domain.
  • StartDate (string): Start Date, Format: YYYY-MM-DD.
  • EndDate (string): End Date, Format: YYYY-MM-DD.
  • Subdomain (string): Host record such as www.
  • DnsFormat (string): Format type, Date/Hour.
  • DomainId (integer, optional): Domain ID.

Configuration

Set Tencent Cloud Credentials

  1. Obtain SecretId and SecretKey from Tencent Cloud Console
  2. Set default region (optional)

Environment Variables

Configure the following environment variables:

  • TENCENTCLOUD_SECRET_ID: Tencent Cloud SecretId
  • TENCENTCLOUD_SECRET_KEY: Tencent Cloud SecretKey
  • TENCENTCLOUD_REGION: Default region (optional)

Usage in Claude Desktop

Add the following configuration to claude_desktop_config.json:

{
  "mcpServers": {
    "tencent-dnspod": {
      "command": "uv",
      "args": [
        "run",
        "mcp-server-dnspod"
      ],
      "env": {
        "TENCENTCLOUD_SECRET_ID": "YOUR_SECRET_ID_HERE",
        "TENCENTCLOUD_SECRET_KEY": "YOUR_SECRET_KEY_HERE",
        "TENCENTCLOUD_REGION": "YOUR_REGION_HERE"
      }
    }
  }
}

Installation

pip install mcp-server-dnspod

License

MIT License. See LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_dnspod-0.1.8.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_dnspod-0.1.8-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_dnspod-0.1.8.tar.gz.

File metadata

  • Download URL: mcp_server_dnspod-0.1.8.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for mcp_server_dnspod-0.1.8.tar.gz
Algorithm Hash digest
SHA256 79d16ac67d8475a1f5708121a4d10c7a6036548f7038da31366cb41b031c27ab
MD5 4c09147d07394a62f68faac6f956a85c
BLAKE2b-256 200b36ad398381bede8a90bfc851176a8334a6deed80b276768d0c873ae56000

See more details on using hashes here.

File details

Details for the file mcp_server_dnspod-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_dnspod-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c059535c3e0bba659e36db48deba0c6ec3c2cd82402a3574193302db6b085c5a
MD5 559bcf165277bf6bfb9029c03da5b402
BLAKE2b-256 e40e82e1477704c7fcfd145cfddbb5c345b133d6feeebc3d4dd5dc4a70dd9583

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page