SI

sanity-io/agent-toolkit

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

201 stars 质量 84 趋势 21MIT

sanity-io/agent-toolkit 是从 https://github.com/sanity-io/agent-toolkit. 导入的 Agent Skill 候选工具。

概览

sanity-io/agent-toolkit 是从 https://github.com/sanity-io/agent-toolkit. 导入的 Agent Skill 候选工具。

概述(AI 翻译)

理智代理工具包

帮助AI代理更好地构建Sanity的资源集。支持光标、Claude代码、Codex、VS Code、Lovable、v0、Replit、OpenCode以及任何兼容MCP或代理技能的其他编辑器/代理。


特色

  • MCP 服务器: 直接访问您的 Sanity 项目(内容、数据集、发布、模式)和代理规则。
  • 代理技能: 理智开发、内容建模、SEO/AEO和实验的全面最佳实践技能。包含25条整合/主题指南和26条聚焦的最佳实践规则。
  • 代理插件: plugin.json、skills/和mcp.json组件,适用于任何兼容代理插件的客户端。
  • Claude Code 插件: 为 Claude Code 用户提供 MCP 服务器、代理技能和斜杠命令。可在官方 Anthropic 插件市场获取。
  • Cursor 插件: MCP 服务器、代理技能和 Cursor Marketplace 上的命令。
  • Codex 插件: 为 OpenAI Codex 用户提供 MCP 服务器和代理技能。

开始吧

根据你希望经纪人如何与Sanity合作来选择你的路径:

  1. MCP 服务器 — 给你的代理始终更新规则并拥有对你 Sanity 项目的完全访问权限。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Sanity Agent Toolkit

Collection of resources to help AI agents build better with Sanity. Supports Cursor, Claude Code, Codex, VS Code, Lovable, v0, Replit, OpenCode, and any other editor/agent compatible with MCP or Agent Skills.


Features

  • MCP server: Direct access to your Sanity projects (content, datasets, releases, schemas) and agent rules.
  • Agent skills: Comprehensive best practices skills for Sanity development, content modeling, SEO/AEO, and experimentation. Includes 25 integration/topic guides and 26 focused best-practice rules.
  • Agent Plugin: plugin.json, skills/, and mcp.json components for any Agent Plugins-compatible client.
  • Claude Code plugin: MCP server, agent skills, and slash commands for Claude Code users. Available on the official Anthropic plugin marketplace.
  • Cursor plugin: MCP server, agent skills, and commands on the Cursor Marketplace.
  • Codex plugin: MCP server and agent skills for OpenAI Codex users.

Get started

Choose your path based on how you want agents to work with Sanity:

  1. MCP server — Give your agent always up-to-date rules and full access to your Sanity projects. No local files to maintain. Works with Cursor, VS Code, Claude Code, Lovable, v0, Replit, OpenCode, and other MCP-compatible clients.
  2. Agent skills — Install best practices skills for Sanity, content modeling, SEO/AEO, and experimentation. Works with Cursor, Claude Code, and any Agent Skills-compatible agent.
  3. Plugin — Install the Sanity plugin for Cursor, Claude Code, or any Agent Plugins-compatible client. Bundles MCP server, agent skills, and commands.
  4. Manual installation — Copy the skill references locally for offline use. You’ll need to update them yourself.

Give agents direct access to Sanity projects and always up-to-date agent rules via the MCP server.

Quick install via Sanity CLI

Run in terminal to detect and configure MCP for Cursor, Claude Code and VS Code automatically:

npx sanity@latest mcp configure

Uses your logged-in CLI user for authentication — no manual tokens or OAuth needed.

Client-specific instructions

One-click install:

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add sanity-io/agent-toolkit
新手?先看 mcpskill.org 教程 →