ASI.EXPRESSFrom Enterprise.Systems

သင့် agent ကို ချိတ်ဆက်ပါ

ဆာဗာလိပ်စာ: https://asi.express/mcp။ Transport: Streamable HTTP (POST, JSON အဖြေများ)။ အကောင့်ဝင်ရန် မလို၊ key မလို။

ပထမ call: search_capabilities ကို {"query": "weather", "limit": 3} ဖြင့်။ ၎င်းသည် results (စွမ်းရည် အများဆုံး 3 ခုပါသော စာရင်း)၊ count (ကိန်းဂဏန်း) နှင့် status စာကြောင်းတစ်ကြောင်းကို ပြန်ပေးသည်။ အခြား tool များကို ကြိုတင်ဖတ်ရန် မလိုပါ။

2026-11-22 တွင် production ပေါ်၌၊ အပိုင်းတိုင်းတွင် ဖော်ပြထားသော library ဗားရှင်းများဖြင့် စမ်းသပ်ခဲ့သည်။

အခြားဝန်ဆောင်မှုပေးသူများ၏ ကိရိယာများသည် ပြင်ပအဖွဲ့အစည်းများ၏ ကိရိယာများ ဖြစ်သည်- သင့်အေးဂျင့်ကို ကိရိယာတစ်ခု လုပ်ဆောင်ခွင့်မပေးမီ ထိုကိရိယာက ဘာလုပ်သည်ကို ဖတ်ပါ၊ လုပ်ဆောင်ချက်များ ပြုလုပ်သည့် ကိရိယာများအတွက် 'အမြဲခွင့်ပြုရန်' ကို မသတ်မှတ်ပါနှင့်။

Python, MCP SDK (mcp 1.30.0)

import asyncio
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client

async def main():
    async with streamablehttp_client("https://asi.express/mcp") as (r, w, _):
        async with ClientSession(r, w) as s:
            await s.initialize()
            print([t.name for t in (await s.list_tools()).tools])
            res = await s.call_tool("search_capabilities", {"query": "weather", "limit": 3})
            print(res.structuredContent["count"], len(res.structuredContent["results"]))

asyncio.run(main())

မျှော်မှန်းထားသော ရလဒ်: search_capabilities အပါအဝင် tool အမည် 11 ခု၊ ထို့နောက် count တစ်ခုနှင့် ရလဒ် အများဆုံး 3 ခု။

OpenAI Agents SDK (openai-agents 0.25.0)

ချိတ်ဆက်ရန်နှင့် tool များကို စာရင်းပြုစုရန် OpenAI key မလိုပါ၊ model ကို run ရန်မူ လိုအပ်သည်။ key သတ်မှတ်ထားပါက tracing သည် data ကို third party (ပြင်ပအဖွဲ့) ထံ ပို့သည်- ထိုသို့ မလိုလားပါက OPENAI_AGENTS_DISABLE_TRACING=1 ကို သတ်မှတ်ပါ။

import asyncio
from agents.mcp import MCPServerStreamableHttp

async def main():
    async with MCPServerStreamableHttp(name="asi", params={"url": "https://asi.express/mcp"},
                                       cache_tools_list=True, client_session_timeout_seconds=30) as srv:
        print([t.name for t in await srv.list_tools()])
        res = await srv.call_tool("search_capabilities", {"query": "weather", "limit": 3})
        print(res.structuredContent["count"])

asyncio.run(main())

ဆာဗာကို agent တစ်ခုထံ ပေးရန်: Agent(name="x", mcp_servers=[srv])။ စမ်းသပ်မှုတွင် model ကို run မထားပါ၊ အထက်ပါ ချိတ်ဆက်ခြင်း၊ စာရင်းပြုစုခြင်းနှင့် call ကိုသာ သက်သေပြထားသည်။

LangChain / LangGraph (langchain-mcp-adapters 0.3.2)

import asyncio, json
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_mcp_adapters.tools import load_mcp_tools

async def main():
    client = MultiServerMCPClient({"asi": {"transport": "streamable_http", "url": "https://asi.express/mcp"}})
    async with client.session("asi") as s:
        tools = await load_mcp_tools(s)
        tool = [t for t in tools if t.name == "search_capabilities"][0]
        out = await tool.ainvoke({"query": "weather", "limit": 3})
        text = out[0]["text"] if isinstance(out, list) else out   # the JSON is the FIRST text item; a status line follows
        print(json.loads(text)["count"])

