පුරනය වන්නනොමිලේ trial කාලය ආරම්භ කරන්න
easyCoexistence නිල API

MCP connector හරහා Claude API යෙදුමකට Instagram, Facebook, TikTok සහ WhatsApp මෙවලම් ලබා දෙන්න

Claude API යෙදුමකට Instagram, Facebook, TikTok සහ WhatsApp tools ලැබෙන්නේ, easyCoexistence හි MCP server එක, https://easycoexistence.com/api/mcp, mcp_servers වලට OAuth access token එකක් සමඟ දීමෙන් සහ tools වලට ගැළපෙන mcp_toolset එකක් එක් කිරීමෙන්, mcp-client-2025-11-20 beta header යටතේ. ඉන්පසු Claude සෑම network එකකම official API හරහා publish, schedule, comments සහ DMs ට reply කරයි සහ insights කියවයි, ඔබේ පැත්තෙන් Meta යෙදුම් review හෝ TikTok audit නොමැතිව.

mcp-client-2025-11-20

mcp_servers සහ mcp_toolset සඳහා Messages API ට අවශ්‍ය beta header එක; පැරණි mcp-client-2025-04-04 අනුවාදය deprecated වී ඇත.

Tool calls only

MCP connector මගින් MCP specification හි සහාය දක්වන දේ; server එක Streamable HTTP හෝ SSE හරහා public විය යුතුය.

authorization_token

OAuth access token එක රඳවන field එක; Anthropic අපේක්ෂා කරන්නේ ඔබේ යෙදුම එය ලබාගෙන අවශ්‍ය විට refresh කරන බවයි.

S256

easyCoexistence authorization server එක පිළිගන්නා PKCE method එක, /api/oauth/register හි dynamic client registration ට අමතරව.

1 hour

easyCoexistence MCP access token එකේ ආයු කාලය; දින 60ක refresh token එක, සෑම නව access token එකක් සමඟම නව refresh token එකක් ලබා දෙයි.

Not ZDR

MCP connector zero data retention යටතේ නොවේ; tool definitions සහ results Anthropic හි සම්මත retention policy ට අනුව වේ.

external_ref

Partner API connect session එකක ඔබේ customer id; එය channel එකේ, එහි events වල සහ සෑම list එකක filter එකක් ලෙසද ලැබේ.

easyCoexistence Claude API ඉල්ලීමකට එක් කරන්නේ කෙසේද?

Messages API call එකක beta endpoint මත entries දෙකකින්. mcp_servers මගින් server එක විස්තර කරයි: type url, address https://easycoexistence.com/api/mcp, ඔබ තෝරන නමක් සහ authorization_token හි OAuth access token එක. tools වලට mcp_server_name එම නම නැවත කියන mcp_toolset එකක් අවශ්‍යයි; toolset එකක් නොමැති mcp_servers server එකක් validation දෝෂයකි. mcp-client-2025-11-20 beta යවන්න, Python SDK එය client.beta.messages.create මත betas ලෙස ගනී.

Anthropic server වෙත සම්බන්ධ වී සෑම tool call එකම තමන්ම run කරයි, එබැවින් මෙම tools සඳහා ඔබේ කේතය තුළ MCP client එකක් හෝ loop එකක් නැත. Response එකේ සෑම call එකක් සඳහාම mcp_tool_use block එකක් ඇතුළත් වේ, tool එකේ name සහ input සමඟ, සහ easyCoexistence ලබාදුන් දේ සමඟ mcp_tool_result block එකක්, Claude ගේ text ට අමතරව. Tool list එක ඔබේ easyCoexistence ගිණුමට ලබා ගත හැකි networks අනුගමනය කරයි, සහ සෑම call එකක්ම list_social_accounts වෙතින් account_id එකක් ගනී, එබැවින් ගිණුම නම් කරන ඉල්ලීමක් Claude ට නිවැරදි එක තෝරා ගැනීමට ඉඩ දෙයි.

A Messages API call with easyCoexistence's MCP server
import os
import anthropic

client = anthropic.Anthropic()

