پرش به مطلب اصلی

arianet mcp

این مرجع در هر نسخه به طور خودکار از راهنمای خود CLI ساخته می‌شود، پس همیشه با آخرین نسخه arianet یکی است. متن راهنمای هر دستور همان متن انگلیسی است که arianet <command> --help نشان می‌دهد. برای نصب، تنظیم توکن و شروع کار، صفحه رابط خط فرمان را ببینید.

فلگ‌های سراسری با همه دستورهای این صفحه کار می‌کنند.

arianet mcp​

Run the Arianet MCP server (stdio) for AI tools and MCP clients

Run a Model Context Protocol server on stdin/stdout. An MCP client starts it and gets one tool per operation of every Arianet API (VPS, Cloud, bare metal, hosting, SMS, BaaS, wallet, invoices, SSH keys, firewalls, API tokens), generated from the published OpenAPI descriptions, plus analyze, plan, deploy, status, logs, rollback and connect-git for whole apps.

It uses the API token configured for the CLI (arianet configure, ARIANET_TOKEN or --token): the token's scopes decide what the client can do, and every call is in your activity log.

Safety: read tools run at once. Anything that creates, changes or deletes needs your confirmation, and anything that costs money shows the price first and needs your explicit yes. With a client that supports MCP elicitation you are asked directly; otherwise the tool answers with the exact action and a one-time token the model must send back after you approve. Secrets in answers are redacted.

Add it to an MCP client as a stdio server with the command "arianet" and the argument "mcp".

دسترسی‌های توکن: the scope of each tool it calls (named in the tool's description); the token's scopes decide what the client may do

نحوه استفاده

arianet mcp [flags]

مثال‌ها

arianet mcp
arianet mcp --products baas,cloud
arianet mcp --read-only
arianet mcp --tools meta

فلگ‌ها

فلگنوعپیش‌فرضتوضیح
--confirmstringautohow changes are confirmed: auto (elicitation when the client supports it, else a token), elicitation or token
--dirstringproject directory the app tools work in (default: the current directory)
--productsstringserve only these products' API tools, comma separated: api, cloud, hosting, vps, baremetal, sms, baas
--read-onlyboolserve only tools that change nothing
--toolsstringmetameta (default: search_api, describe_api and call_api reach every API operation in a few KiB) or all (one tool per API operation, ~500 tools)