Skip to main content

Technitium DNS Server MCP Server and Agent for Agentic AI!

Project description

Technitium DNS MCP Server & Agent

License: MIT Python Version

An ultra-premium, production-grade Model Context Protocol (MCP) server and graph-based Pydantic AI agent integration for Technitium DNS Server. Exposes comprehensive, 100% covered REST API endpoints for user SSO, analytics metrics, authoritative zones, DNSSEC, and dynamic DNS record operations.


🚀 Key Features

  • 100% API Coverage: Complete mapping of Technitium User/SSO, Dashboard Analytics, Zone Management, DNSSEC, and Record Actions.
  • FastMCP Protocol Integration: Dynamically registers stdio and streamable-http endpoints for large-scale AI tool discovery.
  • Autonomous Agent Layer: Bundled with a Pydantic AI Agent that operates natively using advanced instruction graphs and local toolchains.
  • Strict Compliance: Designed in accordance with standard codebase-wide architectural patterns (agent-packages).

🛠️ Installation & Setup

Install package in editable mode with all optional dependencies:

pip install -e .[all]

Environment Variables

Configure .env using .env.example as a template:

# Server Endpoint & TLS
TECHNITIUM_DNS_URL=http://localhost:5380
TECHNITIUM_DNS_SSL_VERIFY=True

# Credentials / API Tokens
TECHNITIUM_DNS_TOKEN=your-secure-token

⚙️ Dynamic Tool Selection & Visibility

This MCP server supports dynamic toolset selection and visibility filtering at runtime. This allows you to restrict the set of exposed tools in order to prevent blowing up the LLM's context window.

You can configure tool filtering via multiple input channels:

  • CLI Arguments: Pass --tools or --toolsets (or their disabled counterparts --disabled-tools and --disabled-toolsets) during startup.
  • Environment Variables: Define standard environment variables:
    • MCP_ENABLED_TOOLS / MCP_DISABLED_TOOLS
    • MCP_ENABLED_TAGS / MCP_DISABLED_TAGS
  • HTTP SSE Request Headers: Pass custom headers during transport initialization:
    • x-mcp-enabled-tools / x-mcp-disabled-tools
    • x-mcp-enabled-tags / x-mcp-disabled-tags
  • HTTP SSE Request Query Parameters: Append query parameters directly to your transport connection URL:
    • ?tools=tool1,tool2
    • ?tags=tag1

When query strings or parameters are supplied, an LLM-free Knowledge Graph resolution layer (using DynamicToolOrchestrator) matches query intents against known tool tags, names, or descriptions, with safe fallback and automated 24-hour background cache refreshing.


🖥️ Running the Servers

Run MCP Server (stdio by default)

technitium-dns-mcp

Or start a streamable HTTP server:

TRANSPORT=streamable-http HOST=0.0.0.0 PORT=8000 technitium-dns-mcp

Run Pydantic AI Agent

technitium-dns-agent --mcp-url http://localhost:8000

🧪 Running Tests

Ensure high reliability across all components with standard test suites:

pytest -v tests/

Version: 0.27.0

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

technitium_dns_mcp-0.27.0.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

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

technitium_dns_mcp-0.27.0-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file technitium_dns_mcp-0.27.0.tar.gz.

File metadata

  • Download URL: technitium_dns_mcp-0.27.0.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for technitium_dns_mcp-0.27.0.tar.gz
Algorithm Hash digest
SHA256 7e2044151ec73216b5d47a8ccfe7f3b6dfa13d971f873818fc715bcbe73709ec
MD5 7b3adb61374f057c3926eaa8b607cbab
BLAKE2b-256 c158165c79de44c7dea312921e342dfb3d083be3639caed44cbd87b90853d8f0

See more details on using hashes here.

File details

Details for the file technitium_dns_mcp-0.27.0-py3-none-any.whl.

File metadata

File hashes

Hashes for technitium_dns_mcp-0.27.0-py3-none-any.whl
Algorithm Hash digest
SHA256 021a0fa71e7de010aace9f0466e09b37a41e0832e1c3f9584a650c1a17f13e02
MD5 62ed8831b43311553117f93c59722767
BLAKE2b-256 f029140ca5fa6673eb2c3974127a523cb9b3b6f45e43234599dea36ebcd84831

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