# Rekan Server MCP (`counterparts-mcp`)

> Memori lokal yang mengutamakan AI: ia menafsirkan, melupakan dengan sengaja, dan menyimpan diri di seluruh sesi.

- **Canonical URL:** https://syndipath.com/id/mcp/counterparts-mcp
- **Runtime:** `npm` | **Transport:** STDIO | **License:** MIT | **Package:** `counterparts`
- **Upvotes:** 100 | **GitHub Stars:** 319 | **Weekly Installs:** 2552
- **Security Note:** HTTP-200 diverifikasi di NPM Registry (rekanan); jalankan dengan npx dalam subproses STDIO cakupan ruang kerja.

## Quick CLI Setup
```bash
# Run directly via Node npx
npx -y counterparts

# Add to Claude Code CLI
claude mcp add counterparts-mcp -- npx -y counterparts
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "counterparts-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "counterparts"
      ]
    }
  }
}
```

## Exposed MCP Tools
- `counterparts_mcp_semantic_search(query: string, top_k?: number)`: Local-first memory for AI: it interprets, forgets on purpose, and keeps a self across sessions.
- `counterparts_mcp_upsert_context(content: string, metadata?: object)`: Indexes chunked technical context with deterministic metadata filters.
