AIクライアントによるCloudinaryの構造化メタデータフィールド、データソース、およびルールの作成と管理を可能にします。
別名 cloudinary/structured-metadata-mcp, structured-metadata-mcp, @cloudinary/structured-metadata-mcp
- スター
- 0
- ツール
- —
- ダウンロード数(30日間)
- 924
- 最新バージョン
- 0.6.2
- 最終コミット
- 2026年11月14日
- ライセンス
- MIT
Cloudinary Structured Metadata MCPとは
Cloudinary Structured MetadataはMCPサーバーです。 AIクライアントによるCloudinaryの構造化メタデータフィールド、データソース、およびルールの作成と管理を可能にします。.
プロジェクトのREADMEから生成された概要
Cloudinary Structured Metadata MCP server について
このMCP serverは、開発者やメディアマネージャーが自然言語を通じてCloudinaryのアセット管理を行えるようにします。AIクライアントがCloudinaryのStructured Metadata APIと直接やり取りするためのインターフェースを提供し、メタデータフィールド、データソース、および自動化ルールのプログラムによる作成と管理を可能にします。
ユーザーは、このサーバーをClaude Desktop、Cursor、VS Codeなどの環境、またはClaude CodeやGeminiなどのCLIツールに統合できます。セットアップにはNode.js環境と、CloudinaryのAPI key、API secret、およびcloud nameによる認証が必要です。これらは個別の環境変数、または単一のCLOUDINARY_URLを通じて提供できます。
このサーバーの特徴は、コンテキストウィンドウの肥大化を防ぐダイナミックモードを提供している点です。--mode dynamicフラグを使用すると、サーバーはlist_toolsやexecute_toolなどのmeta-toolsを公開し、AIがすべてのツールを一度に読み込むのではなく、必要に応じて特定の機能を探索できるようにします。これにより、フィールドの並べ替え、データソースの更新、ルール管理を含む複雑なワークフローを効率的に実行できます。
できること
- 1メタデータフィールド作成の自動化特定の型や値を持つ新しいメタデータフィールドを生成するようAIクライアントに指示します。
- 2フィールドデータソースの管理既存のフィールドのデータソースから特定の値を追加または削除するようエージェントに指示します。
- 3アセット自動化ルールの設定特定のフォルダ内のアセットに対して、メタデータタグを自動的に適用するルールを設定します。
- 4メタデータフィールドの順序整理複数のメタデータフィールドの順序を一度に並べ替えるようAIに依頼します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Cloudinary Structured Metadata MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにCloudinary Structured Metadata MCPをインストール
$ claude mcp add --env 'CLOUDINARY_API_SECRET=<YOUR_CLOUDINARY_API_SECRET>' --env 'CLOUDINARY_API_KEY=<CLOUDINARY_API_KEY>' --env 'CLOUDINARY_CLOUD_NAME=<CLOUDINARY_CLOUD_NAME>' structured-metadata-mcp -- npx -y @cloudinary/structured-metadata-mcpCursorにCloudinary Structured Metadata MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"structured-metadata-mcp": {
"command": "npx",
"args": [
"-y",
"@cloudinary/structured-metadata-mcp"
],
"env": {
"CLOUDINARY_API_SECRET": "<YOUR_CLOUDINARY_API_SECRET>",
"CLOUDINARY_API_KEY": "<CLOUDINARY_API_KEY>",
"CLOUDINARY_CLOUD_NAME": "<CLOUDINARY_CLOUD_NAME>"
}
}
}
}VS CodeにCloudinary Structured Metadata MCPをインストール
.vscode/mcp.json
{
"servers": {
"structured-metadata-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cloudinary/structured-metadata-mcp"
],
"env": {
"CLOUDINARY_API_SECRET": "<YOUR_CLOUDINARY_API_SECRET>",
"CLOUDINARY_API_KEY": "<CLOUDINARY_API_KEY>",
"CLOUDINARY_CLOUD_NAME": "<CLOUDINARY_CLOUD_NAME>"
}
}
}
}VS Code CLIにCloudinary Structured Metadata MCPをインストール
$ code --add-mcp '{"name":"structured-metadata-mcp","type":"stdio","command":"npx","args":["-y","@cloudinary/structured-metadata-mcp"],"env":{"CLOUDINARY_API_SECRET":"<YOUR_CLOUDINARY_API_SECRET>","CLOUDINARY_API_KEY":"<CLOUDINARY_API_KEY>","CLOUDINARY_CLOUD_NAME":"<CLOUDINARY_CLOUD_NAME>"}}'Claude DesktopにCloudinary Structured Metadata MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"structured-metadata-mcp": {
"command": "npx",
"args": [
"-y",
"@cloudinary/structured-metadata-mcp"
],
"env": {
"CLOUDINARY_API_SECRET": "<YOUR_CLOUDINARY_API_SECRET>",
"CLOUDINARY_API_KEY": "<CLOUDINARY_API_KEY>",
"CLOUDINARY_CLOUD_NAME": "<CLOUDINARY_CLOUD_NAME>"
}
}
}
}CodexにCloudinary Structured Metadata MCPをインストール
$ codex mcp add structured-metadata-mcp --env 'CLOUDINARY_API_SECRET=<YOUR_CLOUDINARY_API_SECRET>' --env 'CLOUDINARY_API_SECRET=<YOUR_CLOUDINARY_API_SECRET>' --env 'CLOUDINARY_API_KEY=<CLOUDINARY_API_KEY>' --env 'CLOUDINARY_API_KEY=<CLOUDINARY_API_KEY>' --env 'CLOUDINARY_CLOUD_NAME=<CLOUDINARY_CLOUD_NAME>' --env 'CLOUDINARY_CLOUD_NAME=<CLOUDINARY_CLOUD_NAME>' -- npx -y @cloudinary/structured-metadata-mcpCodex config.tomlにCloudinary Structured Metadata MCPをインストール
~/.codex/config.toml
[mcp_servers.structured-metadata-mcp] command = "npx" args = ["-y", "@cloudinary/structured-metadata-mcp"] [mcp_servers.structured-metadata-mcp.env] CLOUDINARY_API_SECRET = "<YOUR_CLOUDINARY_API_SECRET>" CLOUDINARY_API_KEY = "<CLOUDINARY_API_KEY>" CLOUDINARY_CLOUD_NAME = "<CLOUDINARY_CLOUD_NAME>"
Gemini CLIにCloudinary Structured Metadata MCPをインストール
$ gemini mcp add -s user -e 'CLOUDINARY_API_SECRET=<YOUR_CLOUDINARY_API_SECRET>' -e 'CLOUDINARY_API_SECRET=<YOUR_CLOUDINARY_API_SECRET>' -e 'CLOUDINARY_API_KEY=<CLOUDINARY_API_KEY>' -e 'CLOUDINARY_API_KEY=<CLOUDINARY_API_KEY>' -e 'CLOUDINARY_CLOUD_NAME=<CLOUDINARY_CLOUD_NAME>' -e 'CLOUDINARY_CLOUD_NAME=<CLOUDINARY_CLOUD_NAME>' structured-metadata-mcp npx -- -y @cloudinary/structured-metadata-mcpGemini settings.jsonにCloudinary Structured Metadata MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"structured-metadata-mcp": {
"command": "npx",
"args": [
"-y",
"@cloudinary/structured-metadata-mcp"
],
"env": {
"CLOUDINARY_API_SECRET": "<YOUR_CLOUDINARY_API_SECRET>",
"CLOUDINARY_API_KEY": "<CLOUDINARY_API_KEY>",
"CLOUDINARY_CLOUD_NAME": "<CLOUDINARY_CLOUD_NAME>"
}
}
}
}設定
CLOUDINARY_API_SECRET必須シークレットYour Cloudinary API secret. Found in Dashboard > Settings > Access Keys.
CLOUDINARY_API_SECRET必須シークレットYour Cloudinary API secret. Found in Dashboard > Settings > Access Keys.
CLOUDINARY_API_KEY必須Your Cloudinary API key. Found in Dashboard > Settings > Access Keys.
CLOUDINARY_API_KEY必須Your Cloudinary API key. Found in Dashboard > Settings > Access Keys.
CLOUDINARY_CLOUD_NAME必須Your Cloudinary cloud name. Find it in your Cloudinary Dashboard.
CLOUDINARY_CLOUD_NAME必須Your Cloudinary cloud name. Find it in your Cloudinary Dashboard.
CLOUDINARY_URL
| 名前 | 説明 | 種類 |
|---|---|---|
| CLOUDINARY_API_SECRET | Your Cloudinary API secret. Found in Dashboard > Settings > Access Keys. | 必須シークレット |
| CLOUDINARY_API_SECRET | Your Cloudinary API secret. Found in Dashboard > Settings > Access Keys. | 必須シークレット |
| CLOUDINARY_API_KEY | Your Cloudinary API key. Found in Dashboard > Settings > Access Keys. | 必須 |
| CLOUDINARY_API_KEY | Your Cloudinary API key. Found in Dashboard > Settings > Access Keys. | 必須 |
| CLOUDINARY_CLOUD_NAME | Your Cloudinary cloud name. Find it in your Cloudinary Dashboard. | 必須 |
| CLOUDINARY_CLOUD_NAME | Your Cloudinary cloud name. Find it in your Cloudinary Dashboard. | 必須 |
| CLOUDINARY_URL | — |
自動チェック
実行日 2026年11月13日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能合格
- オープンソースライセンス (OSI)合格
- 過去1年以内にコミットまたはリリースあり合格
- パッケージ名が有名なパッケージに酷似していない合格
- リモートエンドポイントがHTTPSを使用合格
- 破壊的なツールがラベル付けされている未チェック
- モデルへの隠れた指示がない合格
- パッケージおよびその依存関係に重大な勧告なし合格
README
GitHubで見るCloudinary Structured Metadata MCP Server
Summary
Table of Contents
Installation
The MCP server requires Node.js 20.19.0 or later.
Install the MCP server as a Desktop Extension using the pre-built mcp-server.mcpb file:
Simply drag and drop the mcp-server.mcpb file onto Claude Desktop to install the extension.
The MCP bundle package includes the MCP server and all necessary configuration. Once installed, the server will be available without additional setup.
[!NOTE] MCP bundles provide a streamlined way to package and distribute MCP servers. Learn more about Desktop Extensions.
Or manually:
- Open Cursor Settings
- Select Tools and Integrations
- Select New MCP Server
- If the configuration file is empty paste the following JSON into the MCP Server Configuration:
{
"command": "npx",
"args": [
"@cloudinary/structured-metadata-mcp",
"start",
"--api-key",
"",
"--api-secret",
"",
"--cloud-name",
""
]
}
claude mcp add CloudinarySMD -- npx -y @cloudinary/structured-metadata-mcp start --api-key --api-secret --cloud-name
gemini mcp add CloudinarySMD -- npx -y @cloudinary/structured-metadata-mcp start --api-key --api-secret --cloud-name
Refer to Official Windsurf documentation for latest information
- Open Windsurf Settings
- Select Cascade on left side menu
- Click on
Manage MCPs. (To Manage MCPs you should be signed in with a Windsurf Account) - Click on
View raw configto open up the mcp configuration file. - If the configuration file is empty paste the full json
{
"command": "npx",
"args": [
"@cloudinary/structured-metadata-mcp",
"start",
"--api-key",
"",
"--api-secret",
"",
"--cloud-name",
""
]
}
Or manually:
Refer to Official VS Code documentation for latest information
- Open Command Palette
- Search and open
MCP: Open User Configuration. This should open mcp.json file - If the configuration file is empty paste the full json
{
"command": "npx",
"args": [
"@cloudinary/structured-metadata-mcp",
"start",
"--api-key",
"",
"--api-secret",
"",
"--cloud-name",
""
]
}
npx @cloudinary/structured-metadata-mcp start --api-key --api-secret --cloud-name
For a full list of server arguments, run:
npx @cloudinary/structured-metadata-mcp --help
Configuration
Environment Variables
The MCP server supports the following environment variables:
| Variable | Description | Required |
|---|---|---|
CLOUDINARY_CLOUD_NAME |
Your Cloudinary cloud name | Yes |
CLOUDINARY_API_KEY |
Your Cloudinary API key | Yes |
CLOUDINARY_API_SECRET |
Your Cloudinary API secret | Yes |
CLOUDINARY_URL |
Complete Cloudinary URL (alternative to individual vars) | No |
CLOUDINARY_URL Format
You can use a single CLOUDINARY_URL instead of individual variables:
CLOUDINARY_URL=cloudinary://API_KEY:API_SECRET@CLOUD_NAME
Authentication
The MCP server uses your Cloudinary API key and secret for authentication:
{
"env": {
"CLOUDINARY_CLOUD_NAME": "demo",
"CLOUDINARY_API_KEY": "123456789012345",
"CLOUDINARY_API_SECRET": "abcdefghijklmnopqrstuvwxyz12"
}
}
Available Tools
The MCP server exposes Cloudinary's Structured Metadata API as tools. Use your AI application to discover and invoke the available tools for managing metadata fields and rules.
Usage Examples
Example 1: Manage Metadata Fields
1. List fields: "Show me all metadata fields in my account"
2. Create field: "Create a metadata field named 'category' of type 'enum' with values 'product,service,other'"
3. Get field: "Get details for the metadata field 'category'"
4. Update field: "Update the 'category' field to add a new value 'subscription'"
5. Delete field: "Delete the metadata field 'old_field'"
Example 2: Manage Field Datasources
1. Search datasource: "Search for values in the 'category' field datasource"
2. Update datasource: "Add a new value 'enterprise' to the 'category' field datasource"
3. Delete datasource entry: "Remove the value 'old_value' from the 'category' field"
4. Restore datasource: "Restore a deleted datasource entry for field 'category'"
Example 3: Manage Metadata Rules
1. List rules: "Show all metadata rules configured in my account"
2. Create rule: "Create a metadata rule to auto-tag assets in folder 'products' with category 'product'"
3. Update rule: "Update metadata rule [rule-id] to change the target folder"
4. Delete rule: "Delete metadata rule [rule-id]"
Example 4: Reorder Metadata Fields
1. Reorder single field: "Move the 'priority' metadata field to position 2"
2. Reorder multiple fields: "Reorder metadata fields: set 'category' to position 1, 'priority' to position 2"
Development
Building from Source
Prerequisites
- Node.js v20 or higher
- npm, pnpm, bun, or yarn
Build Steps
# Clone the repository
git clone https://github.com/cloudinary/structured-metadata-mcp.git
cd structured-metadata-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Run locally
npm start
Project Structure
structured-metadata-mcp/
├── src/
│ ├── hooks/ # Custom authentication hooks
│ ├── mcp-server/ # MCP server implementation
│ │ ├── server.ts # Main server (auto-generated)
│ │ └── tools/ # Generated tool wrappers
│ ├── funcs/ # API function implementations
│ └── models/ # Type definitions
├── .github/
│ └── workflows/ # CI/CD workflows
└── .speakeasy/ # Speakeasy configuration
Contributions
While we value contributions to this MCP Server, the code is generated programmatically. Any manual changes to generated files will be overwritten on the next generation.
What you can contribute:
- ✅ Custom hooks in
src/hooks/ - ✅ Documentation improvements
- ✅ Bug reports and feature requests
Generated files (do not edit):
- ❌
src/mcp-server/server.ts - ❌
src/mcp-server/tools/*.ts - ❌
src/funcs/*.ts - ❌
src/models/*.ts
We look forward to hearing your feedback. Feel free to open a PR or issue with a proof of concept and we'll do our best to include it in a future release.
MCP Server Created by Speakeasy
Progressive Discovery
MCP servers with many tools can bloat LLM context windows, leading to increased token usage and tool confusion. Dynamic mode solves this by exposing only a small set of meta-tools that let agents progressively discover and invoke tools on demand.
To enable dynamic mode, pass the --mode dynamic flag when starting your server:
{
"mcpServers": {
"CloudinarySMD": {
"command": "npx",
"args": ["@cloudinary/structured-metadata-mcp", "start", "--mode", "dynamic"],
// ... other server arguments
}
}
}
In dynamic mode, the server registers only the following meta-tools instead of every individual tool:
list_tools: Lists all available tools with their names and descriptions.describe_tool_input: Returns the input schema for one or more tools by name.execute_tool: Executes a tool by name with its arguments.list_scopes: Lists the scopes available on the server.
This approach significantly reduces the number of tokens sent to the LLM on each request, which is especially useful for servers with a large number of tools.
You can combine dynamic mode with scope and tool filters:
{
"mcpServers": {
"CloudinarySMD": {
"command": "npx",
"args": ["@cloudinary/structured-metadata-mcp", "start", "--mode", "dynamic", "--scope", "admin"],
// ... other server arguments
}
}
}
Cloudinary Structured Metadata MCPのよくある質問
Cloudinary Structured Metadata MCPをClaude Codeに追加するには
ターミナルでclaude mcp add --env 'CLOUDINARY_API_SECRET=<YOUR_CLOUDINARY_API_SECRET>' --env 'CLOUDINARY_API_KEY=<CLOUDINARY_API_KEY>' --env 'CLOUDINARY_CLOUD_NAME=<CLOUDINARY_CLOUD_NAME>' structured-metadata-mcp -- npx -y @cloudinary/structured-metadata-mcpを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
Cloudinary Structured Metadata MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
どのような認証方法がサポートされていますか?
このサーバーは、CloudinaryのAPI key、API secret、およびcloud nameを使用して認証を行います。これらは環境変数、または単一のCLOUDINARY_URLを介して提供できます。
トークンを節約するためにダイナミックモードを使用できますか?
はい、--mode dynamicフラグを渡すことでダイナミックモードを有効にできます。これにより、すべてのツールを一度に公開するのではなく、段階的な発見のためにmeta-toolsが公開されます。