/ama-styling:styling-mcp-setupfrom ama-styling
Installs and configures the @ama-styling/mcp server so AI assistants can discover and recommend design tokens from a project's token library.
Ships in ama-styling. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Configure the @ama-styling/mcp server so AI assistants can discover, list, and recommend design tokens from your project's token library instead of guessing or hardcoding values.
styling.metadata.json file generated by @ama-styling/style-dictionary using the ama/json/metadata format.npx.The MCP server reads a styling.metadata.json that contains all your design tokens with their metadata, values, and Otter extensions. To generate it:
Install @ama-styling/style-dictionary, which provides the Ama transforms
npm install --save-dev @ama-styling/style-dictionary
Add the ama/json/metadata format to your Style Dictionary config (sd.config.js or style-dictionary.config.json):
export default {
source: ['tokens/**/*.json'],
platforms: {
metadata: {
transformGroup: 'ama/css',
buildPath: './',
files: [{
destination: 'styling.metadata.json',
format: 'ama/json/metadata'
}]
}
}
};
Build the tokens:
npx style-dictionary build
This produces styling.metadata.json at the project root.
The server runs via npx with no permanent install required.
Add to .mcp.json at the project root:
{
"mcpServers": {
"ama-styling": {
"command": "npx",
"args": ["-y", "-p", "@ama-styling/mcp", "ama-styling-mcp-start", "--metadata", "./styling.metadata.json"]
}
}
}
Add to .vscode/mcp.json:
{
"servers": {
"ama-styling": {
"type": "stdio",
"command": "npx",
"args": ["-y", "-p", "@ama-styling/mcp", "ama-styling-mcp-start", "--metadata", "./styling.metadata.json"]
}
}
}
| Option | Description | Default |
|---|---|---|
--metadata <path> | Path to styling.metadata.json | ./styling.metadata.json |
--cache-path <path> | Path to the cache file | .cache/@ama-styling/mcp |
--log-level <level> | Log verbosity (debug, info, warn, error) | info |
Example with custom path and debug logging:
{
"mcpServers": {
"ama-styling": {
"command": "npx",
"args": ["-y", "-p", "@ama-styling/mcp", "ama-styling-mcp-start", "--metadata", "./design-system/tokens.metadata.json", "--log-level", "debug"]
}
}
}
Ask the user whether to enable anonymous usage metrics. If they agree, add an env block to the server config:
"env": {
"O3R_METRICS": "true"
}
Privacy policy: https://github.com/AmadeusITGroup/otter/blob/main/PRIVACY.md
After configuration, restart your AI assistant and verify the MCP is active:
find_design_token and list_design_tokens tools should be available.If the tools are not available, check:
styling.metadata.json file exists at the specified path@ama-styling/mcp package can be downloaded (network access)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub amadeusitgroup/otter --plugin ama-stylingOther plugins' skills for the same job