Tencent Cloud PrivateDNS MCP Server
Private DNS is a private domain name resolution and management service based on Tencent Cloud's Virtual Private Cloud (VPC).
Features
- PrivateDNS information query:: Query domain lists, private domain lists, private domain information, private domain record lists, etc.
- DNS resolution statistics: Get the number of private domain resolution requests.
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.
CreatePrivateZone
Create Private Zone
Input Parameters:
Action(string, required): Common parameter, value for this API:CreatePrivateZone.Version(string, required): Common parameter, value for this API:2020-10-28.Domain(string, required): Domain name, must be a standard TLD format. Example:a.comTagSet.N(array of TagInfo, optional): Tags to bind to the private domain.VpcSet.N(array of VpcInfo, optional): VPCs to associate with the private domain.Remark(string, optional): Remarks. Example:Test domainDnsForwardStatus(string, optional): Whether to enable subdomain recursion. Values:ENABLED,DISABLED. Default:ENABLED. Example:ENABLEDAccountVpcSet.N(array of AccountVpcInfo, optional): VPCs from associated accounts to bind to the private domain.CnameSpeedupStatus(string, optional): Whether to enable CNAME acceleration. Values:ENABLED,DISABLED. Default:ENABLED. Example:ENABLED
DescribePrivateZone
Get Private Zone information
Input Parameters:
Action(string, required): Common parameter, value for this API: DescribePrivateZone.Version(string, required): Common parameter, value for this API: 2020-10-28.ZoneId(string, required): Private zone ID. Example:zone-dm1igr1
DescribePrivateZoneList
Obtain the list of private zones.
Input Parameters:
Action(string, required): Common parameter, value for this API: DescribePrivateZoneList.Version(string, required): Common parameter, value for this API: 2020-10-28.Region(string, optional): Common parameter, this interface does not need to pass this parameter.Offset(integer, optional): Pagination offset, starting from 0. Example:1Limit(integer, optional): Pagination limit, maximum 100, default 20. Example:10Filters.N(array of Filter, optional): Filtering parameters.
DescribePrivateZoneRecordList
Describe Private Zone Record List
Input Parameters:
Action(string, required): Common parameter, value for this API: DescribePrivateZoneRecordList.Version(string, required): Common parameter, value for this API: 2020-10-28.Region(string, optional): Common parameter, this interface does not need to pass this parameter.ZoneId(string, required): Private zone ID. Example:zone-12c5a6e8Filters.N(array of Filter, optional): Filtering parameters (supports filtering by Value and RecordType).Offset(integer, optional): Pagination offset, starting from 0. Example:0Limit(integer, optional): Pagination limit, maximum 200, default 20. Example:200
DescribeRequestData
Describe Private Zone Request Volume
Input Parameters:
Action(string, required): Common parameter, value for this API: DescribeRequestData.Version(string, required): Common parameter, value for this API: 2020-10-28.Region(string, optional): Common parameter, this interface does not need to pass this parameter.TimeRangeBegin(string, required): Start time for request volume statistics, format:2020-11-22 00:00:00. Example:2020-11-22 00:00:00TimeRangeEnd(string, optional): End time for request volume statistics, format:2020-11-22 23:59:59. Example:2020-11-23 23:59:59Filters.N(array of Filter, optional): Filtering parameters.Export(boolean, optional): Whether to export:trueto export,falsenot to export. Example:true
Configuration
Set Tencent Cloud Credentials
- Obtain SecretId and SecretKey from Tencent Cloud Console
- Set default region (optional)
Environment Variables
Configure the following environment variables:
TENCENTCLOUD_SECRET_ID: Tencent Cloud SecretIdTENCENTCLOUD_SECRET_KEY: Tencent Cloud SecretKeyTENCENTCLOUD_REGION: Default region (optional)
Usage in Claude Desktop
Add the following configuration to claude_desktop_config.json:
{
"mcpServers": {
"tencent-privatedns": {
"command": "uv",
"args": [
"run",
"mcp-server-privatedns"
],
"env": {
"TENCENTCLOUD_SECRET_ID": "YOUR_SECRET_ID_HERE",
"TENCENTCLOUD_SECRET_KEY": "YOUR_SECRET_KEY_HERE",
"TENCENTCLOUD_REGION": "ap-guangzhou" //optional parameter, to specify the region of tencent cloud API, default value is ap-guangzhou.
}
}
}
}
Installation
pip install mcp-server-privatedns
License
MIT License. See LICENSE file for details.
Metadata
Release files for mcp-server-privatedns 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_server_privatedns-0.1.1.tar.gz | 28.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_server_privatedns-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.2 kB
Release files / mcp_server_privatedns-0.1.1.tar.gz
| Download URL | mcp_server_privatedns-0.1.1.tar.gz |
|---|---|
| Size | 28.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b43a22bbb4f01881cf7576f7dba69c27458e70f78ce0035bf8b33dbc7f539128
|
|
BLAKE2b-256 checksum How to use checksums |
97fd1f0d901d574dd499b2f389b5720ac94044636c312afc38398183f8f2c727
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / mcp_server_privatedns-0.1.1-py3-none-any.whl
| Download URL | mcp_server_privatedns-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2a6fd0577386e50a2d4f7f553f378021cce06ac70eecaa59322e739f15e554c
|
|
BLAKE2b-256 checksum How to use checksums |
259d7251a7c6bcb0942875ce3d2b2ba8858e18f57b289a852981a12b248aeab9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Security for mcp-server-privatedns 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.