# خادم KeepState MCP (`keepstateai-cli-mcp`)

> جلسات وكيل دائمة: بدء وكلاء KeepState ومشاهدتهم وإرسال رسائل إليهم وإيقافهم مؤقتًا؛ الموافقات تسأل الشخص.

- **Canonical URL:** https://syndipath.com/ar/mcp/keepstateai-cli-mcp
- **Runtime:** `npm` | **Transport:** STDIO | **License:** MIT | **Package:** `@keepstateai/cli`
- **Upvotes:** 195 | **GitHub Stars:** 1170 | **Weekly Installs:** 7020
- **Security Note:** تم التحقق من HTTP-200 في سجل NPM (@keepstateai/cli)؛ تنفيذ باستخدام npx في عملية فرعية STDIO على نطاق مساحة العمل.

## Quick CLI Setup
```bash
# Run directly via Node npx
npx -y @keepstateai/cli

# Add to Claude Code CLI
claude mcp add keepstateai-cli-mcp -- npx -y @keepstateai/cli
```

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

## Exposed MCP Tools
- `keepstateai_cli_mcp_execute(query: string, options?: object)`: Durable agent sessions: start, watch, message and pause KeepState agents; approvals ask a person.
- `keepstateai_cli_mcp_list_items(filter?: string, limit?: number)`: Lists structured workspace artifacts and capability metadata over JSON-RPC 2.0.
