惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

TaoSecurity Blog
TaoSecurity Blog
T
Troy Hunt's Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Vercel News
Vercel News
T
Threatpost
G
Google Developers Blog
T
Threat Research - Cisco Blogs
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
The Exploit Database - CXSecurity.com
H
Heimdal Security Blog
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
T
The Blog of Author Tim Ferriss
Know Your Adversary
Know Your Adversary
Hacker News: Ask HN
Hacker News: Ask HN
www.infosecurity-magazine.com
www.infosecurity-magazine.com
S
Schneier on Security
B
Blog
V2EX - 技术
V2EX - 技术
NISL@THU
NISL@THU
C
CERT Recently Published Vulnerability Notes
W
WeLiveSecurity
C
Cybersecurity and Infrastructure Security Agency CISA
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Y
Y Combinator Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Spread Privacy
Spread Privacy
The Last Watchdog
The Last Watchdog
V
Vulnerabilities – Threatpost
N
Netflix TechBlog - Medium
Schneier on Security
Schneier on Security
F
Fortinet All Blogs
N
News | PayPal Newsroom
Attack and Defense Labs
Attack and Defense Labs
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
S
Security @ Cisco Blogs
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
P
Privacy & Cybersecurity Law Blog
P
Proofpoint News Feed
Project Zero
Project Zero
I
Intezer
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
SecWiki News
SecWiki News
Martin Fowler
Martin Fowler

Show HN