asyncio.run(main())

အဖြေတွင် စာသား item နှစ်ခု ပါသည်- ပထမ JSON၊ ထို့နောက် status စာကြောင်း။ ပထမတစ်ခုကိုသာ parse လုပ်ပါ။

LlamaIndex (llama-index-tools-mcp 0.4.8)

import asyncio
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec

async def main():
    client = BasicMCPClient("https://asi.express/mcp")        # a URL ending /mcp = Streamable HTTP
    tools = await McpToolSpec(client=client, allowed_tools=["search_capabilities"]).to_tool_list_async()
    res = await client.call_tool("search_capabilities", {"query": "weather", "limit": 3})
    print(res.structuredContent["count"])

asyncio.run(main())

CrewAI (crewai 1.6.1 with mcpadapt 0.1.20)

CrewAI ၏ ကိုယ်ပိုင် MCPServerAdapter က wrap လုပ်ထားသော MCP adapter ဖြင့် သက်သေပြထားသည်။ crewai_tools ကိုယ်တိုင်ကို စမ်းသပ်ကွန်ပျူတာပေါ်တွင် load မလုပ်နိုင်ခဲ့သဖြင့် ထို wrapper class နှင့်ပတ်သက်၍ မည်သည့်အဆိုကိုမျှ မပြုပါ။

from mcpadapt.core import MCPAdapt
from mcpadapt.crewai_adapter import CrewAIAdapter

with MCPAdapt({"url": "https://asi.express/mcp", "transport": "streamable-http"}, CrewAIAdapter(), 30) as tools:
    print([t.name for t in tools])                              # check the list is not empty: a failed server is skipped quietly
    search = [t for t in tools if t.name.endswith("search_capabilities")][0]
    print(search.run(query="weather", limit=3))

tool စာရင်း ဗလာမဖြစ်ကြောင်း စစ်ဆေးပါ- မအောင်မြင်သော ဆာဗာကို တိတ်တဆိတ် ကျော်သွားသည်။

Plain HTTP (curl)

curl -sS -X POST https://asi.express/mcp \
  -H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
  --data '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_capabilities","arguments":{"query":"weather","limit":3}}}'

သက်သေပြထားသော အစီအစဉ်: initialize, notifications/initialized, tools/list၊ ထို့နောက် အထက်ပါ call။ ဆာဗာသည် session မသိမ်းထားသဖြင့် Mcp-Session-Id header မလိုပါ။ call တစ်ခုတည်းကိုလည်း လက်ခံသည်၊ စောင့်ချိန်ကို ကန့်သတ်ရန် -m 30 ထည့်ပါ။

Claude Code (claude 2.1.330)

၎င်းကို ဖိုင်အဖြစ် သိမ်းပါ၊ ဥပမာ asi-mcp.json:

{"mcpServers": {"asi": {"type": "http", "url": "https://asi.express/mcp"}}}

ထို့နောက် Claude Code ကို claude --mcp-config asi-mcp.json ဖြင့် စတင်ပါ။ asi ဆာဗာသည် ချိတ်ဆက်ပြီးအဖြစ် ပြသပြီး ၎င်း၏ tool များသည် mcp__asi__search_capabilities စသည်ဖြင့် ပေါ်လာသည်။

ဤပုံစံကို 2026-11-22 တွင် production ပေါ်၌ စမ်းသပ်ခဲ့သည်။

project .mcp.json ဖိုင်ထဲရှိ တူညီသော entry သို့မဟုတ် claude mcp add --transport http asi https://asi.express/mcp ဖြင့် ထည့်ထားသော entry သည်လည်း အလုပ်လုပ်သင့်သည် (project ဆာဗာကို အတည်ပြုရန် Claude Code က သင့်ကို တောင်းဆိုသည်)။ ဤပုံစံများကို production ပေါ်တွင် ကျွန်ုပ်တို့ မစမ်းသပ်ရသေးပါ။

အခြား client များကို production ပေါ်တွင် စမ်းသပ်မှု အောင်မြင်ပြီးမှသာ ဤနေရာတွင် ထည့်သည်။