Cursor, VS Code e altri client
Qualsiasi client MCP che supporti il trasporto Streamable HTTP può usare Meetingize. I client che implementano l’autorizzazione MCP (discovery OAuth 2.1) si collegano con il solo URL; gli altri possono inviare una chiave API di Meetingize come token bearer.
~/.cursor/mcp.json (tutti i progetti) oppure .cursor/mcp.json (un progetto):
{ "mcpServers": { "meetingize": { "url": "https://app.meetingize.com/api/mcp" } }}Cursor mostra un pulsante Login per il server e apre la schermata di consenso di Meetingize. Con una chiave API:
{ "mcpServers": { "meetingize": { "url": "https://app.meetingize.com/api/mcp", "headers": { "Authorization": "Bearer ${env:MEETINGIZE_API_KEY}" } } }}VS Code (modalità agente di GitHub Copilot)
Sezione intitolata “VS Code (modalità agente di GitHub Copilot)”.vscode/mcp.json:
{ "servers": { "meetingize": { "type": "http", "url": "https://app.meetingize.com/api/mcp" } }}MCP Inspector
Sezione intitolata “MCP Inspector”L’inspector ufficiale è comodo per esplorare gli strumenti:
npx @modelcontextprotocol/inspectorScegliete il trasporto Streamable HTTP, URL https://app.meetingize.com/api/mcp, poi eseguite il flusso OAuth
dall’inspector oppure aggiungete l’intestazione Authorization: Bearer mtgz_.... Modalità a riga di comando:
npx @modelcontextprotocol/inspector --cli https://app.meetingize.com/api/mcp --transport http \ --header "Authorization: Bearer $MEETINGIZE_API_KEY" --method tools/listSDK Python
Sezione intitolata “SDK Python”import asyncio, osfrom mcp import ClientSessionfrom mcp.client.streamable_http import streamablehttp_client
async def main(): headers = {"Authorization": f"Bearer {os.environ['MEETINGIZE_API_KEY']}"} async with streamablehttp_client("https://app.meetingize.com/api/mcp", headers=headers) as (read, write, _): async with ClientSession(read, write) as session: await session.initialize() result = await session.call_tool("search_meetings", {"query": "budget", "limit": 5}) print(result.content[0].text)
asyncio.run(main())Qualsiasi client HTTP
Sezione intitolata “Qualsiasi client HTTP”Il server è stateless: nessun session id, ogni richiesta è un messaggio JSON-RPC inviato in POST all’URL con un token bearer.
curl -s https://app.meetingize.com/api/mcp \ -H "Authorization: Bearer $MEETINGIZE_API_KEY" \ -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_meetings","arguments":{"query":"budget"}}}'Senza token il server risponde 401 con un’intestazione WWW-Authenticate che punta ai propri
metadati della risorsa protetta, ed è così
che i client compatibili con OAuth scoprono come effettuare l’accesso. GET sull’endpoint risponde 405 (nessuno
stream avviato dal server).