Hardcoded OAuth callback port 3118 prevents authentication when multiple Claude Code sessions run in parallel
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- authentication
Research direction
Locate the Slack MCP OAuth configuration and the callback server that uses callbackPort: 3118; first reproduce authentication with two parallel sessions or containers. Trace how the callback port is selected and verify that multiple sessions can authenticate without the 127.0.0.1:3118 allocation failure.
Written by the indexing model from the issue text.
Description
The Slack MCP plugin's OAuth config hardcodes callbackPort: 3118. Because the OAuth callback server binds to this single fixed port, only one Claude Code session on the machine can complete Slack OAuth at a time. Users running multiple parallel sessions (per-project, cmux-managed, detached terminals) hit unrecoverable auth failures whenever another session is already listening on 3118.
This is a particularly major issue if you are using devcontainers. I have to bind the port in order to use the Slack MCP. If I want to run multiple devcontainers in different repos (which is something I frequently do), then having the port hardcoded to 3118 means the port binding fails and the container will not build. This makes it not just impossible to use the Slack MCP in multiple Claude sessions, but actually impossible to run two containers which are configured to run the MCP. The only way to start the other container is to remove the port binding, otherwise you get this error on build:
Bind for 127.0.0.1:3118 failed: port is already allocated
I posted originally to Anthropic but I believe this is a Slack issue.
See the Anthropic post for more details: https://github.com/anthropics/claude-code/issues/64492#issuecomment-4594024212
- Dominant language
- Python
- Stars
- 173
- Forks
- 46
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 41
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from slackapi/slack-skills-plugin
-
area:mcp bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
slackapi/slack-skills-plugin#214 ·
Maintainers usually reply within 1 day
-
create-slack-app: setting the AI provider API key ends in a manual .env editPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
slackapi/slack-skills-plugin#187 ·
Maintainers usually reply within 1 day
-
/slack:standup never searches DMs or private channelsPossibly taken @ppetriuk claimed this 65 days ago. Openarea:skills bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
slackapi/slack-skills-plugin#157 ·
Maintainers usually reply within 1 day
-
`slack_read_thread` parameter named `message_ts` instead of `thread_ts`Possibly taken @WilliamBergamin claimed this 127 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
slackapi/slack-skills-plugin#57 · 5 comments ·
Maintainers usually reply within 1 day
-
area:mcp enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
slackapi/slack-skills-plugin#236 · 1 comment · 2 reactions ·
Maintainers usually reply within 1 day
All issues in slackapi/slack-skills-plugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
plone/plone.observability#114 ·
Maintainers usually reply within 1 day
-
area:docs type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jejjohnson/gauss_flows#246 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openvax/varcode#824 · 1 comment ·
Maintainers usually reply within 1 day
-
netbox status: needs triage type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
netbox-community/netbox#23868 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
emeryberger/CSrankings#15757 ·
Maintainers usually reply within 9 days