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.31.0

Additional Deployment Options

technitium-dns-mcp can also run as a local container (Docker / Podman / uv) or be consumed from a remote deployment. The Deployment guide has full, copy-paste mcp_config.json for all four transports — stdio, streamable-http, local container / uv, and remote URL:

  • Local container / uv — launch the server from mcp_config.json via uvx, docker run, or podman run, or point at a local streamable-http container by url.
  • Remote URL — connect to a server deployed behind Caddy at http://technitium-dns-mcp.arpa/mcp using the "url" key.

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.31.0.tar.gz (27.0 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.31.0-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: technitium_dns_mcp-0.31.0.tar.gz
  • Upload date:
  • Size: 27.0 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.31.0.tar.gz
Algorithm Hash digest
SHA256 ebfe56057abdbe6b16923acfd282e7358286bdc7449a7e57181974564bd6bd1e
MD5 1b333716df0751335b0fc8c48754f78f
BLAKE2b-256 f6c5f299c9aa212f2f6a8c0e174eab77cf1bb60a661497bfe6bae396cfb7ae73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for technitium_dns_mcp-0.31.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6bbd90dbefcfdeb0ff1663af2db85216989d27c903422560294b62ff835f7b0e
MD5 08b919ec80f2e9e0b93064e7cde583be
BLAKE2b-256 2c8219177a06e094f87841b624d94bdbcfd308877c2cf7ae824d8814745ab31b

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