{# Building blocks of the MCP popups (import "with context"). #}
{% macro copy(label, value) %}
{% if label %}{{ label }}{% endif %}
{{ value }}
{% endmacro %}
{% macro code(text) %}
{{ text }}
{% endmacro %}
{% macro part(n, title, link=None, link_label='Open') %}
{{ title }}
{% if link %}
{{ icon('external-link', 'h-3.5 w-3.5') }}{{ link_label }}
{% endif %}
{{ caller() }}
{{ title }}