Discogs MCP Server for Vercel AI SDK 13 tools — connect in under 2 minutes
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect Discogs through Vinkius and every tool is available as a typed function. ready for React Server Components, API routes, or any Node.js backend.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token. get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using Discogs, list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Discogs MCP Server
Unlock the power of the Discogs music database — the most comprehensive catalog of music recordings, releases, and marketplace data. Connect Discogs to your AI agent to instantly search artists, explore complete discographies, examine release details, research labels, browse marketplace listings, and analyze collector statistics — all through natural conversation.
The Vercel AI SDK gives every Discogs tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 13 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
What you can do
- Database Search — Free-text search across artists, releases, labels, and tracks with filters for genre, style, year, country, and format.
- Artist Profiles — Retrieve complete artist information including biography, members, and full discography.
- Release Details — Get comprehensive metadata for any release including tracklists, formats, credits, and release history.
- Master Releases — Understand the canonical version of a release and explore all pressings and variants.
- Label Research — Explore record label catalogs, corporate structures, sublabels, and complete release histories.
- Marketplace Intelligence — Browse active listings, compare prices, check conditions, and find the best deals.
- Collector Statistics — Access community data on release popularity, wantlist counts, and sale price history.
- User Collections — View public collections and wantlists to understand what collectors value.
The Discogs MCP Server exposes 13 tools through the Vinkius. Connect it to Vercel AI SDK in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect Discogs to Vercel AI SDK via MCP
Follow these steps to integrate the Discogs MCP Server with Vercel AI SDK.
Install dependencies
Run npm install @ai-sdk/mcp ai @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the script
Save to agent.ts and run with npx tsx agent.ts
Explore tools
The SDK discovers 13 tools from Discogs and passes them to the LLM
Why Use Vercel AI SDK with the Discogs MCP Server
Vercel AI SDK provides unique advantages when paired with Discogs through the Model Context Protocol.
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Discogs integration everywhere
Built-in streaming UI primitives let you display Discogs tool results progressively in React, Svelte, or Vue components
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Discogs + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the Discogs MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query Discogs in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate Discogs tools and return structured JSON responses to any frontend
Chatbots with tool use: embed Discogs capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with Discogs through natural language queries
Discogs MCP Tools for Vercel AI SDK (13)
These 13 tools become available when you connect Discogs to Vercel AI SDK via MCP:
database_search
Use the query parameter for free-text search across artists, releases, labels, and tracks. Refine results by type (artist, release, master, label, genre) and filters like genre, style, year, or country. Returns paginated results with basic metadata. Use this as the starting point for most queries. Type parameter accepts: artist, release, master, label, genre. Search the Discogs database for artists, releases, labels, and more
get_artist
Returns the artist name, real name, profile/biography, members (for groups), URLs, and images. Use this after identifying an artist ID from search results. Get detailed information about a specific artist
get_artist_releases
Includes albums, singles, compilations, and credits on other releases. Results are sorted by year and include format, label, and track count. Use pagination to navigate large discographies. Returns a comprehensive overview of an artist's recorded output. Get the complete discography of an artist
get_label
Returns the label name, profile/description, parent label, sublabels, contact info, and associated releases. Use this to research label history, corporate structures, and catalog organization. Get information about a record label
get_label_releases
Returns release titles, artists, formats, catalog numbers, and release dates. Useful for researching a label's catalog, identifying rare pressings, or exploring a label's musical output. Use pagination to navigate large catalogs. Get releases published by a specific label
get_marketplace_listings
Returns seller information, price, currency, condition (media and sleeve), comments, and shipping location. Useful for finding the best deals, comparing conditions, or understanding market value. Sort by price, condition, or country. Filter by minimum/maximum condition. Get marketplace listings for a specific release
get_master_release
A master release represents the "canonical" version of a release, grouping together all individual pressings and variants. Returns the main artist, title, year, genres, styles, tracklist, and notes. Use this to understand the core creative work independent of specific pressings. Get information about a master release
get_master_release_versions
Each version represents a different pressing, reissue, or format of the same core release. Returns details including country, year, format, label, and catalog number for each version. Useful for collectors comparing different pressings or finding specific editions. Get all versions (pressings) of a master release
get_release
Returns the release title, artist, tracklist, formats, labels, catalog numbers, release date, country, genres, styles, credits, notes, and marketplace data. This is the most detailed view of a specific physical or digital release. Use this to get complete metadata for cataloging or research. Get detailed information about a specific release
get_release_stats
Returns the lowest, median, and highest sale prices, as well as the number of active listings. Useful for understanding rarity, market demand, and fair pricing for collectors. Get community statistics and marketplace data for a release
get_user_collection
Returns each release with basic metadata including artist, title, year, and format. Note: only the collection owner can see detailed information including condition, notes, and custom fields. Public collections show limited data. Use pagination to navigate large collections. Get a user's collection of releases
get_user_profile
Returns the user's location, homepage, bio, member since date, number of contributions, and collection/wantlist counts. Use this to verify user identity or get an overview of a collector's activity on the platform. Get a Discogs user's public profile
get_user_wantlist
Returns each release with basic metadata. Only the wantlist owner can see this data unless they've made it public. Useful for tracking what collectors are seeking. Get a user's wantlist of desired releases
Example Prompts for Discogs in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with Discogs immediately.
"Search for Pink Floyd's 'The Dark Side of the Moon' and show me all vinyl pressings."
"Show me the complete discography of Daft Punk."
"What's the market value of the original 1969 Beatles 'Abbey Road' vinyl in good condition?"
Troubleshooting Discogs MCP Server with Vercel AI SDK
Common issues when connecting Discogs to Vercel AI SDK through the Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpDiscogs + Vercel AI SDK FAQ
Common questions about integrating Discogs MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Connect Discogs with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect Discogs to Vercel AI SDK
Get your token, paste the configuration, and start using 13 tools in under 2 minutes. No API key management needed.