response = client.beta.messages.create(
    model="claude-opus-5-5",
    max_tokens=16000,
    betas=["mcp-client-2025-11-20"],
    system=(
        "You run Harbor Coffee's social accounts. Call list_social_accounts first. "
        "TikTok replies are public; Instagram DMs go only to people who wrote in the last 24 hours."
    ),
    mcp_servers=[
        {
            "type": "url",
            "url": "https://easycoexistence.com/api/mcp",
            "name": "easycoexistence",
            "authorization_token": os.environ["EC_MCP_ACCESS_TOKEN"],  # OAuth, valid for 1 hour
        }
    ],
    tools=[{"type": "mcp_toolset", "mcp_server_name": "easycoexistence"}],
    messages=[{"role": "user", "content": "Reply to the new questions under our latest Instagram Reel."}],
)

for block in response.content:
    if block.type == "mcp_tool_use":
        print("tool:", block.name, block.input)
    elif block.type == "text":
        print(block.text)

ඔබේ යෙදුම OAuth access token එක ලබාගෙන නවීකරණය කරන්නේ කෙසේද?

ඔබේ යෙදුම easyCoexistence sign-in එක එක් වරක් run කර, පසුව තමන්ම refresh කරයි. Anthropic connector ඔබ වෙනුවෙන් sign in නොකරයි: ඉල්ලීම ලබාදෙන authorization_token ඕනෑම එකක් එයම යවයි. easyCoexistence MCP endpoint එක පමණක් පිළිගන්නේ තමන්ගේම authorization server එකෙන් OAuth 2.1 access tokens; එය endpoints /.well-known/oauth-authorization-server හි ප්‍රකාශ කරන අතර dynamic client registration සහ S256 සමඟ PKCE සහය දක්වයි. ec_live_ API key එකකට එහිදී 401 ලැබේ; එය REST API සඳහායි.

Backend එකක සාමාන්‍ය මාර්ගය: ඔබේ යෙදුම client ලෙස register කරන්න, ගිණුම් හිමිකරු authorization URL එක හරහා එක් වරක් යවන්න, කේතය tokens සඳහා exchange කර refresh token එක secret store එකක තබන්න. Access token එක පැය 1ක් සහ refresh token එක දින 60ක් වලංගුයි, සෑම refresh එකක්ම නව refresh token එකක් ලබා දෙයි, එබැවින් සෑම වරම නව එක සුරකින්න. easyCoexistence හි password වෙනස් කිරීම, reset හෝ 'log out of all other devices' සම්බන්ධතාවය අවසන් කරයි, ගිණුම් හිමිකරු නැවත sign in විය යුතුය. ඉක්මන් පරීක්ෂාවක් සඳහා, MCP Inspector (npx @modelcontextprotocol/inspector) server එකට එරෙහිව එහි Quick OAuth Flow run කර paste කිරීමට access token එකක් පෙන්වයි.

Discovery, then a refresh before each hour runs out
# Where to register, authorize and trade codes for tokens
curl https://easycoexistence.com/.well-known/oauth-authorization-server

# A new access token and a new refresh token: store both
curl -X POST https://easycoexistence.com/api/oauth/token \
  -d grant_type=refresh_token \
  -d refresh_token="$EC_REFRESH_TOKEN"

{ "access_token": "…", "token_type": "Bearer", "expires_in": 3600, "refresh_token": "…", "scope": "mcp" }

Claude ට call කළ හැකි easyCoexistence tools සීමා කරන්නේ කෙසේද?

toolset එකේ default_config සහ configs සමඟ. default_config.enabled false ලෙස සකසා, ඉල්ලීමට අවශ්‍ය tools පමණක් නමින් on කරන්න: allowlist එකක්. නැතහොත් tools on තබා, අවහිර කළ යුතු ඒවා enabled false ලෙස සකසන්න, denylist එකක්, read-only සහායකයක write tools සඳහා Anthropic යෝජනා කරන දෙයකි. configs හි නම් server නමෙන් තොරව bare tool names වේ, ගිණුමට නොපෙනෙන නමක් refuse නොකර warning ලෙස log වේ.

පහත allowlist එක reporting සහායකයකට ගැළපේ: එය ගිණුම්, posts, comments, insights සහ posts queue කියවයි, publish, reply හෝ DM යැවීමට නොහැක. support desk එකක් සඳහා reply_to_comment සහ send_social_dm එක් කරන්න; publishing සඳහා publish_instagram_post, publish_facebook_post සහ publish_tiktok_post එක් කරන්න, ඒ සෑම එකක්ම මිනිත්තු 1 සිට දින 90 දක්වා ඉදිරියෙන් වේලාවක් සඳහා scheduled_at ගනී. easyCoexistence server හි tools 30කට වඩා ඇත, එබැවින් සම්පූර්ණ set එක on තිබෙන විට, පළමු prompt එකෙන් tool එකේ විස්තරය ඉවත් තබන defer_loading, Anthropic හි tool search tool සමඟ යුගල වේ.

