Prerequisites
- MCP access for your organisation and the owner role.
- An MCP key from Settings → Organization → AI client access (MCP) → Create key.
- VS Code with GitHub Copilot Chat signed in, and Agent mode available in the chat view.
Set up
1
Create .vscode/mcp.json
In your workspace, create This file contains no key, so you can commit it. Each teammate enters their own key.
.vscode/mcp.json:.vscode/mcp.json
2
Start the server and enter your key
Open 
VS Code stores the value in its secret storage and does not ask again unless you clear it.
.vscode/mcp.json. Click Start above the ailunapro entry. VS Code asks for AiLunaPro MCP key: paste your key and press Enter.

3
Check the connection
Above the entry, the status changes to Running with 3 tools. You can also run MCP: List Servers from the Command Palette (

Ctrl+Shift+P / Cmd+Shift+P).

4
Ask a question
Open Copilot Chat, switch to Agent mode and type:Start with a test that needs no audit:The client runs Click Continue when Copilot asks to run the AiLunaPro tool.
docs_search_product and quotes AiLunaPro’s product help about reports. If you see that answer, the connection works.Then ask about your own audit:“No matching audit was found for your account” means your organisation has no completed Audit Express yet. Complete one in AiLunaPro, then ask again.
Use it in every workspace
To add AiLunaPro to all workspaces, run MCP: Open User Configuration from the Command Palette and paste the sameinputs and servers entries there.
Troubleshooting
VS Code tries to run a command or says the server failed to start
VS Code tries to run a command or says the server failed to start
"type": "http" is missing, or the entry is under mcpServers instead of servers.The status shows an error after I entered the key
The status shows an error after I entered the key
The key was mistyped or has been revoked. Run MCP: Reset Cached Inputs (or remove the stored value in MCP: List Servers → ailunapro), then Start again and paste a new key.
The tools do not appear in Copilot Chat
The tools do not appear in Copilot Chat
Make sure the chat is in Agent mode, and that ailunapro is ticked in the tools picker of the chat input.
It works in VS Code chat but not in a background agent session
It works in VS Code chat but not in a background agent session
VS Code does not forward servers that need a prompt (
${input:…}) to agent host sessions. For those, use an environment variable header instead: "Authorization": "Bearer ${env:AILUNAPRO_MCP_KEY}".