Switch riksdag-regering MCP server from local stdio to HTTP transport#119
Merged
Switch riksdag-regering MCP server from local stdio to HTTP transport#119
Conversation
- Update .github/workflows/news-article-generator.md source file - Change mcp-servers.riksdag-regering from command-based to HTTP URL - Remove npm install -g riksdag-regering-mcp from dependencies - Update .github/workflows/news-article-generator.lock.yml - Change riksdag-regering config from stdio to HTTP - Remove npm install line (line 122) - Remove node:lts-alpine from container images (line 214) - Add riksdag-regering-ai.onrender.com to allow-domains (line 667) This fixes the Supabase credential error by using the remote Render-hosted MCP server that already has credentials configured, matching the successful configuration in .github/copilot-mcp.json Co-authored-by: pethers <[email protected]>
Copilot
AI
changed the title
[WIP] Fix MCP server configuration for Docker environment
Switch riksdag-regering MCP server from local stdio to HTTP transport
Feb 12, 2026
Signed-off-by: James Pether Sörling <[email protected]>
pethers
approved these changes
Feb 12, 2026
Contributor
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
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.
The News Article Generator workflow failed because riksdag-regering MCP server ran as local stdio process in Docker, requiring
SUPABASE_URLandSUPABASE_ANON_KEYenvironment variables that weren't passed to the container.Changes
Source file (
.github/workflows/news-article-generator.md):npm install -g riksdag-regering-mcpfrom dependenciesGenerated file (
.github/workflows/news-article-generator.lock.yml):stdiotohttpnode:lts-alpinefrom container image downloadsriksdag-regering-ai.onrender.comto firewall allowlistConfiguration
Before:
After:
This matches the HTTP configuration already used successfully by the Copilot coding agent in
.github/copilot-mcp.json. The remote server has Supabase credentials pre-configured, eliminating the need for repository secrets and npm package installation.Original prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.