/ama-sdk:sdk-mcp-setupfrom ama-sdk
Installs and configures the @ama-sdk/mcp server so AI assistants can read SDK_CONTEXT.md from installed SDK packages, providing real operation IDs, models, and domains.
Ships in ama-sdk. 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-sdk/mcp server so AI assistants can read the SDK_CONTEXT.md of installed SDK packages and use real operation IDs, models, and domains instead of hallucinating.
@ama-sdk/schematics, each exposing an SDK_CONTEXT.md.@my-scope/my-sdk).How you get the SDK_CONTEXT.md depends on where the SDK lives:
SDK source available (monorepo or local project) — generate the context from the SDK project:
npx amasdk-update-sdk-context --interactive
SDK consumed from node_modules — you can't regenerate it; the context must already ship inside the published package. Point @ama-sdk/mcp at the package name and it reads the bundled SDK_CONTEXT.md. If the package doesn't ship one, ask the SDK maintainer to generate and publish it.
The server runs via npx with no permanent install.
List the SDKs to expose under sdkContext.packages in the project's package.json. Prefer this over passing --packages on the command line — the list lives in one place, so the Claude Code and Copilot configs below stay identical with nothing to duplicate:
{
"sdkContext": {
"packages": ["@my-scope/my-sdk", "@other-scope/other-sdk"]
}
}
The server reads sdkContext.packages automatically, so both clients use the same args.
Claude Code — add to .mcp.json at the project root:
{
"mcpServers": {
"sdk-context": {
"command": "npx",
"args": ["-y", "-p", "@ama-sdk/mcp", "ama-sdk-mcp"]
}
}
}
GitHub Copilot (VS Code) — add to .vscode/mcp.json:
{
"servers": {
"sdk-context": {
"type": "stdio",
"command": "npx",
"args": ["-y", "-p", "@ama-sdk/mcp", "ama-sdk-mcp"]
}
}
}
If you can't edit package.json, list the SDKs after --packages instead (append to the args array): ["-y", "-p", "@ama-sdk/mcp", "ama-sdk-mcp", "--packages", "@my-scope/my-sdk", "@other-scope/other-sdk"]. This has to be repeated in each client's config.
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
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub amadeusitgroup/otter --plugin ama-sdk4 skills in this plugin
/create-sdkCreate a new TypeScript SDK from an OpenAPI specification, either as a standalone project or inside an existing Angular/Nx monorepo. Use when user wants to scaffold, bootstrap, initialize, or generate an SDK./sdk-pluginsUse and create @ama-sdk plugins for request transformation, authentication, resilience, and response processing. Use when user asks about SDK plugins, wants to add auth/retry/timeout, needs to create a custom plugin, or wants to transform requests before sending, wrap the fetch call itself (logging, metrics, circuit-breaking), or process/transform responses./use-sdkInstall, configure, and use a TypeScript SDK generated with @ama-sdk. Use when user wants to call APIs, set up a client (fetch, Angular, beacon), or understand how to use an existing SDK package.Other plugins' skills for the same job