Cursor, VS Code agus cliaint eile
Is féidir le haon chliant MCP a thacaíonn leis an iompar Streamable HTTP Meetingize a úsáid. Ceanglaíonn cliaint a chuireann údarú MCP i bhfeidhm (fionnachtain OAuth 2.1) leis an URL amháin; is féidir leis na cinn eile eochair API Meetingize a sheoladh mar chomhartha iompróra.
Cursor
Section titled “Cursor”~/.cursor/mcp.json (gach tionscadal) nó .cursor/mcp.json (tionscadal amháin):
{ "mcpServers": { "meetingize": { "url": "https://app.meetingize.com/api/mcp" } }}Taispeánann Cursor cnaipe Login don fhreastalaí agus osclaíonn sé scáileán toilithe Meetingize. Le heochair API:
{ "mcpServers": { "meetingize": { "url": "https://app.meetingize.com/api/mcp", "headers": { "Authorization": "Bearer ${env:MEETINGIZE_API_KEY}" } } }}VS Code (mód gníomhaire GitHub Copilot)
Section titled “VS Code (mód gníomhaire GitHub Copilot)”.vscode/mcp.json:
{ "servers": { "meetingize": { "type": "http", "url": "https://app.meetingize.com/api/mcp" } }}MCP Inspector
Section titled “MCP Inspector”Tá an cigire oifigiúil áisiúil chun na huirlisí a thaiscéalaíocht:
npx @modelcontextprotocol/inspectorRoghnaigh an t-iompar Streamable HTTP, URL https://app.meetingize.com/api/mcp, ansin rith an sreabhadh OAuth ón
gcigire nó cuir an ceannteideal Authorization: Bearer mtgz_... leis. Mód líne ordaithe:
npx @modelcontextprotocol/inspector --cli https://app.meetingize.com/api/mcp --transport http \ --header "Authorization: Bearer $MEETINGIZE_API_KEY" --method tools/listSDK Python
Section titled “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())Aon chliant HTTP
Section titled “Aon chliant HTTP”Tá an freastalaí gan staid: gan id seisiúin, is teachtaireacht JSON-RPC é gach iarratas a phostáiltear chuig an URL le comhartha iompróra.
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"}}}'Gan comhartha freagraíonn an freastalaí 401 le ceannteideal WWW-Authenticate a thugann treoir chuig a
mheiteashonraí acmhainne cosanta, agus is mar sin a fhaigheann
cliaint atá in ann OAuth amach conas logáil isteach. Freagraíonn GET ar an gcríochphointe 405 (gan sruth a thionscnaíonn an freastalaí).