NAME

Claude::Agent::MCP::StdioServer - Stdio MCP server configuration

DESCRIPTION

Configuration for an external MCP server process.

ATTRIBUTES

  • command - Command to run

  • args - ArrayRef of command arguments

  • env - HashRef of environment variables

  • type - Always 'stdio'

METHODS

to_hash

my $hash = $server->to_hash();

Convert the server configuration to a hash for JSON serialization.

AUTHOR

LNATION, <email at lnation.org>

LICENSE

This software is Copyright (c) 2026 by LNATION.

This is free software, licensed under The Artistic License 2.0 (GPL Compatible).