Collega l'API Discord
Integra l'API Discord tramite l'API REST unificata di Modiva e il server MCP ospitato. Post to channels and manage roles. OAuth, aggiornamento dei token, rate limit e 10 strumenti tipizzati sono gestiti per te: collega una volta e richiama Discord da qualsiasi agente o app attraverso un singolo endpoint.
Cosa puoi fare con l'API Discord
- ✓ Publishing
- ✓ Scheduling
- ✓ Inbox & DMs
- — Analytics (No analytics endpoint)
- ✓ Webhooks
Strumenti MCP e scope di Discord
- accounts_
- list · health · status
- posts_
- create · cross_post · schedule · publish_now
- comments_
- list · reply
- messages_
- list · send · inbox
- analytics_
- unified · best_time_to_post
Scope OAuth richiesti
- Read profile & accounts
- Publish posts & stories
- Read insights
- Read & reply to comments/DMs
Collega Discord nel tuo agente
# Add Modiva's MCP server to your agent
{
"mcpServers": {
"modiva": {
"url": "https://mcp.modiva.ai",
"headers": { "Authorization": "Bearer $MODIVA_MCP_KEY" }
}
}
}
# Then connect Discord and call its tools, e.g.
accounts_list(provider="discord")Domande frequenti
Come collego l'API Discord con Modiva?
Crea un account Modiva, genera una chiave MCP e collega Discord dalla tua dashboard. Modiva esegue l'intero flusso OAuth e memorizza il token cifrato per te, senza client secret nel tuo codice.
Cosa posso fare con l'API Discord tramite Modiva?
Post to channels and manage roles. Ottieni 10 strumenti tipizzati raggruppati per risorsa (accounts_, posts_, comments_, messages_, analytics_), richiamabili tramite REST o il server MCP.
Devo gestire personalmente OAuth o l'aggiornamento dei token?
No. Modiva gestisce l'handshake OAuth di Discord, l'archiviazione dei token (cifrati con envelope encryption) e l'aggiornamento automatico. Tu richiami un singolo endpoint unificato.
Un agente IA può usare l'API Discord?
Sì, è proprio questo il punto. Modiva espone Discord come strumenti Model Context Protocol (MCP), così agenti come Claude, Cursor o la tua app possono leggere e agire su Discord attraverso un unico endpoint.