Skip to content

I get this error "request is not authorized" when using Docker image: ghcr.io/chand1012/alpaca-mcp-server #23

@josephspurrier

Description

@josephspurrier

I tried for a few hours but couldn't use MCP with Claude, I kept getting the error:

Error: Error executing tool get_account_info: {"code":40110000,"message":"request is not authorized"}

Finally cloned the repo and tried to build a docker image myself and it worked. Not sure why you're using a separate repo for for the docker image.

Also, would be good to add this to your readme for Claude code:

# Add MCP via docker to Claude Code
claude mcp add alpaca-mcp --env ALPACA_API_KEY=${ALPACA_API_KEY} --env ALPACA_SECRET_KEY=${ALPACA_SECRET_KEY} -- docker run -i -e ALPACA_API_KEY -e ALPACA_SECRET_KEY DOCKERIMAGEHERE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions