Appearance
Nomain in GitHub Copilot
GitHub Copilot's agent in VS Code can ask Nomain about your Systems while it works. When a question reaches beyond the file you have open, spans more than one repository, or asks how a whole System behaves, Copilot asks Nomain and reads back a complete answer, with the component references and file locations to act on.
This page covers the setup in VS Code. What a connected tool can do, what you approve when you sign in, and how to turn access off are on Ask Nomain from other tools.
Before you start
- VS Code with GitHub Copilot signed in. The free plan is enough.
- The AI Toolkit for Visual Studio Code extension. It holds the connection to Nomain, even when you use it from Copilot's agent chat.
- A Nomain account with access to at least one System.
If your GitHub account is managed by an organization, an administrator may need to allow MCP connections and agent mode for your account first. A personal account needs no such switch.
Connect
- Open the Command Palette (Cmd/Ctrl+Shift+P) and run MCP: Add Server.
- Choose HTTP as the type and enter
https://app.nomain.com/mcp. If you open Nomain at a different address, use that address in place ofapp.nomain.com, for examplehttps://nomain.your-company.com/mcp. - Name the server
Nomainand choose whether to add it for this workspace or for all of them. - VS Code asks you to confirm the server, then opens your browser to sign in to Nomain. Sign in and approve the connection. Once it is ready, the server lists Nomain's tools.
Ask
Open the Copilot chat, switch it to Agent, and ask about your code as you normally would.
When Nomain can answer better than the open editor, for example where a field originates, what a program does, what depends on what, or what a change would break, Copilot asks Nomain and brings the answer into the conversation. An answer can take up to 3 minutes.
If more than one of your Systems could answer, Copilot asks you which one to use.
Related
- Ask Nomain from other tools: what every connected tool can do, what you approve, and turning access off.
- Nomain for VS Code: Nomain's own editor extension, with chat and a coding agent.
- Systems: what Copilot asks Nomain about.