{# Add an MCP server, step 1 (spec §7.1, task 133): an endpoint, a name, and one credential. The API wizard's step 1 with the questions that have no answer here taken off it. An endpoint is one thing with one credential (spec §4): there is no base URL to override, because the tools are called where they are listed, and no separate spec-fetch credential, because there is no document. A form that offered either would be asking the operator to decide something the gateway has already decided. Submitting this connects, initialises, lists the tools and stores nothing at all. The operator sees what they are about to register on the next page, and only then does anything reach the database. An ordinary form with an ordinary POST, as the API wizard's is: a submission here makes a network call to somebody else's server, and the honest way to show that is a page that navigates. #} {% extends "base.html" %} {% from "partials/field.html" import field, choice %} {% from "partials/credential_fields.html" import credential_fields %} {% block title %}{{ section.add_label }} · mcp-api-gateway{% endblock %} {% block scripts %} {% endblock %} {% block content %}
{% endblock %}