CodeArtifact Claude Desktop Config
Add the CodeArtifact MCP server to Claude Desktop with this ready-to-use configuration.
Setup Instructions
- Open Claude Desktop
- Go to Settings → Developer → Edit Config →
claude_desktop_config.json - Paste the JSON below into the file
- Set your credentials in the
envsection - Restart Claude Desktop
Configuration JSON
Copy the entire block into your claude_desktop_config.json
{
"mcpServers": {
"amazonaws-com-codeartifact": {
"command": "npx",
"args": [
"-y",
"@mcp/amazonaws-com-codeartifact"
],
"env": {
"CODEARTIFACT_API_KEY": "your_codeartifact_api_key"
}
}
}
}Environment Variables
CODEARTIFACT_API_KEYReplace your_codeartifact_api_key with your actual codeartifact api key
Endpoints
POST
/v1/repository/external-connection#domain&repository&external-connectionAssociateExternalConnection
DELETE
/v1/repository/external-connection#domain&repository&external-connectionDisassociateExternalConnection
POST
/v1/package/versions/copy#domain&source-repository&destination-repository&format&packageCopyPackageVersions
GET
/v1/domain#domainDescribeDomain
POST
/v1/domain#domainCreateDomain
DELETE
/v1/domain#domainDeleteDomain
GET
/v1/repository#domain&repositoryDescribeRepository
POST
/v1/repository#domain&repositoryCreateRepository
PUT
/v1/repository#domain&repositoryUpdateRepository
DELETE
/v1/repository#domain&repositoryDeleteRepository