Remembers your project so you don't have to explain it again. Memory across Claude, Codex, Cursor.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add agent-magnet --env MAGNET_USER_ID='<MAGNET_USER_ID>' -- uvx agent-magnet~/.codex/config.toml
[mcp_servers.agent-magnet]
command = "uvx"
args = ["agent-magnet"]
env = { MAGNET_USER_ID = "<MAGNET_USER_ID>" }
# codex mcp add agent-magnet --env MAGNET_USER_ID='<MAGNET_USER_ID>' -- uvx agent-magnet~/.cursor/mcp.json
{
"mcpServers": {
"agent-magnet": {
"command": "uvx",
"args": [
"agent-magnet"
],
"env": {
"MAGNET_USER_ID": "<MAGNET_USER_ID>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"agent-magnet": {
"type": "stdio",
"command": "uvx",
"args": [
"agent-magnet"
],
"env": {
"MAGNET_USER_ID": "<MAGNET_USER_ID>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agent-magnet": {
"command": "uvx",
"args": [
"agent-magnet"
],
"env": {
"MAGNET_USER_ID": "<MAGNET_USER_ID>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"agent-magnet": {
"command": "uvx",
"args": [
"agent-magnet"
],
"env": {
"MAGNET_USER_ID": "<MAGNET_USER_ID>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"agent-magnet": {
"command": "uvx",
"args": [
"agent-magnet"
],
"env": {
"MAGNET_USER_ID": "<MAGNET_USER_ID>"
}
}
}
}Environment variables
MAGNET_USER_ID
Replace the placeholders with your own credentials and keep them out of version control.