GitHub - steveking-gh/firmion: Firmion is DSL and engine for firmware image generation. GitHub - villagesql/villagesql-skills: Agent skills for VillageSQL - gemini-cli-extension; claude-code-plugin GitHub - flightdeckhq/flightdeck: Observability and control plane for AI agents. CSP Radar GitHub - Light-Heart-Labs/DreamServer: Turn your PC, Mac, or Linux box into an AI server. LLM inference, chat UI, voice, agents, workflows, RAG, and image generation. GitHub - Diplomat-ai/diplomat-agent-ts: What can your TypeScript AI agent do to the real world? Scan your code. See which tool calls have zero checks Code Block Selector - Visual Studio Marketplace Prometheus dependency graph — interactive showcase | Riftmap Show HN: I made a vi-like modal keyboard plugin for Figma GitHub - run-llama/liteparse: A fast, helpful, and open-source document parser GitHub - dalemyers/Roar: A macOS CLI tool for notifications GitHub - district-solutions/open-agent-tools-coder: Enables small-to-large self-hosted ai models to use local source code when running tool-calling agentic workloads. We actively data mine 20,900+ (2+ TB) popular github repos using large and small ai models to create reuseable: json, markdown and parquet files for local-first tool-calling models. GitHub - progapandist/stripeek: A local TUI proxy for real-time Stripe API debugging, built for navigating complex payloads fast. GitHub - sir1st/hermes-desktop: All-in-one cross-platform desktop app for Hermes Agent — bundles Python + hermes-agent + hermes-web-ui GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: Generate Claude Code Workflows using Spec Driven Development approach GitHub - nixys/nxs-universal-chart: The Helm chart you can use to install any of your applications into Kubernetes/OpenShift Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code. GitHub - tamerh/enju: Coordinating Humans, AI Agents, and Compute as Peers on a Shared Workflow Graph Show HN: Continuity-auth – Respect-weighted rate limits for the open web GitHub - luml-ai/luml: AI lifecycle platform where engineers and agents track experiments, train models, and ship to production. GitHub - mrdanielcasper/CoreTex: A UNIX-inspired, biomimetic, flat-file AI harness and knowledge engine. GitHub - clemg/pierre-github: Pierre's diffs.com and trees.software for Github GitHub - lyriks-io/unspaghettit: Behavior-driven AI development without prompt spaghetti. GitHub - sofumel/claude-handoff-revive: Resume Claude Code work after rate/usage/context limits without replaying the prior transcript. Auto-saves at 90%/95% usage. Plugin-installable, 10 languages. GitHub - dotexorg/saferpc: Typed, end-to-end encrypted RPC over any bidirectional channel. GitHub - BeeZeeAgent/beezee: Agent harness orchestration Legato Next.js Boilerplate for Internal Tools · CoreUI GitHub - clark-labs-inc/clark-hash: Clark Hash, 32x smaller searchable sketches for embeddings GitHub - ZeroPointRepo/youtube-mcp: The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free. Typing Mastery — climb toward 100+ WPM, deliberately GitHub - Andebugulin/Awareen GitHub - fayzan123/claude-workflow-composer: Visual desktop app for composing multi-agent coding workflows. Drag agents, attach skills and MCPs, wire handoffs, export to .claude/ GitHub - harshaneel/humanize: Best static AI text humanizer. Two research-grounded skills that work in any LLM (Claude, ChatGPT, Gemini, Codex): humanize beats perplexity-based detectors, ai-check produces forensic scoring with evidence-quoted flags. Nine levers, 50+ peer-reviewed sources, 2024-2026 detection literature. GitHub - StackOneHQ/stack-nudge GitHub - nodes-app/swift-markdown-engine: A native AppKit Markdown editor for macOS, built on TextKit 2 and bridged to SwiftUI. We hardened an LLM agent. Each defense we added made it more exploitable. GitHub - alkait/WhatsKept: Agent-queryable WhatsApp history from an iOS backup — a single Go binary. GitHub - octelium/cordium: Open-source, general-purpose sandbox platform for devs and AI agents that provides identity-based secure access to infrastructure without credentials. WAR.GOV/UFO Microfilm5 GitHub - scosman/videowright: Build animated explainer videos with your coding agent GitHub - dipankar/dscode: The code editor you can take apart. GitHub - zoharbabin/web-researcher-mcp: MCP server (Go) for AI assistants: web search, content extraction, academic/patent/news research. Multi-provider routing, 4-tier scraping, search lenses. Works with Claude, Cursor, and any MCP client. GitHub - ruvnet/RuView: π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video. GitHub - scanaislop/aislop: Catch the slop AI coding agents leave in your code: narrative comments, swallowed exceptions, as-any casts, dead code, oversized functions. 50+ rules across 7 languages (TypeScript, JavaScript, Python, Go, Rust, Ruby, PHP). Sub-second, deterministic, no LLM at runtime. MIT-licensed. GitHub - kouhxp/cheap-im: CPU-only voice agent approximating Thinking Machines' Interaction Models demo GitHub - unprovable/OrchidMantis: Orchid Mantis — standalone framework for Zero-Knowledge Proofs of eXploit (ZKPoX). GitHub - MarcellM01/TinySearch: Shrink the web for your local LLMs! GitHub - TangibleResearch/Halgorithem: A Algo designed to detect AI Hallucitions GitHub - DO-SAY-GO/freelang: I love freelang GitHub - CarpseDeam/Aura-IDE: An AI coding harness that shaped itself - Planner/Worker agents, repo awareness, surgical edits, validation, recovery, and safe diff approvals. GitHub - chojs23/concord: A feature-rich TUI client for Discord GitHub - tommyjepsen/awesome-ux-skills: UX & AI Product designs skills you can use today in Claude Code GitHub - aerf-spec/aerf: Agent Evidence Receipt Format (AERF) — an open specification for tamper-evident, independently verifiable records of AI agent actions. GitHub - kklimuk/docx-cli: CLI for AI agents (Claude, Codex) to read, edit, and comment on .docx files with full format fidelity. GitHub - Jwrede/tokentoll: Catch LLM cost changes in code review. Infracost for LLM spend. GitHub - samchon/ttsc: A `typescript-go` toolchain for compiler-powered plugins and type-safe execution + 500x faster lint integrated into compiler GitHub - Higangssh/homebutler: 🏠 Manage your homelab from chat. Single binary, zero dependencies. GitHub - olalie/tapmap: See where your computer connects and what stands out on a live world map. GitHub - Diplomat-ai/diplomat-agent: What can your AI agent do to the real world? Scan your code. See which tool calls have zero checks GitHub - Bajusz15/beacon: Open-source agent for secure remote access, monitoring, and deploys across home-lab and self-hosted machines like Raspberry Pi, N100, or any Linux server. Open web based TTY or tunnel Home Assistant and other local services securely without opening ports. BigTech AI News - Chrome 应用商店 GitHub - vinhnx/VTCode: VT Code is an open-source coding agent with LLM-native code understanding and robust shell safety. Supports multiple LLM providers with automatic failover and efficient context management. GitHub - michaelaz774/decision-engine: A decision operating system for startup founders, powered by Claude Code. Synthesizes wisdom from 25+ legendary founders and investors into interactive AI-driven decision frameworks. GitHub - Chrilleweb/dotenv-diff: Validate environment variable usage in your codebase GitHub - Lumen-Labs/brainapi2: BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications. GitHub - familiar-software/familiar: Let AI watch you work. Familiar lets your AI update its memory, skills, and knowledge by watching your screen. GitHub - skorotkiewicz/rudo: A small, elegant dock for Wayland GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. make sidebar/address bar rounded corner toggleable
GitHub - mpospirit-apps/TetherDust: Self-hosted AI Analytics Engineer
masterpos · 2026-06-12 · via Show HN

TetherDust — Self-Hosted AI Analytics Engineer

License: AGPLv3 Version 0.1.0 Docker Compose Python 3.11+

TetherDust bridges the gap between your codebase and databases using containerized Model Context Protocol (MCP) servers. By documenting database schemas alongside repository documentation, TetherDust enables any AI agent to generate verifiable SQL, build dynamic d3.js dashboards, and map schema-to-code dependencies. The platform runs entirely within your infrastructure, enforcing strict read-only query boundaries, role-based access control (RBAC), and immutable audit logging.

Features

TetherDust is designed to be a flexible platform for AI-driven data interaction, with features that include:

Docs

Docs

  • Generate well-structured, wiki-like codebase and database documentation from natural language prompts, with rich Markdown support.

Tethers

Tethers

  • Point TetherDust at a GitHub codebase (or codebase documentation) together with a database documentation. The agent explores both and produces an interactive visual graph showing which code files read or write which tables and columns, versioned as the schema drifts.

Dashboards

Dashboards

  • Describe the dashboard you want; the AI agent writes the SQL and the d3.js code for every chart. Charts auto-refresh on a schedule and are cached for performance.

Charts

  • Edit the generated chart directly for custom behavior, or ask the agent to update it when requirements change.

Reports

Reports

  • Define queries and run them on a schedule, delivering results by email or download.

Chat

Use Chat to access all of TetherDust's capabilities in one place.

Chat1

  • Ask natural language questions about your data and get streamed answers grounded in your documentation. You can mention documentation sources by name to pull in specific context, or let the agent decide what to use.

Chat2

  • TetherDust can write and execute SQL queries — either at your request or to confirm details before answering.

Chat3

  • Reach reports, dashboards, and tethers by name from the chat.

Chat4

  • Use predefined prompts.

Technical Capabilities

Multi-agent support

Use CLI tools, API calls, or Ollama to connect any agent that speaks MCP. Currently supported agent integrations:

Provider Method
Codex CLI (OpenAI) ChatGPT subscription auth token
Codex CLI (OpenAI) OpenAI API key
Claude Code (Anthropic) Claude Pro/Max OAuth token
Claude Code (Anthropic) Anthropic API key
Direct API Any agent accessible via HTTP API, configured with custom MCP servers
Ollama Local Ollama models with MCP support

Multi-database support

Connect any database with a Python SQLAlchemy dialect and a read-only user. Currently supported databases: PostgreSQL, MySQL/MariaDB, SQL Server, SQLite, ClickHouse, Oracle, Snowflake, BigQuery.

Many more agents and databases to come The architecture is designed to be agent-agnostic, with a simple interface for adding new ones.

Built-in MCP server

Agent runtimes are containerized, so the only way for an agent to interact with TetherDust's features is through MCP servers, which expose tools and data sources as APIs. TetherDust includes a built-in MCP server that exposes the core features.

Role-based access control

Every user's role decides which databases, MCP tools, documentation sources, dashboards, reports, and tethers they can see.

flowchart LR
    User([👤 User]) --> Role{{Role}}

    Role -- allowed_databases --> DB[(Databases)]
    Role -- allowed_tools --> Tools[MCP Tools]
    Role -- allowed_doc_sources --> Docs[Doc Sources]
    Role -- allowed_prompts --> Prompts[Prompts]
    Role -- allowed_mcp_servers --> MCP[Custom MCP Servers]
    Role -- can_view_dashboards --> Dash[Dashboards]
    Role -- can_view_reports --> Reports[Reports]
    Role -- can_view_tethers --> Tethers[Tethers]

    DB --> Agent([🤖 Agent])
    Tools --> Agent
    Docs --> Agent
    Prompts --> Agent
    MCP --> Agent

    Agent -. only sees the<br/>allowed subset .-> Scope[/Permitted scope/]
Loading

Agents only see the databases and tools their user role allows.

Custom MCP servers

Extend the agent with remote HTTP or local subprocess MCP servers (Notion, GitHub, internal APIs, anything that speaks MCP), granted per role.

Safe querying

Every agent query is parsed with SQLGlot and rejected unless it is read-only. Connections are read-only by default, and the real trust boundary is a read-only database user — always connect with one.

Audit log

Actions and queries are logged in an immutable audit log. Every chat session, agent query, and generation run is recorded and reviewable by staff in the admin console.

How it runs