A read-only toolset: reports, no publishing or replies
tools = [
    {
        "type": "mcp_toolset",
        "mcp_server_name": "easycoexistence",
        "default_config": {"enabled": False},
        "configs": {
            "list_social_accounts": {"enabled": True},
            "list_social_posts": {"enabled": True},
            "list_social_comments": {"enabled": True},
            "get_social_insights": {"enabled": True},
            "list_scheduled_posts": {"enabled": True},
        },
    }
]

ඔබේ customers ඔවුන්ගේම Instagram, Facebook හෝ TikTok ගිණුම් සම්බන්ධ කළොත් කුමක් වේද?

එවිට ගිණුම් easyCoexistence හි Partner API හරහා පැමිණෙන අතර tenancy ඔබේ කේතය තුළ පවතී. ඔබේ backend එක POST /connect-sessions සමඟ session එකක් සාදයි, channel සහ ඔබේ customer id external_ref ලෙස නම් කරයි; customer එක hosted page එකක Instagram, Facebook හෝ TikTok සමඟ sign in වේ, phones ඇතුළුව, සහ channel_id සමඟ ඔබේ redirect_url වෙත ආපසු යයි. ඔවුනට easyCoexistence ගිණුමක්, email හෝ card අවශ්‍ය නැත, සම්බන්ධතාවය ඔබේ ගිණුමට අයත් වේ.

තනි MCP sign-in එකකින් එම ගිණුමේ සෑම channel එකක්ම, customers ගේ channels ඇතුළුව, ළඟා වේ, toolset එකක් filter කරන්නේ tools, ගිණුම් නොවේ. එබැවින් සෑම customer කෙනෙක්ම Claude සමඟ කතා කරන product එකක, Claude ට ඔබේම tools දෙන්න, ඒවා ඔබේ ec_live_ key සහ sign in වූ customer සඳහා ඔබේ කේතය සොයාගත් channel_id සමඟ REST API ඇමතීමට, උදා POST /channels/{id}/posts හි post tool එකක්. ඔබ විසින්ම පාලනය කරන ගිණුම්, උදා ඔබේ brand හෝ agency එකක customers, සහ internal tools සඳහා MCP connector තබා ගන්න.

MCP connectorYour own tools on the REST API
CredentialOAuth access token, refreshed each hourOne ec_live_ key on your backend
ReachEach channel on the easyCoexistence accountThe channel_id your code passes
Who runs the callAnthropic, on easyCoexistence's MCP serverYour backend, after Claude returns tool_use
FitsYour own accounts, an agency's clients, internal toolsA SaaS where each customer has their own accounts

නව comment හෝ DM ඔබේ Claude යෙදුමට ළඟා වන්නේ කෙසේද?

ඔබේ තමන්ගේම endpoint එක හරහා, මන්ද Messages API call එකක් run වන්නේ ඔබේ කේතය එය කරන විට පමණි. සෑම Instagram, Facebook හෝ TikTok channel එකකම මාර්ග දෙකක් ඇත. webhook relay, PUT /channels/{id}/webhook, comments, mentions සහ DMs පැමිණෙන විට ඔබේ URL වෙත POST කරයි, TikTok comments මිනිත්තු 5ක් පමණ ඇතුළත වාර්තා කරයි, සෑම ගිණුමකටම X-EC-Signature සමඟ අත්සන් කර. 2xx වහාම පිළිතුරු දී queue එකෙන් process කරන්න, මන්ද relayed events එක් වරක් පමණක් යවන අතර stored copy හෝ retries නොමැත.

Claude සමඟ පිළිතුරු දීමට, automation එකක call_webhook step එක කෙටියි. easyCoexistence event එක අත්සන් කර POST කරයි, DM එකක් සඳහා chat හි මෑත පණිවිඩ සමඟ; ඔබේ endpoint එක Messages API ඇමතීය; තත්පර 20ක් ඇතුළත ලැබෙන JSON පිළිතුරක් DM ලෙස, comment හි private reply ලෙස, හෝ අක්ෂර 150 දක්වා කපන ලද public TikTok reply ලෙස යයි. Platforms වල කාල සීමා තවමත් අදාළයි: පුද්ගලයාගේ අවසාන පණිවිඩයෙන් පැය 24 ඇතුළත DM reply එකක්, සහ සෑම comment එකකටම දින 7 ඇතුළත එක private reply එකක්.

1Comment or DMOn Instagram, Facebook or TikTok
2call_webhook stepPOSTs the event, signed with X-EC-Signature
3Your endpointCalls the Messages API
4{"reply": "..."}Returned within 20 seconds
5easyCoexistence sends itDM, private reply or public TikTok reply

එය සකසන ආකාරය

  1. ගිණුම් සම්බන්ධ කරන්නeasyCoexistence හි New connection තෝරා Instagram, Facebook හෝ TikTok සමඟ පුරනය වන්න, නැතහොත් Partner API හි hosted sessions හරහා පාරිභෝගිකයන්ට සම්බන්ධ වීමට ඉඩ දෙන්න.
  2. Access token එකක් ලබා ගන්නඔබේ යෙදුමෙන් easyCoexistence හි OAuth පුරනය වීම ධාවනය කරන්න, නැතහොත් පරීක්ෂණයක් සඳහා MCP Inspector හි Quick OAuth Flow භාවිතා කර refresh token එක සුරකින්න.
  3. Server එක සහ toolset එක එකතු කරන්නmcp_servers හි easyCoexistence එක authorization_token සමඟ ලබා දෙන්න, tools වෙත එම නමින්ම mcp_toolset එකක් එක් කර, mcp-client-2025-11-20 beta යවන්න.
  4. Refresh කර run කරන්නසෑම පැයක් අවසන් වීමට පෙර access token එක refresh කරන්න, සහ Claude කළ දේ බැලීමට mcp_tool_use සහ mcp_tool_result blocks log කරන්න.

සාමාන්‍ය වැරදි

  • එම නමින් tools වල toolset එකක් නොමැතිව mcp_servers හි easyCoexistence ලැයිස්තු කිරීම. Messages API ඉල්ලීම ප්‍රතික්ෂේප කරයි, මන්ද සෑම server එකකටම හරියටම එක toolset එකකින් යොමු කළ යුතුය.
  • authorization_token තුළ ec_live_ API key එක දැමීම. easyCoexistence MCP endpoint එක OAuth access tokens පමණක් පිළිගන්නා අතර 401 ලබා දෙයි; key එක REST API සඳහායි.
  • නවතම එක වෙනුවට පළමු refresh token එක තබා ගැනීම. සෑම refresh එකක්ම නව දින 60ක් සමඟ එකක් ලබා දෙයි; පළමුවැන්න පමණක් නැවත භාවිතා කරන්නේ නම්, මුල් sign in වීමෙන් දින 60කට පසු යෙදුම නැවත sign in විය යුතුය.
  • ඔබේ server එකේ ඇති file එකක් publish කරන ලෙස Claude ට ඉල්ලීම. publishing tools media ලබාගන්නේ public HTTPS link එකකින්, එබැවින් පළමුව file එක upload කර එහි URL එක යවන්න.
EasyCoexistence සමඟ මෙය කිරීම

easyCoexistence Claude API යෙදුම් වලට Instagram, Facebook, TikTok සහ WhatsApp වෙත ප්‍රවේශය ලබා දෙයි: MCP connector සඳහා tools 30කට වඩා ඇති එක MCP server එකක්, ඔබේම tools සඳහා REST API එකක් සහ ඔබේ customers ගේ ගිණුම් සඳහා Partner API එකක්, Meta Tech Provider යෙදුම සහ ඔවුන්ගේම TikTok යෙදුම මත, සෑම සම්බන්ධතාවයක්ම නිරීක්ෂණය කෙරේ. නව networks එම API එකටම එකම මිලට එක් වේ. සම්බන්ධතාවයකට මාසිකව US$ 9 සිට US$ 0.75 දක්වා, සම්බන්ධතා එකතු කරන විට පහත වැටේ, පළමු දින 3 නොමිලේ.

නිතර අසන ප්‍රශ්න

