コンテンツにスキップ
これは最新の機能を備えた最新リリースですが、長期サポートは提供されません。サポートを継続するには、新しいリリースごとにアップグレードするか、四半期ごとの安定版リリースをご利用ください。

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

arctl init mcp

Page as Markdown

新しい MCP サーバープロジェクトをスキャフォールドします

宣言型 YAML とフレームワークスタブを備えた新しい MCP サーバープロジェクトのスキャフォールドを作成します。

NAME は DNS-1123 サブドメイン形式である必要があります。使用できる文字は英小文字、数字、ハイフン、ドットで、最大 253 文字です。ドット区切りの各セグメントは英数字で始まり英数字で終わる必要があり、最大 63 文字です。フレームワーク + 言語をインタラクティブに選択するか、--framework / --language で指定します。

使用方法

arctl init mcp NAME [flags]

例:

arctl init mcp my-mcp
arctl init mcp my-mcp --framework fastmcp --language python
arctl init mcp my-stdio --framework fastmcp --language python --transport stdio

コマンド固有のフラグ

--description string: MCP server description.
--framework string: Framework. Skips picker.
--image string: Image tag override.
--language string: Language. Skips picker.
--port int: HTTP port the MCP server binds to (and that arctl run maps) (default 3000).
--transport string: MCP transport: "http" (Streamable HTTP, listens on --port) or "stdio" (stdin/stdout). Defaults to http when omitted.

グローバルフラグ

-h, --help: Display help information for the command.
--output-dir string: Parent directory under which the project is created. Defaults to the current directory.