Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Dockerize server - #1

Open
bartolomej wants to merge 1 commit into
ahrefs:mainfrom
bartolomej:dockerize
Open

Dockerize server#1
bartolomej wants to merge 1 commit into
ahrefs:mainfrom
bartolomej:dockerize

Conversation

@bartolomej

Copy link
Copy Markdown

Context

I had issues with running this server because of the global node binary that Claude client app picked up.

Some example errors I got:

[MCP Server Error] ReferenceError: AbortController is not defined
    at Server._onrequest 

...

file:///Users/bartkozorog/.npm/_npx/38579/lib/node_modules/@ahrefs/mcp/build/server.js:5310
        const status = axiosError.response?.status;
                                           ^
SyntaxError: Unexpected token '.'

Description

It was way easier to just run the server within docker, so I did that. Submitting this here in case you think it's useful for other users as well.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant