Class: SmartAgent::MCPContext

Inherits:
Object
  • Object
show all
Defined in:
lib/smart_agent/mcp_client.rb

Instance Method Summary collapse

Instance Method Details

#command(path) ⇒ Object



83
84
85
# File 'lib/smart_agent/mcp_client.rb', line 83

def command(path)
  @command_path = path
end

#command_pathObject



79
80
81
# File 'lib/smart_agent/mcp_client.rb', line 79

def command_path
  @command_path
end

#mcp_typeObject



75
76
77
# File 'lib/smart_agent/mcp_client.rb', line 75

def mcp_type
  @mcp_type
end

#type(mcp_type) ⇒ Object



71
72
73
# File 'lib/smart_agent/mcp_client.rb', line 71

def type(mcp_type)
  @mcp_type = mcp_type
end

#url(url) ⇒ Object



87
88
89
# File 'lib/smart_agent/mcp_client.rb', line 87

def url(url)
  @command_path = url
end