MCP Setup
Cursor
Add Shot as an MCP server in Cursor.
Prerequisites
- Cursor installed (download)
- A Shot API key (see Getting Started)
Configuration
Create or edit .cursor/mcp.json in your project root:
{
"mcpServers": {
"shot": {
"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
Open Cursor in the project directory. In the AI chat, ask:
"Use Shot to search for any stored facts."
Cursor should call search_memories and return results from your Shot project.
Tips
- Restart required — After adding or modifying
.cursor/mcp.json, restart Cursor for changes to take effect. - Multiple projects — Use project-scoped API keys so each Cursor workspace only accesses its relevant memories.
- Team setup — Add
.cursor/mcp.jsonto.gitignoreif it contains API keys, or use a shared key for the team and rotate it periodically.