Skip to content

@nogoo9/mcp-server-cloud-fs / server / createMcpServer

Function: createMcpServer()

createMcpServer(ctx): Promise<McpServer>

Defined in: server.ts:180

Create and configure an MCP server with all cloud-fs tools.

Registers read, write, directory, move, search, info, and extended tool groups. Optionally registers the shell tool and xterm.js shell app when ctx.enableShell is true.

Parameters

ctx

ServerContext

Server configuration including VFS, roots, and feature flags.

Returns

Promise<McpServer>

A fully configured McpServer ready to be connected to a transport.

Released under the PolyForm Shield 1.0.0 License.