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



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

def command(path)
  @command_path = path
end

#command_pathObject



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

def command_path
  @command_path
end

#mcp_typeObject



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

def mcp_type
  @mcp_type
end

#type(mcp_type) ⇒ Object



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

def type(mcp_type)
  @mcp_type = mcp_type
end

#url(url) ⇒ Object



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

def url(url)
  @command_path = url
end