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

Documentation — Installation, deployment, usage across the API, CLI, and MCP interfaces, and guidance for provisioning the Technitium DNS Server are maintained in the official documentation.

A 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/

Documentation

The complete documentation is published as the official documentation site and is the recommended reference for installation, deployment, and day-to-day operation.

Page Contents
Installation pip, source, extras, prebuilt Docker image
Deployment run the MCP and agent servers, Compose, Caddy + Technitium, env config
Usage the MCP tools, the Api client, the CLI
Backing Platform deploy Technitium DNS Server with Docker
Overview the layered API / MCP / agent architecture
Concepts concept registry (CONCEPT:TDNS-*)

Version: 0.30.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.30.0.tar.gz (26.3 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.30.0-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: technitium_dns_mcp-0.30.0.tar.gz
  • Upload date:
  • Size: 26.3 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.30.0.tar.gz
Algorithm Hash digest
SHA256 6f786b2a27d89972c01237f6a696488d43a6277be6f7f666e82dfb95dce68d3a
MD5 5ba0b129ff6ed663c3abcd5ff519ae01
BLAKE2b-256 4de146f11a44530cd9a19701f6d909b7b9766d2f41b51e3fc93f2394f9018560

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for technitium_dns_mcp-0.30.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a8ef394ac34e71d572455c75763a36e4338dac506f93d76b306079f10d75665
MD5 365d849dbf8d759d4eedbccdbf4f9c2b
BLAKE2b-256 1b7b130ba85c354b44b9f1439a26c156c570fcc01d476773cfb7f4ee12687aa7

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