feat: govslack compatibility#165
Merged
korotovsky merged 5 commits intokorotovsky:masterfrom Jan 28, 2026
Merged
Conversation
Contributor
Author
|
I've verified that the functionality works properly in GovSlack. I was able to query for channels, read messages, send messages, etc. |
korotovsky
approved these changes
Jan 28, 2026
Owner
korotovsky
left a comment
There was a problem hiding this comment.
Hi @aron-muon, this is a super cool PR! Thank you!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds support for GovSlack (Slack's FedRAMP-compliant government offering) by making API domains configurable via environment variable.
Closes #161
Changes
pkg/provider/edge/edge.gogetSlackBaseDomain()helper function that returns the appropriate base domainNewWithClient()andNewWithInfo()to use dynamic domains for Edge API endpointspkg/provider/api.goNewMCPSlackClient()to use GovSlack API URL for initial authentication when enabledUsage
Set the environment variable to enable GovSlack mode:
export SLACK_MCP_GOVSLACK=trueThis configures the server to use GovSlack API endpoints:
slack.com/api/slack-gov.com/api/edgeapi.slack.comedgeapi.slack-gov.com{team}.slack.com{team}.slack-gov.comTest Plan
xoxptokenxoxbtoken🤖 Generated with Claude Code