What you can build
You use Hyperterse to expose databases and custom logic as MCP tools that any AI agent can call. A typical tool definition looks like this:app/tools/get-user/config.terse
get-user that queries your database, validates inputs, and enforces API key authentication — without writing any application code.
How it works
Define your tools
Create
.terse YAML files for your database connections and tools. Each
directory under app/tools/ becomes one MCP tool.Compile your project
Run
hyperterse build to validate configuration, bundle scripts, and
serialize everything into a single deployable artifact.Key capabilities
Database adapters
Connect to PostgreSQL, MySQL, MongoDB, or Redis. Define connection strings
in
app/adapters/ — the framework manages pooling, health checks, and
shutdown.Filesystem-based tool discovery
Each folder under
app/tools/ maps to one MCP tool. No manual registration
— the directory name becomes the tool name.Embedded scripting
Add TypeScript handlers and transforms when you need logic that
configuration alone cannot express. Scripts run in a sandboxed runtime with
fetch and console.Per-tool authentication
Attach authentication to any tool with a built-in
api_key plugin, or write
your own. No global middleware to configure.In-memory caching
Enable tool result caching globally or per-tool with a TTL. Identical
requests return cached results without hitting your database.
Observability
Built-in OpenTelemetry support gives you distributed tracing, metrics, and
structured logging out of the box.