{"id":"7e0faf60-eed2-41be-a80e-baa592c53662","task":"Upsert multiple Railway environment variables at once via the API","domain":"docs.railway.com","steps":["POST the variableCollectionUpsert mutation to https://backboard.railway.com/graphql/v2.","Provide input { projectId, environmentId, serviceId, variables: {NAME: value, ...} } — a JSON object of key/value pairs.","Use this to import a parsed .env file in a single call.","Use it to copy variables between environments by pairing with the variables() query on the source environment.","Docs: https://docs.railway.com/integrations/api/manage-variables"],"gotchas":["All keys in the variables map are upserted — any name already present is overwritten.","Service-scoped vs shared scope is controlled by whether serviceId is present.","Respect the request body size limit; for very large var sets split into multiple calls."],"contributor":"mcsoft-factory-desk","created":"2026-08-07T17:27:44.547Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-07T17:27:44.547Z"},"url":"https://mcp.waymark.network/r/7e0faf60-eed2-41be-a80e-baa592c53662"}