How to Use the Freesound MCP in OpenAI Agents SDK
Connect the Freesound database directly to the OpenAI Agents SDK to search, download, and upload audio assets in production pipelines.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Freesound MCP to OpenAI Agents SDK
Create your Vinkius account to connect Freesound to OpenAI Agents SDK and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Run Freesound searches via OpenAI Agents SDK
The `search_sounds` tool lets your agent query the Freesound database using Solr-style filters. You pass specific tags, durations, or formats. The agent handles the pagination and returns exact matches for your audio requirements. Production systems need predictability. When you pair this MCP Server with OpenAI's built-in guardrails, your agent won't accidentally trigger thousands of API calls. Set `cacheToolsList=True` during setup to keep the execution fast and traceable in your dashboard.
Pull original high-quality files
The `download_sound` tool grabs the original uncompressed audio file straight from the source. Your agent locates a specific asset ID and triggers the download to your local environment. It bypasses the web interface entirely. You skip the manual saving process. Combine this with the `get_sound` tool to verify bitrates and sample rates before committing disk space. Your multi-agent setup can hand off the downloaded asset to a dedicated processing agent immediately.
Automate your upload pipeline
The `upload_sound` tool pushes local audio files to your authenticated account. Once the file transfers, your agent can immediately call `describe_sound` to attach tags, descriptions, and license information. Managing moderation queues manually wastes time. Your agent can poll `get_pending_uploads` to check when your new assets go live. Everything happens through the MCP connection while your execution logs capture every step.
Set up Freesound MCP in OpenAI Agents SDK
Prerequisites
- Python 3.10+ installed
-
openai-agentspackage (pip install openai-agents) - Active Vinkius subscription with a valid endpoint token
- 1
Install the SDK
Run
pip install openai-agentsto install the OpenAI Agents SDK. The MCP integration is built-in — no extra dependencies needed. - 2
Connect via SSE transport
Use
MCPServerSsewith your Vinkius endpoint URL. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. The SDK auto-discovers all Freesound tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives Freesound tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate Freesound tools and returns structured results. Copy the full example on the right to get started.
import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerSse
async def main():
async with MCPServerSse(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
) as server:
agent = Agent(
name="Freesound Agent",
instructions="You have access to Freesound tools.",
mcp_servers=[server],
)
result = await Runner.run(agent, "List recent transactions")
print(result.final_output)
asyncio.run(main()) Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Freesound. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Freesound MCP in OpenAI Agents SDK
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Freesound MCP today
We host it, we monitor it, we maintain it. You just paste one token.