Skip to content

Interface: McpPluginOptions ​

Defined in: index.ts:51

Properties ​

PropertyModifierTypeDescriptionDefined in

command?

readonly

string

Subcommand name that starts the MCP stdio server.

Default

ts
"mcp";

index.ts:57

filter?

readonly

(commandPath) => boolean

Optional predicate controlling which command paths are exposed as MCP tools and help resources.

index.ts:73

input?

readonly

Readable

Custom input stream (defaults to process.stdin).

index.ts:77

output?

readonly

Writable

Custom output stream (defaults to process.stdout).

index.ts:81

resources?

readonly

boolean

Expose CLI overview and command help pages as MCP resources.

Default

ts
true;

index.ts:68

serverName?

readonly

string

Custom MCP server name reported in initialize. Defaults to ctx.meta.name.

index.ts:62

Released under the MIT License