hypertxt-mcp
Provides MCP-compatible agents with a deliberately scoped content-operations toolset for managing Hypertxt projects, articles, and Google Search Console data.
README
Hypertxt Python
The official Python client, command-line interface, and MCP server for Hypertxt.
Use it to:
- inspect account credits, projects, article templates, and articles;
- retrieve, generate, export, review, archive, or publish articles;
- query synchronized or live Google Search Console performance;
- give MCP-compatible agents a deliberately scoped content-operations toolset.
Install
Install the CLI and MCP server into an isolated environment:
pipx install hypertxt
Or run the MCP server without a permanent install:
uvx --from hypertxt hypertxt-mcp
Python applications can install it with:
python -m pip install hypertxt
Authenticate
Create a named, revocable key in Hypertxt → Account → Automation. Keep it out of source control and chat transcripts:
export HYPERTXT_API_KEY="htx_replace_with_your_key"
hypertxt status
hypertxt projects
The client uses https://app.hypertxt.ai by default. Set
HYPERTXT_API_URL only when testing against another Hypertxt deployment.
CLI examples
# Inspect
hypertxt status
hypertxt articles list --project-id 12 --status awaiting_review
hypertxt articles get 451
# Query GSC
hypertxt gsc query \
--project-id 12 \
--group-by query \
--query-contains "mcp" \
--start-date 2026-07-01 \
--end-date 2026-07-25
# Generate after checking credits
hypertxt articles generate \
--project-id 12 \
--workflow-id 8 \
--title "How editorial teams use MCP" \
--keyword "MCP content workflow"
# Record editorial approval, then create a destination draft
hypertxt articles state 451 reviewed
hypertxt articles publish 451 --integration-id 9 --publish-status draft
Pass --json before the command for machine-readable output.
MCP
Start the stdio server:
hypertxt-mcp
Minimal MCP configuration:
{
"mcpServers": {
"hypertxt": {
"command": "uvx",
"args": ["--from", "hypertxt", "hypertxt-mcp"],
"env": {
"HYPERTXT_API_KEY": "${HYPERTXT_API_KEY}"
}
}
}
}
The server exposes read tools separately from actions that spend credits, change editorial state, refresh GSC, or publish. Agents should inspect first and obtain approval before calling mutating tools.
Client-specific setup and downloadable prompts:
OpenClaw skill
Install the companion portable Hypertxt skill from its public repository:
openclaw skills install \
git:simplebytes-com/hypertxt-openclaw@main \
--as hypertxt
Configure the MCP server separately so the skill has tools to call. Start with the read-only tool filter in the OpenClaw guide, then enable generation, state changes, GSC refreshes, and publishing when you want the agent to perform those actions.
Python
from hypertxt import HypertxtClient
with HypertxtClient() as client:
status = client.account_status()
articles = client.list_articles(project_id=12, status="awaiting_review")
Development
python -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev]"
ruff check src tests
mypy src
pytest -q
python -m build
Security
- Use a different named key for every client or machine.
- Never paste an
htx_…key into an LLM conversation. - Prefer environment or secret configuration over command arguments.
- Inspect the full article before changing state or publishing.
- Make generation and live publishing explicit.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.