Skip to main content
Glama

MCP-Audio Plugin

by AIO-2030
test_audio_base64.sh592 B
#!/bin/bash AUDIO_FILE="test/m____ejj.wav" OUTPUT_JSON="tools_call_payload.json" API_URL="http://localhost:8080/api/v1/mcp/tools.call" if [ ! -f "$AUDIO_FILE" ]; then echo "Audio file '$AUDIO_FILE' not found!" exit 1 fi BASE64_AUDIO=$(base64 "$AUDIO_FILE" | tr -d '\n') cat > "$OUTPUT_JSON" <<EOF { "method": "tools.call", "params": { "method": "identify_voice", "inputs": [ { "type": "audio", "value": "$BASE64_AUDIO" } ] } } EOF curl -X POST "$API_URL" \ -H "Content-Type: application/json" \ -d @"$OUTPUT_JSON" rm "$OUTPUT_JSON"

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AIO-2030/mcp-audio'

If you have feedback or need assistance with the MCP directory API, please join our Discord server