Connects agents to the Discogs API to search the music database and work with a user's record collection.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add discogs --env DISCOGS_PERSONAL_ACCESS_TOKEN='<DISCOGS_PERSONAL_ACCESS_TOKEN>' -- npx -y discogs-mcp-server~/.codex/config.toml
[mcp_servers.discogs]
command = "npx"
args = ["-y", "discogs-mcp-server"]
env = { DISCOGS_PERSONAL_ACCESS_TOKEN = "<DISCOGS_PERSONAL_ACCESS_TOKEN>" }
# codex mcp add discogs --env DISCOGS_PERSONAL_ACCESS_TOKEN='<DISCOGS_PERSONAL_ACCESS_TOKEN>' -- npx -y discogs-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"discogs": {
"command": "npx",
"args": [
"-y",
"discogs-mcp-server"
],
"env": {
"DISCOGS_PERSONAL_ACCESS_TOKEN": "<DISCOGS_PERSONAL_ACCESS_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"discogs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"discogs-mcp-server"
],
"env": {
"DISCOGS_PERSONAL_ACCESS_TOKEN": "<DISCOGS_PERSONAL_ACCESS_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"discogs": {
"command": "npx",
"args": [
"-y",
"discogs-mcp-server"
],
"env": {
"DISCOGS_PERSONAL_ACCESS_TOKEN": "<DISCOGS_PERSONAL_ACCESS_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"discogs": {
"command": "npx",
"args": [
"-y",
"discogs-mcp-server"
],
"env": {
"DISCOGS_PERSONAL_ACCESS_TOKEN": "<DISCOGS_PERSONAL_ACCESS_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"discogs": {
"command": "npx",
"args": [
"-y",
"discogs-mcp-server"
],
"env": {
"DISCOGS_PERSONAL_ACCESS_TOKEN": "<DISCOGS_PERSONAL_ACCESS_TOKEN>"
}
}
}
}Environment variables
DISCOGS_PERSONAL_ACCESS_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.