MCP connector එකට easyCoexistence API key එකක් OAuth වෙනුවට භාවිතා කළ හැකිද?

නොහැක. MCP endpoint එක OAuth access tokens පමණක් පිළිගන්නා අතර ec_live_ key එකකට 401 ලබා දෙයි. Claude ඔබ නිර්වචනය කරන tools, easyCoexistence REST API මත, ඇමතීමේදී key එක භාවිතා කරන්න.

Claude API යෙදුමකට Instagram සහ Facebook insights කියවිය හැකිද?

ඔව්, get_social_insights tool එක හරහා, එය ගිණුමට හෝ එක post එකකට reach, views සහ engagement වැනි metrics කියවයි. REST API හි Instagram හෝ Facebook සඳහා insights endpoint එකක් නැත, එබැවින් backend එකක් ඒවා MCP හරහා කියවයි; TikTok metrics එම tool එකෙන්ම ලැබේ.

MCP connector, Amazon Bedrock හෝ Vertex AI මත වැඩ කරයිද?

Anthropic MCP connector එක Claude API, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed) සහ Microsoft Foundry මත beta ලෙස ලැයිස්තු කරයි. වෙනත් තැන්වල, ඔබේ කේතය තුළ MCP client එකක් run කරන්න, නැතහොත් ඔබ නිර්වචනය කරන tools වලින් easyCoexistence REST API ඇමතීමට.

Claude API යෙදුමකට easyCoexistence කොපමණ වියදම් වේද?

සම්බන්ධ කළ ගිණුමකට ස්ථිර ගාස්තුවක්, මුළු එකතුව වැඩි වන විට මාසිකව US$ 9 සිට US$ 0.75 දක්වා, සෑම network එකකම එකම මිලට, tool call එකකට අය කිරීමක් නොමැතිව. Anthropic model භාවිතය බිල් කරයි, පළමු දින 3 නොමිලේ.

තවදුරටත් කියවන්න

Claude Agent SDK agent එකට Instagram, Facebook, TikTok සහ WhatsApp tools දෙන්නClaude Agent SDK agent එකට easyCoexistence MCP server එක එක් කර Instagram, Facebook සහ TikTok හි post, schedule සහ reply කරන්න.easyCoexistence, Claude සමඟ ක්‍රියා කරයිද? නිතර ඇසෙන ප්‍රශ්නඔව්. easyCoexistence, Claude, Claude Code, Claude API සහ Agent SDK සමඟ: ජාලයට අනුව Claude කරන දේ, මිල, නිල බව සහ ඔබේ දත්ත.ඔබේ SaaS එකේ අදහස්වලට සහ DM වලට AI පිළිතුරු එක් කරන ආකාරයInstagram සහ Facebook DM සහ අදහස්වලට, TikTok අදහස්වලට AI පිළිතුරු එක් කරන්න: ai_reply ඔබේ key එකෙන් හෝ call_webhook පිටුපස ඔබේ model එක.Claude සහ ChatGPT සඳහා සමාජ මාධ්‍ය MCP server එකසෑම ජාලයකටම එක MCP connector: Claude හෝ ChatGPT official API හරහා පළ කරයි, සැලසුම් කරයි, පිළිතුරු දෙයි සහ analytics කියවයි.MCP මෙවලම් යොමුවEasyCoexistence MCP connector එක සපයන මෙවලම්, මුළුමනින් 30කට වැඩි, ඒවාට අවශ්‍ය දේ සහ ගාස්තු අතපසු වූ විට සීමා වන ඒවා.

ඔබේ පළමු channel එක මිනිත්තු දෙකකින් සම්බන්ධ කරන්න.

වේදිකා සමාලෝචන සඳහා බලා සිටීමට අවශ්‍ය නැත. WhatsApp, Instagram, TikTok හෝ වෙනත් channel එකක් සම්බන්ධ කර, පසුව ඔබේ AI හට පළ කිරීමට, ප්‍රතිචාර දැක්වීමට හෝ වාර්තා කිරීමට පවසා එය වැඩ කරන ආකාරය බලන්න.

  • දින 3ක් නොමිලේ
  • ඕනෑම වේලාවක අවලංගු කරන්න
  • නිල API පමණි
  • 24/7 නිරීක්ෂණය කෙරේ

සත්‍යාපනය කළේ