Agent Toolkit
Tool name: getUserId Description: Get the userId of the current authenticated user if signed in, otherwise return null. Use this tool when you need to identify the current user but don't need their pr
What is Agent Toolkit?
Agent Toolkit is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to tool name: getuserid description: get the userid of the current authenticated user if signed in, otherwise return null. use this tool when you need to identify the current user but don't need their pr
Tool name: getUserId Description: Get the userId of the current authenticated user if signed in, otherwise return null. Use this tool when you need to identify the current user but don't need their pr
This server falls under the Coding Agents category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- getUserId
- getUser
- getUserCount
- updateUser
- updateUserPublicMetadata
Use Cases
Maintainer
Works with
Installation
NPM
npx -y @stripe/agent-toolkitManual Installation
npx -y @stripe/agent-toolkitConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Agent Toolkit
The Sanity Agent Toolkit MCP server connects AI coding assistants — Claude Code, Cursor, VS Code, and others — directly to your Sanity content platform, enabling full lifecycle content management through natural language. It exposes tools for querying documents with GROQ, creating and editing content, publishing and unpublishing documents, managing Content Releases, deploying schemas and studios, generating images, and reading Sanity documentation. Authentication uses OAuth by default, making setup a single command with no manual token management required.
Prerequisites
- A Sanity project (create one free at https://www.sanity.io)
- Node.js 18+ installed
- The Sanity CLI installed (`npm install -g sanity`) for the recommended auto-configure flow
- An MCP-compatible client such as Claude Code, Cursor, or VS Code with MCP support
Auto-configure MCP for your Sanity project (recommended)
Run the Sanity CLI's MCP configure command from your project root. It detects your client (Cursor, Claude Code, VS Code) and writes the configuration automatically.
npx sanity@latest mcp configureAlternative: add manually to Claude Code
If you prefer manual setup or auto-configure does not cover your client, add the server directly via the Claude Code CLI.
claude mcp add Sanity -t http https://mcp.sanity.io --scope userAlternative: add as a Claude Code plugin
You can also install the server as a Claude Code plugin for project-scoped access.
/plugin install sanity@claude-plugins-officialAuthenticate with your Sanity account
On first use, the server will initiate an OAuth flow. Follow the browser prompt to log in with your Sanity account — no API token needs to be generated or pasted manually.
Verify access with a whoami check
Ask your AI assistant to call the whoami tool to confirm you are authenticated and the correct Sanity project is accessible.
Agent Toolkit Examples
Client configuration
claude_desktop_config.json entry for the Sanity MCP server using HTTP transport with OAuth (token-based auth shown as alternative).
{
"mcpServers": {
"Sanity": {
"type": "http",
"url": "https://mcp.sanity.io"
}
}
}Prompts to try
Example prompts that exercise the Sanity agent toolkit's document, schema, and media tools.
- "Query all published blog posts in my Sanity project and list their titles and slugs"
- "Create a new blog post document with title 'Getting Started with Sanity' and a draft status"
- "Deploy my Sanity schema changes to the production dataset"
- "Generate an image of a sunset over mountains and upload it to my Sanity media library"
- "Show me the available content releases and create a new release called 'Summer Campaign'"Troubleshooting Agent Toolkit
OAuth flow does not open a browser or authentication times out
Ensure your machine can reach https://mcp.sanity.io and that your browser is not blocking pop-ups. If running in a headless environment, use token-based authentication by adding an `Authorization: Bearer <token>` header — generate a token at https://www.sanity.io/manage under your project's API settings.
Tool calls return 'project not found' or wrong dataset
The Sanity MCP server infers the project ID from your authenticated account. If you have multiple projects, use the `get_project_studios` tool to list them and confirm the right project is selected. You may need to set the project context explicitly in your queries.
Schema deployment fails with permission error
The authenticated Sanity user must have Administrator or Developer permissions on the project. Check your role at https://www.sanity.io/manage under the project's Members section and request an upgrade if needed.
Frequently Asked Questions about Agent Toolkit
What is Agent Toolkit?
Agent Toolkit is a Model Context Protocol (MCP) server that tool name: getuserid description: get the userid of the current authenticated user if signed in, otherwise return null. use this tool when you need to identify the current user but don't need their pr It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Agent Toolkit?
Install via npm with the command: npx -y @stripe/agent-toolkit. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Agent Toolkit?
Agent Toolkit works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Agent Toolkit free to use?
Yes, Agent Toolkit is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Agent Toolkit Alternatives — Similar Coding Agents Servers
Looking for alternatives to Agent Toolkit? Here are other popular coding agents servers you can use with Claude, Cursor, and VS Code.
Dify
★ 142.2kProduction-ready platform for agentic workflow development.
Ruflo
★ 54.0k🌊 The leading agent orchestration platform for Claude. Deploy intelligent multi-agent swarms, coordinate autonomous workflows, and build conversational AI systems. Features enterprise-grade architecture, self-learning swarm intelligence, RAG integrat
Goose
★ 45.7kan open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM
Antigravity Awesome Skills
★ 38.3kInstallable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.
AgentScope
★ 25.5kBuild and run agents you can see, understand and trust.
Serena
★ 24.5kA coding agent toolkit that provides IDE-like semantic code retrieval and editing tools, enabling LLMs to efficiently navigate and modify codebases using symbol-level operations instead of basic file reading and string replacements.
Browse More Coding Agents MCP Servers
Explore all coding agents servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Agent Toolkit in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Agent Toolkit?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.