Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mcps/@ama-sdk/mcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Configure SDK packages directly in your `.vscode/mcp.json`:
"servers": {
"sdk-context": {
"command": "npx",
"args": ["ama-sdk-mcp", "--packages", "@my-scope/my-sdk-package", "@other-scope/other-sdk"]
"args": ["-y", "-p", "@ama-sdk/mcp", "ama-sdk-mcp", "--packages", "@my-scope/my-sdk-package", "@other-scope/other-sdk"]
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion mcps/@ama-sdk/mcp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
],
"sideEffects": false,
"bin": {
"ama-sdk-mcp": "./dist/src/cli.js"
"ama-sdk-mcp": "./dist/src/cli.js",
"ama-sdk-mcp-start": "./dist/src/cli.js"
},
"exports": {
"./package.json": {
Expand Down
7 changes: 4 additions & 3 deletions mcps/@ama-sdk/mcp/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,20 @@ const run = async (): Promise<void> => {
*/
const program = new Command();
program
.name('ama-sdk-mcp')
.name('ama-sdk-mcp-start')
.alias('ama-sdk-mcp') // @deprecated alias, kept for backward compatibility, will be removed in v15
.description('SDK Context MCP Server\n\nExposes SDK_CONTEXT.md from installed packages to AI assistants.')
.option('-p, --packages <packages...>', 'List of SDK package names to expose (required if not configured in package.json)')
.addHelpText('after', `
Examples:
ama-sdk-mcp --packages @my-scope/my-sdk @other-scope/other-sdk
ama-sdk-mcp-start --packages @my-scope/my-sdk @other-scope/other-sdk

VS Code mcp.json example:
{
"servers": {
"sdk-context": {
"command": "npx",
"args": ["ama-sdk-mcp", "--packages", "@my-scope/my-sdk", "@other-scope/other-sdk"]
"args": ["-y", "-p", "@ama-sdk/mcp", "ama-sdk-mcp-start", "--packages", "@my-scope/my-sdk", "@other-scope/other-sdk"]
}
}
}`);
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1490,6 +1490,7 @@ __metadata:
zod: "npm:~4.3.0"
bin:
ama-sdk-mcp: ./dist/src/cli.js
ama-sdk-mcp-start: ./dist/src/cli.js
languageName: unknown
linkType: soft

Expand Down
Loading