Skip to content

fix: MCP Error with MCP-Hub #204 - #212

Merged
phernandez merged 1 commit into
mainfrom
fix/mcp-hub-redux
Jul 3, 2025
Merged

phernandez merged 1 commit into
mainfrom
fix/mcp-hub-redux

Conversation

@groksrc

@groksrc groksrc commented Jul 3, 2025

Copy link
Copy Markdown
Member

The MCP Tools spec calls for accepting empty parameter objects, which these two tools did not. This fixes the problem, I have verified this by testing the container locally.

services:
  basic-memory:
    image: basic-memory:test
    container_name: basic-memory-issue-204
    ports:
      - 9000:8000
    volumes:
      - ~/bm:/app/data:rw
      - ./basic-memory:/root/.basic-memory:rw
    environment:
      - BASIC_MEMORY_DEFAULT_PROJECT=main
      - BASIC_MEMORY_SYNC_CHANGES=true
      - BASIC_MEMORY_LOG_LEVEL=DEBUG
      - BASIC_MEMORY_SYNC_DELAY=1000
    restart: unless-stopped

  mcphub:
    image: samanhappy/mcphub:latest
    container_name: mcphub-issue-204
    ports:
      - 3002:3000
    volumes:
      - ./mcp_settings.json:/app/mcp_settings.json:rw
    restart: unless-stopped
{
  "mcpServers": {
    "basic-memory": {
      "name": "Basic Memory",
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-proxy",
        "http://host.docker.internal:9000/mcp"
      ],
      "env": {}
    }
  }
}

Screenshot 2025-07-03 at 3 00 30 PM
Screenshot 2025-07-03 at 3 00 55 PM

Signed-off-by: Drew Cain <groksrc@gmail.com>
@groksrc
groksrc requested a review from phernandez July 3, 2025 20:03

@phernandez phernandez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird, but OK.

@phernandez
phernandez merged commit 3621bb7 into main Jul 3, 2025
@phernandez
phernandez deleted the fix/mcp-hub-redux branch July 3, 2025 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants