Codex

Codex’e uzun süreli hafıza ver: OAuth ile giriş yapılan tek bir MCP sunucusu ve ne zaman hatırlayıp ne zaman kaydedeceğini söyleyen kısa bir AGENTS.md bölümü.

Bağla

Terminal
codex mcp add era-brain --url "https://app.getera.io/api/mcp?tools=brain"
codex mcp login era-brain

codex mcp login era-brain tarayıcında Era’nın onay kartını açar: çalışma alanını seç, Era Beyin · hafıza işaretli kalsın, onayla.

Dosyayı tercih edersen ~/.codex/config.toml içinde aynı sunucu:

~/.codex/config.toml
[mcp_servers.era-brain]
url = "https://app.getera.io/api/mcp?tools=brain"

Codex’e ne zaman kullanacağını söyle

Bunu ~/.codex/AGENTS.md (her proje) ya da deponun AGENTS.md dosyasına ekle. Codex bu talimatları İngilizce de olsa her dilde uygular:

AGENTS.md
## Memory (Era Brain)

You have a long-term memory through the `era-brain` MCP server (tools: search_memory, add_memory, graph_paths, forget_memory).

- Before answering anything about people, customers, preferences, past decisions or ongoing work, call `search_memory`.
- When you learn something durable — a stable preference, a decision and why, a commitment, a fact about a person, customer or project — call `add_memory` with one self-contained statement. Never save secrets, credentials or one-off chatter.
- If the user says a memory is wrong or outdated, call `forget_memory` (or add the corrected fact).
- Use `graph_paths` to see how people, companies and products are connected.

Tek komut

Era CLI ile era brain setup codex --apply iki komutu da çalıştırır ve bölümü bulunduğun klasördeki AGENTS.md dosyasına ekler.

Dene

Codex
Hatırla: API’yi yalnızca release dalından yayınlıyoruz, asla main’den değil.
Codex — yeni bir oturum
API’yi hangi daldan yayınlıyoruz?

Cursor ve diğer MCP istemcileri

https://app.getera.io/api/mcp?tools=brain adresiyle era-brain adında uzak (streamable HTTP) bir MCP sunucusu ekle:

.cursor/mcp.json
{
  "mcpServers": {
    "era-brain": { "url": "https://app.getera.io/api/mcp?tools=brain" }
  }
}

İstemci ilk bağlandığında Era’nın girişini açar. Yukarıdaki kuralları proje kurallarına koy.

Bu sayfa yardımcı oldu mu?