Skip to main content
Glama

Airlok

Создать приложение на хостинге

create_hosted_app

Создать приложение на хостинге Airlok (без своего сервера) из репозитория GitHub или открытого репозитория по ссылке (GitLab, GitVerse, GitFlic, SourceCraft): закрытый по ссылке подключается в дашборде с логином и токеном. Без repo — приложение для публикации папкой через CLI. Стек определяется сам: статика (Vite, Astro, CRA…), Next.js, Node-серверы (Express, Nest, Fastify…), Python (FastAPI, Flask, Django, Streamlit). Приложение должно слушать порт из переменной PORT. После создания задайте переменные (set_env) и опубликуйте (deploy). Сколько приложений можно — get_hosting_limits. Только по просьбе человека. Требует токен с правом публикации.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "create_hosted_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesимя и адрес сайта: латиница, цифры и дефис, 2–28 символов
repoNoрепозиторий GitHub (владелец/имя) или ссылка https://… на репозиторий на другом git-хостинге; без него код публикуется папкой: npx @airlok/cli deploy --app <имя> --json
roleNoроль приложения в проекте, необязательно
branchNoветка, по умолчанию — основная ветка репозитория
projectNoпроект, в который положить приложение: id или имя из list_projects
root_dirNoпапка проекта внутри репозитория, по умолчанию корень
auto_deployNoпубликовать при каждом push в ветку; для GitHub нужен установленный на репозиторий GitHub App Airlok

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations, the description discloses that private repository links need dashboard authentication, that omitting repo switches to folder publishing via CLI, that frameworks are auto-detected, and that the app must listen on the PORT variable. These are meaningful operational details for a mutating tool. It does not describe conflict handling, return values, or failure behavior, so it falls short of 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but front-loads the core action and source options, then moves through stack detection, runtime requirements, follow-up steps, and limits. Every sentence contributes useful information. It could be more scannable, but it is not padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a seven-parameter creation tool with no output schema, the description covers the critical context: sources, authentication requirements, stack detection, PORT requirements, and post-creation steps. It does not explain what the creation response contains or how name conflicts are handled, leaving a minor gap. Overall it is substantially complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all seven parameters are already well documented in the schema. The description adds little parameter-specific meaning beyond what the schema says, mainly reiterating the repo/no-repo distinction. With the schema doing the heavy lifting, the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: creating a hosted app on Airlok from a GitHub repository, a public repository link, or a CLI-published folder. It also distinguishes the no-repo path and auto-detected stacks. It does not explicitly contrast itself with close siblings such as create_app_from_template or create_server_app, keeping it at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states clear usage conditions: only at a human's request, requires a token with publishing rights, and private repositories by link need dashboard login and token. It also gives the correct follow-up sequence: set_env then deploy, with get_hosting_limits for quotas. It lacks explicit when-not guidance versus sibling creation tools, so not a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources