Sigfrid PRO
Joined 1/16/2018
Sigfrid PRO said over 1 year ago on Kamal in GitHub Actions :
Hi David,
Have you ever tried to deploy using Kamal 2 using a GH action? If so, how do you specify the SSH key? In my deploy.yml, I have 

key_data: [<%= ENV["SSH_PRIVATE_KEY"] %>]

In my workflow

env:      
  SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

And my secret looks like


-----BEGIN OPENSSH PRIVATE KEY-----
long string here
-----END OPENSSH PRIVATE KEY-----


However, when I run the action, I get 

ERROR (ArgumentError): Exception while executing on host 1.2.3.4: Expected *** at start of private key

Thanks.

Sigfrid PRO said over 1 year ago on Kamal in GitHub Actions :
Thanks for the reply. Yes, the private key is a GitHub secret.

But, I don't understand how you make Kamal access it.
Thanks Again.

Sigfrid PRO said 6 months ago :
Hi David, 
Thanks for the reply. 
If I understand well, you propose to
  • Install MCPHost (https://github.com/mark3labs/mcphost) 
  • Define the following mcphost.json (in development)
{
  "mcpServers": {
    "development_server": {
      "url": "http://localhost:3000/mcp/sse"
    }
  }
}
  • Start MCPHost
mcphost -m ollama:qwen2.5:3b --config /path/to/mcphost.json

But, at this point, how can I call the LLM?
MCPHost is a CLI host application which, if I'm not wrong, expects to interact with ollama directly in the console.

Thanks again for the help,
Sig