PEP-236: «MCP-сервер» в разделе «Подключения» — форма, инструменты, режимы по инструментам; словарь и переводы
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4d81829694
commit
57c66ec9c1
@ -1040,6 +1040,12 @@ export async function createConnectionAction(f: FormData) {
|
||||
const user = asWebActor(await requireUser());
|
||||
await attempt(f, async () => {
|
||||
const protocol = str(f, "protocol");
|
||||
// PEP-236: a remote MCP server — the test (initialize + tools/list) runs on saving.
|
||||
if (protocol === "mcp") {
|
||||
const kind = str(f, "authKind");
|
||||
const c = await createConnection(db, user.id, { protocol: "mcp", name: str(f, "name"), baseUrl: str(f, "baseUrl"), secret: String(f.get("secret") ?? "").trim(), authKind: kind === "header" || kind === "none" ? kind : "bearer", authHeader: str(f, "authHeader") || null });
|
||||
return `/connections?created=${c.id}&check=${c.checkStatus ?? "down"}#c${c.id}`;
|
||||
}
|
||||
if (isGatewayProtocol(protocol)) {
|
||||
const config = Object.fromEntries(PROTOCOL_FIELDS.filter((k) => f.has(k)).map((k) => [k, str(f, k)]));
|
||||
// An SSH key keeps its line breaks; a password is one line.
|
||||
@ -1116,7 +1122,10 @@ export async function grantConnectionAction(f: FormData) {
|
||||
await attempt(f, async () => {
|
||||
const agent = str(f, "agentId");
|
||||
const mode = (k: string): GrantMode => (["auto", "ask"].includes(str(f, k)) ? (str(f, k) as GrantMode) : "off");
|
||||
await grantConnection(db, user.id, Number(str(f, "connectionId")), { projectId: Number(str(f, "projectId")), agentId: agent ? Number(agent) : null, readMode: mode("readMode"), writeMode: mode("writeMode"), operations: String(f.get("operations") ?? ""), term: isGrantTerm(str(f, "term")) ? (str(f, "term") as GrantTerm) : DEFAULT_GRANT_TERM });
|
||||
// PEP-236: an MCP server's own mode per tool — fields «tool:<name>»; empty = as reading / writing.
|
||||
const tools: Record<string, GrantMode> = {};
|
||||
for (const [k, v] of f.entries()) if (k.startsWith("tool:") && ["auto", "ask", "off"].includes(String(v))) tools[k.slice(5)] = String(v) as GrantMode;
|
||||
await grantConnection(db, user.id, Number(str(f, "connectionId")), { projectId: Number(str(f, "projectId")), agentId: agent ? Number(agent) : null, readMode: mode("readMode"), writeMode: mode("writeMode"), operations: String(f.get("operations") ?? ""), tools, term: isGrantTerm(str(f, "term")) ? (str(f, "term") as GrantTerm) : DEFAULT_GRANT_TERM });
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@ -32,6 +32,8 @@ import {
|
||||
type GrantMode,
|
||||
type GatewayProtocol,
|
||||
GATEWAY_PROTOCOLS,
|
||||
mcpTools,
|
||||
type McpTool,
|
||||
} from "@peppa/core";
|
||||
import { AccessRequestList } from "@/components/AccessRequests";
|
||||
import { ApprovalList } from "@/components/ConnectionApprovals";
|
||||
@ -116,6 +118,11 @@ function GrantLine({ g, engineer, t }: { g: ConnectionGrantView; engineer: boole
|
||||
{g.state === "idle" && <Badge variant="warn">{t("снято: {n} ч без дела", { n: g.idleHours })}</Badge>}
|
||||
{g.idleAskedAt && <Badge variant="warn">{t("не используется {n} ч — снять?", { n: g.idleHours })}</Badge>}
|
||||
{engineer && g.operations.length > 0 && <span className="font-mono text-xs text-muted-foreground">{g.operations.join(", ")}</span>}
|
||||
{g.tools && Object.keys(g.tools).length > 0 && (
|
||||
<span className="text-xs text-muted-foreground">
|
||||
· {t("инструменты: {list}", { list: Object.entries(g.tools).map(([name, mode]) => `${name} — ${modeText(mode, t)}`).join(", ") })}
|
||||
</span>
|
||||
)}
|
||||
<div className="ml-auto flex gap-1">
|
||||
{g.idleAskedAt && (
|
||||
<>
|
||||
@ -233,13 +240,14 @@ function GrantForm({ c, projects, agents, engineer, t }: { c: ConnectionView; pr
|
||||
</select>
|
||||
</label>
|
||||
<ModeSelect name="readMode" label={t("Чтение")} def="auto" t={t} />
|
||||
{/* PEP-251: changing a database and sending letters ask the owner by default. */}
|
||||
<ModeSelect name="writeMode" label={t("Запись")} def={c.protocol === "postgres" || c.protocol === "mysql" || c.protocol === "mail" ? "ask" : "off"} t={t} />
|
||||
{/* PEP-251: changing a database and sending letters ask the owner by default. PEP-236: an MCP server's writing tools too. */}
|
||||
<ModeSelect name="writeMode" label={t("Запись")} def={c.protocol === "postgres" || c.protocol === "mysql" || c.protocol === "mail" || c.protocol === "mcp" ? "ask" : "off"} t={t} />
|
||||
<TermSelect t={t} />
|
||||
</div>
|
||||
{c.protocol === "mcp" && <McpToolModes c={c} t={t} />}
|
||||
<p className="m-0 text-xs text-muted-foreground">
|
||||
{c.protocol === "http" ? t("Чтение — смотреть данные, ничего не меняя. Запись — создавать, менять, удалять и отправлять. «Спрашивать меня» пока означает отказ: подтверждение запросов появится позже.") : t.text(PROTOCOL_TEXT[c.protocol as GatewayProtocol].modes)}
|
||||
{c.protocol !== "http" && <> {t("«Спрашивать меня» пока означает отказ: подтверждение запросов появится позже.")}</>}
|
||||
{c.protocol === "mcp" ? t("Чтение — инструменты, которые сервер отметил как только читающие. Запись — все остальные. Свой режим инструмента важнее.") : c.protocol === "http" ? t("Чтение — смотреть данные, ничего не меняя. Запись — создавать, менять, удалять и отправлять. «Спрашивать меня» пока означает отказ: подтверждение запросов появится позже.") : t.text(PROTOCOL_TEXT[c.protocol as GatewayProtocol].modes)}
|
||||
{c.protocol !== "http" && c.protocol !== "mcp" && <> {t("«Спрашивать меня» пока означает отказ: подтверждение запросов появится позже.")}</>}
|
||||
</p>
|
||||
{/* PEP-260: an «echo» operation can hand the key back in a form masking doesn't know. */}
|
||||
{c.protocol === "http" && <p className="m-0 text-xs text-muted-foreground">{t("Не разрешайте агенту действия, которые возвращают присланное обратно: проверку, отладку, «кто я» с ключом. Через них сервис может показать агенту ключ.")}</p>}
|
||||
@ -291,10 +299,11 @@ function ConnectionCard({ c, projects, agents, engineer, t }: { c: ConnectionVie
|
||||
{active && c.hasKey && (
|
||||
<form action={checkConnectionAction} className="ml-auto">
|
||||
<Hidden fields={{ connectionId: c.id, back: BACK }} />
|
||||
<Button size="sm" variant="secondary">{t("Проверить")}</Button>
|
||||
<Button size="sm" variant="secondary">{c.protocol === "mcp" ? t("Обновить список инструментов") : t("Проверить")}</Button>
|
||||
</form>
|
||||
)}
|
||||
</div>
|
||||
{c.protocol === "mcp" && <McpToolList tools={mcpTools(c.config)} t={t} />}
|
||||
|
||||
<div className="flex flex-col gap-2">
|
||||
<span className="text-sm font-medium">{t("Кому разрешено")}</span>
|
||||
@ -324,12 +333,12 @@ function ConnectionCard({ c, projects, agents, engineer, t }: { c: ConnectionVie
|
||||
) : (
|
||||
<form action={replaceConnectionSecretAction} className="flex flex-1 flex-wrap items-center gap-2" autoComplete="off">
|
||||
<Hidden fields={{ connectionId: c.id, back: BACK }} />
|
||||
{c.protocol === "ssh" ? (
|
||||
{c.protocol === "mcp" && c.authKind === "none" ? null : c.protocol === "ssh" ? (
|
||||
<Textarea name="secret" required rows={1} placeholder={t("Новый пароль или ключ входа на сервер")} aria-label={t("Новый пароль или ключ")} className="max-w-xs font-mono" spellCheck={false} />
|
||||
) : (
|
||||
<Input name="secret" type="password" required placeholder={c.protocol !== "http" ? t("Новый пароль") : active ? t("Новый ключ доступа") : t("Новый ключ доступа, чтобы включить снова")} aria-label={t("Новый ключ доступа")} className="max-w-xs" autoComplete="new-password" />
|
||||
)}
|
||||
<Button size="sm" variant="secondary">{active ? t("Заменить ключ") : t("Включить снова")}</Button>
|
||||
{!(active && c.protocol === "mcp" && c.authKind === "none") && <Button size="sm" variant="secondary">{active ? t("Заменить ключ") : t("Включить снова")}</Button>}
|
||||
</form>
|
||||
)}
|
||||
{(active || c.status === "relogin") && (
|
||||
@ -486,6 +495,94 @@ function ProtocolSteps({ p, t }: { p: GatewayProtocol; t: Translator }) {
|
||||
);
|
||||
}
|
||||
|
||||
/** PEP-236: the server's tools on the connection card; a suspicious description is shown to the owner. */
|
||||
function McpToolList({ tools, t }: { tools: McpTool[]; t: Translator }) {
|
||||
if (!tools.length) return <p className="m-0 text-sm text-muted-foreground">{t("Список инструментов пуст: проверьте адрес и ключ доступа и нажмите «Обновить список инструментов».")}</p>;
|
||||
const bad = tools.filter((x) => x.suspicious?.length).length;
|
||||
return (
|
||||
<details className="text-sm">
|
||||
<summary className="cursor-pointer">
|
||||
{t("Инструменты сервиса: {n}", { n: tools.length })}
|
||||
{bad > 0 && <Badge variant="danger" className="ml-2">{t("похоже на указание для агента: {n}", { n: bad })}</Badge>}
|
||||
</summary>
|
||||
{bad > 0 && <p className="mt-2 mb-0 text-xs text-muted-foreground">{t("Описание таких инструментов похоже на указание для агента. Агентам они не выдаются, пока вы сами не включите их в разрешении.")}</p>}
|
||||
<ul className="mt-2 mb-0 flex list-none flex-col gap-1 p-0">
|
||||
{tools.map((x) => (
|
||||
<li key={x.name} className="flex flex-col gap-0.5 rounded-md border bg-background/40 px-2.5 py-1.5">
|
||||
<span className="flex flex-wrap items-center gap-2">
|
||||
<span className="font-mono text-xs">{x.name}</span>
|
||||
<Badge variant="outline">{x.readOnly ? t("чтение") : t("запись")}</Badge>
|
||||
{x.suspicious?.length ? <Badge variant="danger">{t("похоже на указание для агента")}</Badge> : null}
|
||||
</span>
|
||||
{x.description && <span className="line-clamp-3 text-xs text-muted-foreground">{x.description}</span>}
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</details>
|
||||
);
|
||||
}
|
||||
|
||||
/** PEP-236: the permission's own mode per tool (empty — as reading / writing). */
|
||||
function McpToolModes({ c, t }: { c: ConnectionView; t: Translator }) {
|
||||
const tools = mcpTools(c.config);
|
||||
if (!tools.length) return null;
|
||||
return (
|
||||
<details className="text-sm">
|
||||
<summary className="cursor-pointer text-muted-foreground">{t("Инструменты по отдельности")}</summary>
|
||||
<div className="mt-2 grid gap-1.5 sm:grid-cols-2">
|
||||
{tools.map((x) => (
|
||||
<label key={x.name} className="flex items-center justify-between gap-2 rounded-md border bg-background/40 px-2 py-1">
|
||||
<span className="flex min-w-0 items-center gap-1.5">
|
||||
<span className="truncate font-mono text-xs">{x.name}</span>
|
||||
{x.suspicious?.length ? <Badge variant="danger">!</Badge> : null}
|
||||
</span>
|
||||
<select name={`tool:${x.name}`} defaultValue="" className="h-7 rounded-md border border-input bg-background px-1.5 text-xs" aria-label={x.name}>
|
||||
<option value="">{x.suspicious?.length ? t("не разрешать (подозрительный)") : x.readOnly ? t("как чтение") : t("как запись")}</option>
|
||||
<option value="auto">{t("Выполнять сразу")}</option>
|
||||
<option value="ask">{t("Спрашивать меня")}</option>
|
||||
<option value="off">{t("Не разрешать")}</option>
|
||||
</select>
|
||||
</label>
|
||||
))}
|
||||
</div>
|
||||
<p className="mt-1 mb-0 text-xs text-muted-foreground">{t("Чтобы разрешить только несколько инструментов, поставьте чтению и записи «Не разрешать», а нужным инструментам — «Выполнять сразу» или «Спрашивать меня».")}</p>
|
||||
</details>
|
||||
);
|
||||
}
|
||||
|
||||
/** PEP-236: «MCP-сервер» — address and key; the test lists the server's tools. */
|
||||
function McpSteps({ t }: { t: Translator }) {
|
||||
const back = "/connections?service=proto:mcp#add";
|
||||
return (
|
||||
<Card className="flex flex-col gap-4 p-4">
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
<span className="text-base font-medium">{t("MCP-сервер")}</span>
|
||||
<Badge variant="outline">{t("Инструменты сервиса для агентов")}</Badge>
|
||||
<Link href="/connections#add" className="ml-auto text-sm text-muted-foreground underline-offset-2 hover:underline">
|
||||
{t("← Другой сервис")}
|
||||
</Link>
|
||||
</div>
|
||||
<p className="m-0 text-sm text-muted-foreground">{t("Многие сервисы дают свой MCP-сервер. Подключите его здесь: агенты получат только инструменты, которые вы разрешите, а ключ доступа останется у FORGE.")}</p>
|
||||
<form action={createConnectionAction} className="flex max-w-xl flex-col gap-3" autoComplete="off">
|
||||
<Hidden fields={{ back, protocol: "mcp" }} />
|
||||
<Field name="name" label={t("Название")} placeholder={t("Название, например «Магазин»")} />
|
||||
<Field name="baseUrl" label={t("Адрес MCP-сервера")} placeholder="https://mcp.example.com/mcp" type="url" mono />
|
||||
<div className="flex flex-wrap items-center gap-2 text-sm">
|
||||
<select name="authKind" aria-label={t("Как передавать ключ")} className={SELECT} defaultValue="bearer">
|
||||
<option value="bearer">{t("Как «Authorization: Bearer …»")}</option>
|
||||
<option value="header">{t("В своём заголовке")}</option>
|
||||
<option value="none">{t("Без ключа (открытый сервер)")}</option>
|
||||
</select>
|
||||
<Input name="authHeader" placeholder="X-Api-Key" aria-label={t("Имя заголовка")} className="max-w-48 font-mono" spellCheck={false} />
|
||||
</div>
|
||||
<Input name="secret" type="password" placeholder={t("Ключ доступа — после сохранения его не увидит никто")} aria-label={t("Ключ доступа")} autoComplete="new-password" />
|
||||
<p className="m-0 text-xs text-muted-foreground">{t("После сохранения FORGE получит список инструментов сервера. Инструменты с подозрительным описанием агентам не выдаются, пока вы сами их не включите.")}</p>
|
||||
<Button size="sm" className="self-start">{t("Подключить и проверить")}</Button>
|
||||
</form>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
|
||||
/** Step 1–2 for a chosen service (catalog card or own). */
|
||||
/** PEP-252: «Войти через Google / GitHub» — the level and exactly which rights FORGE asks for. */
|
||||
function SignInStep({ s, t }: { s: CatalogService; t: Translator }) {
|
||||
@ -610,6 +707,12 @@ function Catalog({ q, kind, t }: { q: string; kind: string | null; t: Translator
|
||||
<span className="text-xs text-muted-foreground">{t.text(PROTOCOL_TEXT[p].hint)}</span>
|
||||
</Link>
|
||||
))}
|
||||
{(!kind || kind === "code") && (!q || ["mcp", t("MCP-сервер"), t("Инструменты сервиса для агентов")].join(" ").toLowerCase().includes(q.toLowerCase())) && (
|
||||
<Link href="/connections?service=proto:mcp#add" className="flex flex-col gap-0.5 rounded-md border bg-background/40 px-3 py-2 hover:border-primary">
|
||||
<span className="text-sm font-medium">{t("MCP-сервер")}</span>
|
||||
<span className="text-xs text-muted-foreground">{t("Инструменты сервиса для агентов")}</span>
|
||||
</Link>
|
||||
)}
|
||||
<Link href="/connections?service=custom#add" className="flex flex-col gap-0.5 rounded-md border border-dashed px-3 py-2 hover:border-primary">
|
||||
<span className="text-sm font-medium">{t("Свой сервис")}</span>
|
||||
<span className="text-xs text-muted-foreground">{t("Адрес и ключ вручную")}</span>
|
||||
@ -695,7 +798,7 @@ export default async function ConnectionsPage({ searchParams }: { searchParams:
|
||||
)}
|
||||
|
||||
<Section id="add" title={t("Подключить сервис")}>
|
||||
{proto ? <ProtocolSteps p={proto} t={t} /> : chosen ? <AddSteps s={chosen === "custom" ? null : chosen} t={t} /> : <Catalog q={(q.q ?? "").slice(0, 80)} kind={kind} t={t} />}
|
||||
{q.service === "proto:mcp" ? <McpSteps t={t} /> : proto ? <ProtocolSteps p={proto} t={t} /> : chosen ? <AddSteps s={chosen === "custom" ? null : chosen} t={t} /> : <Catalog q={(q.q ?? "").slice(0, 80)} kind={kind} t={t} />}
|
||||
</Section>
|
||||
|
||||
<Section title={t("Журнал запросов")} count={journal.length}>
|
||||
|
||||
@ -38,6 +38,7 @@
|
||||
| Настройки агента | под «Подробнее» | модель, усилия, effort, sonnet, opus, haiku | Только в режиме «Инженер» |
|
||||
| Свой внешний сервис для агентов | подключение, ключ доступа, разрешение, отозвать доступ | токен, креды, credentials, Access Hub, шлюз | Раздел «Подключения» (PEP-234): агенты пользуются сервисом только по разрешению, ключ доступа не видит никто |
|
||||
| База данных, сервер, хранилище, почта для агентов | база данных, сервер, папка на сервере, хранилище, бакет, почтовый ящик, пароль приложения, ключ сервера | connection string, known_hosts, fingerprint, SFTP, IMAP, SMTP | Виды подключений (PEP-251): агент читает базу и работает с сервером, файлами и почтой, не видя пароля; запись в базу и отправка писем по умолчанию «спрашивать меня»; ключ сервера запоминается при первом подключении |
|
||||
| Чужой MCP-сервер для агентов | MCP-сервер, инструменты сервиса, список инструментов, похоже на указание для агента | tools/list, JSON-RPC, Streamable HTTP, endpoint, prompt injection | Вид подключения (PEP-236): агент вызывает только разрешённые инструменты сервера, ключ доступа не видит; инструмент с подозрительным описанием не выдаётся агентам, пока владелец сам его не включит |
|
||||
| Расход | не показываем | $, USD, токены, стоимость | Суммы — только в режиме «Инженер» |
|
||||
| Сбой | ошибка: что случилось и что сделать | exception, стектрейс, traceback, 500, код ошибки | Две фразы, без кодов |
|
||||
| Принять работу | принять | апрув, approve, смержить | Кнопка «Принять» |
|
||||
|
||||
@ -398,4 +398,28 @@ export const accessHub: Record<string, string> = {
|
||||
"владелец отклонил действие": "the owner refused the action",
|
||||
"владелец не ответил вовремя, действие не выполнено": "the owner did not answer in time; the action did not run",
|
||||
"выполнение прервал перезапуск, исход у сервиса неизвестен": "a restart cut the run; the outcome at the service is unknown",
|
||||
// PEP-236: MCP servers.
|
||||
"инструменты: {list}": "tools: {list}",
|
||||
"Чтение — инструменты, которые сервер отметил как только читающие. Запись — все остальные. Свой режим инструмента важнее.": "Reading — tools the server marked as read-only. Writing — all the others. A tool's own mode wins.",
|
||||
"Обновить список инструментов": "Refresh the tool list",
|
||||
"Список инструментов пуст: проверьте адрес и ключ доступа и нажмите «Обновить список инструментов».": "The tool list is empty: check the address and the access key and press «Refresh the tool list».",
|
||||
"Инструменты сервиса: {n}": "Service tools: {n}",
|
||||
"похоже на указание для агента: {n}": "looks like an instruction to an agent: {n}",
|
||||
"Описание таких инструментов похоже на указание для агента. Агентам они не выдаются, пока вы сами не включите их в разрешении.": "The description of these tools looks like an instruction to an agent. Agents don't get them until you turn them on in a permission yourself.",
|
||||
"запись": "writing",
|
||||
"похоже на указание для агента": "looks like an instruction to an agent",
|
||||
"Инструменты по отдельности": "Tools one by one",
|
||||
"не разрешать (подозрительный)": "don't allow (suspicious)",
|
||||
"как чтение": "as reading",
|
||||
"как запись": "as writing",
|
||||
"Чтобы разрешить только несколько инструментов, поставьте чтению и записи «Не разрешать», а нужным инструментам — «Выполнять сразу» или «Спрашивать меня».": "To allow only a few tools, set reading and writing to «Don't allow» and the tools you need to «Run at once» or «Ask me».",
|
||||
"MCP-сервер": "MCP server",
|
||||
"Инструменты сервиса для агентов": "A service's tools for agents",
|
||||
"Многие сервисы дают свой MCP-сервер. Подключите его здесь: агенты получат только инструменты, которые вы разрешите, а ключ доступа останется у FORGE.": "Many services offer their own MCP server. Connect it here: agents get only the tools you allow, and the access key stays with FORGE.",
|
||||
"Адрес MCP-сервера": "MCP server address",
|
||||
"Без ключа (открытый сервер)": "No key (open server)",
|
||||
"После сохранения FORGE получит список инструментов сервера. Инструменты с подозрительным описанием агентам не выдаются, пока вы сами их не включите.": "After saving, FORGE gets the server's tool list. Tools with a suspicious description are not given to agents until you turn them on yourself.",
|
||||
"Укажите адрес MCP-сервера": "Enter the MCP server address",
|
||||
"Это подключение не MCP-сервер": "This connection is not an MCP server",
|
||||
"Описание инструментов {names} MCP-сервера «{name}» похоже на указание для агента. Агентам они не выдаются, пока вы сами не включите их в разрешении в разделе «Подключения».": "The description of tools {names} of the MCP server «{name}» looks like an instruction to an agent. Agents don't get them until you turn them on in a permission in «Connections» yourself.",
|
||||
};
|
||||
|
||||
@ -398,4 +398,28 @@ export const accessHub: Record<string, string> = {
|
||||
"владелец отклонил действие": "иесі әрекетті қабылдамады",
|
||||
"владелец не ответил вовремя, действие не выполнено": "иесі уақытында жауап бермеді, әрекет орындалмады",
|
||||
"выполнение прервал перезапуск, исход у сервиса неизвестен": "орындауды қайта іске қосу үзді, сервистегі нәтиже белгісіз",
|
||||
// PEP-236: MCP servers.
|
||||
"инструменты: {list}": "құралдар: {list}",
|
||||
"Чтение — инструменты, которые сервер отметил как только читающие. Запись — все остальные. Свой режим инструмента важнее.": "Оқу — сервер тек оқитын деп белгілеген құралдар. Жазу — қалғандарының бәрі. Құралдың өз режимі басым.",
|
||||
"Обновить список инструментов": "Құралдар тізімін жаңарту",
|
||||
"Список инструментов пуст: проверьте адрес и ключ доступа и нажмите «Обновить список инструментов».": "Құралдар тізімі бос: мекенжай мен қолжетімділік кілтін тексеріп, «Құралдар тізімін жаңарту» түймесін басыңыз.",
|
||||
"Инструменты сервиса: {n}": "Сервис құралдары: {n}",
|
||||
"похоже на указание для агента: {n}": "агентке нұсқауға ұқсайды: {n}",
|
||||
"Описание таких инструментов похоже на указание для агента. Агентам они не выдаются, пока вы сами не включите их в разрешении.": "Бұл құралдардың сипаттамасы агентке нұсқауға ұқсайды. Рұқсатта өзіңіз қоспайынша, олар агенттерге берілмейді.",
|
||||
"запись": "жазу",
|
||||
"похоже на указание для агента": "агентке нұсқауға ұқсайды",
|
||||
"Инструменты по отдельности": "Құралдар бөлек",
|
||||
"не разрешать (подозрительный)": "рұқсат етпеу (күдікті)",
|
||||
"как чтение": "оқу сияқты",
|
||||
"как запись": "жазу сияқты",
|
||||
"Чтобы разрешить только несколько инструментов, поставьте чтению и записи «Не разрешать», а нужным инструментам — «Выполнять сразу» или «Спрашивать меня».": "Бірнеше құралға ғана рұқсат беру үшін оқу мен жазуға «Рұқсат етпеу», ал керек құралдарға «Бірден орындау» немесе «Менен сұрау» қойыңыз.",
|
||||
"MCP-сервер": "MCP-сервер",
|
||||
"Инструменты сервиса для агентов": "Агенттерге арналған сервис құралдары",
|
||||
"Многие сервисы дают свой MCP-сервер. Подключите его здесь: агенты получат только инструменты, которые вы разрешите, а ключ доступа останется у FORGE.": "Көп сервистің өз MCP-сервері бар. Оны осында қосыңыз: агенттер тек сіз рұқсат еткен құралдарды алады, ал қолжетімділік кілті FORGE-да қалады.",
|
||||
"Адрес MCP-сервера": "MCP-сервер мекенжайы",
|
||||
"Без ключа (открытый сервер)": "Кілтсіз (ашық сервер)",
|
||||
"После сохранения FORGE получит список инструментов сервера. Инструменты с подозрительным описанием агентам не выдаются, пока вы сами их не включите.": "Сақтағаннан кейін FORGE сервер құралдарының тізімін алады. Сипаттамасы күдікті құралдар өзіңіз қоспайынша агенттерге берілмейді.",
|
||||
"Укажите адрес MCP-сервера": "MCP-сервер мекенжайын көрсетіңіз",
|
||||
"Это подключение не MCP-сервер": "Бұл қосылым MCP-сервер емес",
|
||||
"Описание инструментов {names} MCP-сервера «{name}» похоже на указание для агента. Агентам они не выдаются, пока вы сами не включите их в разрешении в разделе «Подключения».": "«{name}» MCP-серверінің {names} құралдарының сипаттамасы агентке нұсқауға ұқсайды. «Қосылымдар» бөлімінде рұқсатта өзіңіз қоспайынша, олар агенттерге берілмейді.",
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user