The full stack ships as a Docker Compose project: a Django web app (portal + admin console), an MCP server that exposes database and generation tools, pluggable AI agent gateways (Codex CLI, Claude Code CLI, direct API/Ollama), PostgreSQL, Redis, and Celery workers for background tasks. Switching the active agent is a single toggle in the console — no restarts, no config changes.

Quickstart

Prerequisites

  • Docker and Docker Compose v2
  • An AI agent credential (one of):
    • Codex — a ChatGPT subscription auth token, or an OpenAI API key
    • Claude Code — a Claude Pro/Max OAuth token (claude setup-token), or an Anthropic API key

You configure the agent credential later, from the admin console — it is not needed to boot the stack.

1. Set your secrets before the first launch

All credentials live in a gitignored .env file that Docker Compose loads automatically. Start from the template:

.env.example ships with working local defaults for the database and admin login, but the two cryptographic keys are intentionally blank — the stack will not start until you fill them in. Edit .env and set the following.

a. Generate a credential-encryption key (Fernet). This key encrypts all stored database passwords and agent API keys/tokens — generate your own and keep it secret:

python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"

Set TETHERDUST_ENCRYPTION_KEY to the generated value. It is shared from .env to every service that needs it (mcp, local-mcp, web, celery-worker, celery-beat), so you only set it once.

b. Generate a Django secret key:

python -c "import secrets; print(secrets.token_urlsafe(64))"

Set DJANGO_SECRET_KEY to the generated value.

c. Set the admin login. The superuser is created on first boot from these values — change them so the default admin/admin is never used:

DJANGO_SUPERUSER_USERNAME=admin
DJANGO_SUPERUSER_PASSWORD=<a-strong-password>
DJANGO_SUPERUSER_EMAIL=you@example.com

d. Change the database password. Set DB_NAME, DB_USER, and DB_PASSWORD to your chosen values. A single set of variables feeds the db service, both MCP connection strings, and the web/celery services — there is nothing to keep in sync by hand.

e. Generate the internal service secrets. Two shared secrets authenticate TetherDust's internal service-to-service calls — MCP_FILTER_SECRET (web/celery → MCP filter registration) and AGENT_GATEWAY_SECRET (Django → the Codex/Claude gateways). Generate a value for each:

python -c "import secrets; print(secrets.token_urlsafe(32))"

If left blank the stack still starts, but those internal calls are unauthenticated — set both before exposing TetherDust to a network.

f. (Local development only) Enable debug mode. .env.example ships with DJANGO_DEBUG=false, which enables production hardening (secure cookies, HTTPS redirect, HSTS) and assumes TLS in front of the app — so logging in over plain http://localhost won't work. For local development set DJANGO_DEBUG=true (dev server with auto-reload, hardening relaxed). Leave it false for any real deployment.

Note: .env is listed in .gitignore, so your real secrets stay out of version control. Never commit it. See Production notes.

2. Launch

docker compose up --build

This starts PostgreSQL, the MCP server, the agent gateways, Redis, Celery, and the Django web app. First boot runs database migrations, creates your superuser, and auto-discovers documentation sources.

3. Open the app

Visit http://localhost:8000 and log in with the superuser credentials you set in step 1c.

4. Connect an agent and a database

From the admin console:

  1. Agents — add an agent configuration (Codex or Claude Code), paste your auth token/API key, and mark it active. Only one agent is active at a time.
  2. Databases — add a connection to the database you want to query. Use a read-only database user (see below).
  3. Open the chat and ask a question in natural language.

Security notes

TetherDust runs every agent query through three layers of read-only protection:

  1. SQL validation — each query is parsed (via SQLGlot, per database dialect) and rejected unless it is a single SELECT/CTE/set-operation. Multi-statement input, data-modifying CTEs, SELECT … INTO, stored-procedure calls, and DDL/DML are all blocked.
  2. Read-only session — connections marked Read-only (default ON) run in a read-only database session where the engine supports it (PostgreSQL, MySQL/MariaDB, SQLite, Oracle, ClickHouse). SQL Server, BigQuery, and Snowflake have no session-level read-only — there, rely on a read-only user/role (below).
  3. Read-only database user — the real trust boundary. Always connect with an account that only has read access. The two layers above are defense-in-depth; a read-only credential is what actually guarantees the agent can't write.

Create a read-only database user

-- PostgreSQL
CREATE ROLE tetherdust_ro LOGIN PASSWORD '...';
GRANT CONNECT ON DATABASE mydb TO tetherdust_ro;
GRANT USAGE ON SCHEMA public TO tetherdust_ro;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO tetherdust_ro;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO tetherdust_ro;

-- MySQL / MariaDB
CREATE USER 'tetherdust_ro'@'%' IDENTIFIED BY '...';
GRANT SELECT ON mydb.* TO 'tetherdust_ro'@'%';

For BigQuery grant roles/bigquery.dataViewer + roles/bigquery.jobUser (not dataEditor); for Snowflake grant a role with USAGE/SELECT only; for SQL Server add the login to the db_datareader role.

Other notes

  • Stored credentials are encrypted with the Fernet key from step 1a. If TETHERDUST_ENCRYPTION_KEY is left blank, credentials are stored in plaintext — always set it. In production (DJANGO_DEBUG=false) TetherDust refuses to save a credential without a key.
  • Set every secret in .env before any non-local deployment, as described in step 1.

Production notes

The default Compose configuration is tuned for local development. Before exposing TetherDust to a network, work through this checklist:

  • Rotate every secret — encryption key, Django secret key, MCP_FILTER_SECRET, AGENT_GATEWAY_SECRET, admin password, database password (see step 1).
  • Set MCP_FILTER_SECRET and AGENT_GATEWAY_SECRET — without them the internal MCP filter registration and agent gateways accept unauthenticated calls.
  • DJANGO_DEBUG=false — disables debug pages and switches to the Daphne ASGI server. This also auto-enables the transport/cookie hardening below.
  • DJANGO_ALLOWED_HOSTS — set to your real host(s), comma-separated.
  • DJANGO_CSRF_TRUSTED_ORIGINS — set to your HTTPS origin(s), e.g. https://tetherdust.example.com (required for form posts behind a proxy).
  • Terminate TLS in front of the app (reverse proxy / load balancer) and forward X-Forwarded-Proto.
  • Publish only the web service (port 8000). The internal services — mcp (8001), local-mcp (8003), the agent gateways (codex/codex-api/ claude/claude-api, 8002), db, and redis — have no user-facing auth and must stay on the private Compose network. The default docker-compose.yml only maps 8000; if you add port mappings or run host networking, do not expose the others. Treat MCP_FILTER_SECRET / AGENT_GATEWAY_SECRET as defense-in-depth, not a substitute for network isolation.
  • Keep secrets out of version control — secrets already live in the gitignored .env; for production prefer a secrets manager and never commit .env.

When DJANGO_DEBUG=false, settings.py automatically turns on SECURE_SSL_REDIRECT, SESSION_COOKIE_SECURE, CSRF_COOKIE_SECURE, SECURE_CONTENT_TYPE_NOSNIFF, HSTS (1 year), and SECURE_PROXY_SSL_HEADER. These assume TLS is terminated in front of the app. Optional overrides:

Variable Default (when DEBUG off) Purpose
DJANGO_SECURE_SSL_REDIRECT True Set False if your proxy already redirects HTTP→HTTPS.
DJANGO_SECURE_HSTS_SECONDS 31536000 Set 0 to disable HSTS while validating a TLS rollout.
DJANGO_CSRF_TRUSTED_ORIGINS (empty) Comma-separated HTTPS origins.

Verify your configuration with python manage.py check --deploy.

Versioning & updates

TetherDust tracks a single product version in the repo-root VERSION file (independent of the mcp_server package version in tetherdust/pyproject.toml). Staff see it under Console → Version, along with per-release notes read from the changelog/ directory (one changelog/<version>.md file per release) and an update-available indicator.

The update check (a Celery task, every 6 hours) calls the GitHub API for the latest published Release of the upstream repo (GITHUB_REPOSITORY in core/version.py) and compares its tag against the running VERSION using semantic versioning. A newer tag lights up the indicator. There is nothing to configure — every install checks the same official repo.

Only published GitHub Releases are detected. A bare git tag with no Release attached is invisible to the check.

Cutting a release (maintainers)

  1. Bump VERSION and add changelog/<version>.md with the upgrade notes for admins (migrations, new env vars, manual steps) plus the changes. Commit.
  2. Tag and push: git tag v<version> && git push --tags.
  3. Publish a GitHub Release for that tag — this is the step that flips the update indicator for every running install.

License

TetherDust is licensed under the GNU Affero General Public License v3.0 (AGPLv3) — see LICENSE. You are free to use, modify, and self-host it; note that AGPL's network-copyleft requires you to make your modified source available to users you provide the software to over a network.

A separate commercial license is available for the managed/cloud offering and for use that doesn't fit AGPLv3 — contact the maintainers.

Contributing

Contributions are welcome. By submitting a contribution you agree to the Contributor License Agreement, signaled by signing off your commits:

This certifies the Developer Certificate of Origin and lets the project include your contribution in both the AGPLv3 codebase and the commercial offering.