MCP Setup
Claude Code
Add Shot as an MCP server in Claude Code.
Prerequisites
- Claude Code CLI installed
- A Shot API key (see Getting Started)
Configuration
Create or edit .mcp.json in your project root:
{
"mcpServers": {
"shot": {
"type": "url",
"url": "https://outofmemory.app/api/mcp",
"headers": {
"Authorization": "Bearer smc_your-api-key-here"
}
}
}
}
Replace smc_your-api-key-here with your actual API key.
Verify the connection
Start a new Claude Code session in the project directory and ask:
"Search my team memory for any decisions."
Claude Code should call search_memories and return results (or an empty list if no memories exist yet).
Tips
- Project-scoped keys — If you work on multiple projects, create a separate API key scoped to each project and use it in that project's
.mcp.json. - Team sharing — Add
.mcp.jsonto.gitignoreif it contains API keys. Alternatively, use environment variables and reference them in the config. - Global config — To make Shot available in all projects, add it to your global Claude Code settings instead of a per-project
.mcp.json.