{% extends "base.html" %} {% block title %}dbst — MCP Reference{% endblock %} {% block body_class %}page-docs{% endblock %} {% block body %}
← Back

MCP Reference

API →
{% if not mcp_available %}

MCP server needs the 'agent' extra: pip install 'dbst[agent]'

{% else %}
{% for t in tools %}
TOOL {{ t.name }}
{% if t.description %}
{{ t.description }}
{% endif %}
{{ t.input_schema }}
{% endfor %}
{% for r in resources %}
RES {{ r.uri }} {{ r.name }}
{% if r.description %}
{{ r.description }}
{% endif %}
{% endfor %}
{% for p in prompts %}
PROMPT {{ p.name }}
{% if p.description %}
{{ p.description }}
{% endif %} {% if p.arguments %}
{% for a in p.arguments %} {{ a.name }}{{ "*" if a.required else "" }} {% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% endblock %}