MCP Setup
GitHub Copilot
Add Shot to GitHub Copilot Chat in VS Code.
Prerequisites
- VS Code with GitHub Copilot extension installed
- A paid GitHub Copilot subscription
- A Shot API key (create one here)
Setup
- Open your project in VS Code
- Create or edit
.vscode/mcp.jsonin your project root - Add the following configuration:
{
"servers": {
"shot": {
"type": "http",
"url": "https://outofmemory-production.up.railway.app/api/mcp",
"headers": {
"Authorization": "Bearer smc_your-api-key-here"
}
}
}
}
- Replace
smc_your-api-key-herewith your actual API key - VS Code will detect the server and make tools available in Copilot Chat
Using in Copilot Chat
Open Copilot Chat in VS Code and ask questions that involve your team's knowledge. Copilot will automatically call Shot tools when relevant.
Example prompts:
- "What do we know about the Acme Corp deal?"
- "Search our team memory for the pricing strategy"
- "Save this decision: we're offering a 20% discount for annual plans"
Sharing with your team
Commit .vscode/mcp.json to your repository so everyone on the team gets the same configuration. Use environment variables for the API key:
{
"servers": {
"shot": {
"type": "http",
"url": "https://outofmemory-production.up.railway.app/api/mcp",
"headers": {
"Authorization": "Bearer ${SMC_API_KEY}"
}
}
}
}
Troubleshooting
- Server not connecting → Check the MCP output panel in VS Code (View → Output → MCP)
- Tools not available → Ensure your Copilot subscription includes MCP support
- Auth errors → Verify your API key hasn't expired in the Shot dashboard