MCPStdioServerConfig configures a local/stdio MCP server. The Tools field controls which tools from the server are exposed: - nil (omitted from the wire): all tools (CLI default) - []string{"*"}: explicit "all tools" - []string{}: no tools - []string{"foo","bar"}: only those tools
| 828 | // - []string{}: no tools |
| 829 | // - []string{"foo","bar"}: only those tools |
| 830 | type MCPStdioServerConfig struct { |
| 831 | Tools []string `json:"tools,omitzero"` |
| 832 | Timeout int `json:"timeout,omitempty"` |
| 833 | Command string `json:"command"` |
| 834 | Args []string `json:"args,omitzero"` |
| 835 | Env map[string]string `json:"env,omitzero"` |
| 836 | WorkingDirectory string `json:"cwd,omitempty"` |
| 837 | } |
| 838 | |
| 839 | func (MCPStdioServerConfig) mcpServerConfig() {} |
| 840 |
nothing calls this directly
no outgoing calls
no test coverage detected