Skip to content

OpenHands compatibility? #29

Description

@jdlake

Is anybody using this with OpenHands (1.12.0 Agent Canvas)? I just continually get:

Connection failed: McpError: Authentication failed: failed to create request: parse "**********/api/auth/login": first path segment in URL cannot contain colon

After adding the SHTTP MCP server in the OpenHands GUI. The MCP is running in a docker container with the same network as the openhands container.

If however, I run

docker exec -it openhands -i -X POST "http://mcp-umami:8080/mcp" `
>>   -H "Content-Type: application/json" `
>>   -H "X-Umami-Host: https://blank.com" `
>>   -H "X-Umami-Username: username" `
>>   -H "X-Umami-Password: password" `
>>   -d "{\`"jsonrpc\`":\`"2.0\`",\`"id\`":1,\`"method\`":\`"initialize\`",\`"params\`":{\`"protocolVersion\`":\`"2024-11-05\`",\`"capabilities\`":{},\`"clientInfo\`":{\`"name\`":\`"test\`",\`"version\`":\`"1.0.0\`"}}}"

It works fine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions