ai-agent-scratchpad

Cloudflare Workers MCP server: ai-agent-scratchpad

我该使用它吗

质量与安全性

B
描述质量
52%
模式完整度
98%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(6)

  • LOWTool 'scratchpad_write' description lacks action verb在 scratchpad_write 中
  • LOWTool 'scratchpad_read' description lacks action verb在 scratchpad_read 中
  • LOWTool 'scratchpad_list' description lacks action verb在 scratchpad_list 中
  • LOWTool 'scratchpad_delete' description lacks action verb在 scratchpad_delete 中
  • LOWTool 'scratchpad_checkpoint' description lacks action verb在 scratchpad_checkpoint 中
  • LOWTool 'scratchpad_diff' description lacks action verb在 scratchpad_diff 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~784token 数(工具定义)
~747 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.61%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "ai-agent-scratchpad": {
      "url": "https://api.lazy-mac.com/ai-agent-scratchpad/mcp"
    }
  }
}

远程端点

https://api.lazy-mac.com/ai-agent-scratchpad/mcpstreamable-http

它能做什么

工具清单

工具(6)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟡scratchpad_write(session_id, key, value, ttl)

세션에 키-값을 저장합니다. value는 문자열 또는 JSON 직렬화 가능한 값.

输入模式

{
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "description": "세션 식별자 (에이전트 실행 단위)"
    },
    "key": {
      "type": "string",
      "description": "스크래치패드 키"
    },
    "value": {
      "description": "저장할 값 (문자열 또는 객체)"
    },
    "ttl": {
      "type": "integer",
      "description": "만료 시간(초), 선택사항"
    }
  },
  "required": [
    "session_id",
    "key",
    "value"
  ]
}
🟢scratchpad_read(session_id, key)

세션의 특정 키 값을 조회합니다.

输入模式

{
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "description": "세션 식별자"
    },
    "key": {
      "type": "string",
      "description": "조회할 키"
    }
  },
  "required": [
    "session_id",
    "key"
  ]
}
🟢scratchpad_list(session_id, prefix, limit)

세션의 모든 키 목록을 반환합니다. 선택적 prefix 필터링 지원.

输入模式

{
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "description": "세션 식별자"
    },
    "prefix": {
      "type": "string",
      "description": "키 prefix 필터 (선택사항)"
    },
    "limit": {
      "type": "integer",
      "description": "최대 반환 수 (기본 100, 최대 500)"
    }
  },
  "required": [
    "session_id"
  ]
}
🔴scratchpad_delete(session_id, key)

세션의 특정 키를 삭제합니다.

输入模式

{
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "description": "세션 식별자"
    },
    "key": {
      "type": "string",
      "description": "삭제할 키"
    }
  },
  "required": [
    "session_id",
    "key"
  ]
}
⚪scratchpad_checkpoint(session_id, tag, keys)

현재 세션 상태의 스냅샷을 체크포인트 태그로 저장합니다. keys를 지정하면 해당 키만 스냅샷.

输入模式

{
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "description": "세션 식별자"
    },
    "tag": {
      "type": "string",
      "description": "체크포인트 태그 (예: \"step-3\", \"before-refactor\")"
    },
    "keys": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "스냅샷할 키 목록 (선택사항, 미지정 시 전체)"
    }
  },
  "required": [
    "session_id",
    "tag"
  ]
}
⚪scratchpad_diff(session_id, key, checkpoint_tag, value_a, value_b)

현재 키 값과 체크포인트 값의 diff를 반환합니다. 또는 두 임의 값의 diff 비교.

输入模式

{
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "description": "세션 식별자"
    },
    "key": {
      "type": "string",
      "description": "비교할 키 (체크포인트 비교 시 필수)"
    },
    "checkpoint_tag": {
      "type": "string",
      "description": "비교 기준 체크포인트 태그"
    },
    "value_a": {
      "description": "직접 비교할 첫 번째 값 (선택사항)"
    },
    "value_b": {
      "description": "직접 비교할 두 번째 값 (선택사항)"
    }
  },
  "required": [
    "session_id"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本6 个工具
已验证未记录版本6 个工具
已验证未记录版本6 个工具