Document Context Sources (MCP context for Railway Agent and dev.new) - #1284
Open
codyde wants to merge 1 commit into
Open
Document Context Sources (MCP context for Railway Agent and dev.new)#1284codyde wants to merge 1 commit into
codyde wants to merge 1 commit into
Conversation
Adds a new AI docs page covering Context Sources: connecting Notion, Linear, Sentry, or a custom MCP server, and attaching them to chats in the Railway Agent and dev.new via the Context picker. Cross-links from the AI overview and Railway Agent pages, and adds a sidebar entry.
|
🚅 Deployed to the docs-pr-1284 environment in 🪄 *.railway.com
7 services not affected by this PR
|
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 documentation for Context Sources — the feature that lets Railway's agents connect out to external MCP servers and use their tools during a chat.
content/docs/ai/context-sources.md, covering:content/docs/ai.mdandcontent/docs/ai/railway-agent.mdsrc/data/sidebar.ts, generatedsrc/generated/page-urls.jsonupdatedPlacement rationale
This lives under
/ai/alongsiderailway-agent.md, not under/agents.md("Railway for Agents"). Those are the opposite direction:/agents.mdand/ai/mcp-server.mdcover external AI tools (Cursor, Claude Code) calling into Railway viamcp.railway.com. Context Sources is Railway's own agents calling out to Notion/Linear/Sentry/custom MCP servers — the new page calls out this distinction explicitly to avoid confusion between the two "MCP" features.Status note for reviewers
This documents a feature currently gated behind the admin-only
AGENT_CONTEXT_SOURCESflag inrailwayapp/mono. It's marked with the samePriority Boardingbanner pattern already used for other flagged features ahead of GA (seesandboxes.md,feature-flags.md).dev.newitself has no other public docs page yet, so it's introduced here with a one-line description rather than a full product page — worth a second look from whoever owns that launch.Test plan
pnpm install+pnpm dev, confirmed/ai/context-sources,/ai, and/ai/railway-agentall return 200 and render correctly (Banner, links, headings compile through content-collections/MDX without errors)railwayapp/monosource (packages/backboard/src/controllers/workspaces/mcpServers.ts,mcpCatalog.ts,contextIntegrationRegistry.ts, and the frontend settings/chat components)