ASI.EXPRESSFrom Enterprise.Systems

Golaganya agent ya gago

Aterese ya seva: https://asi.express/mcp. Transport: Streamable HTTP (POST, dikarabo tsa JSON). Ga go go tsena (sign-in), ga go senotlolo (key).

Pitso ya ntlha: search_capabilities le {"query": "weather", "limit": 3}. E busa results (lenane la bokgoni jo bo fitlhang go 3), count (palo) le mola wa maemo (status). Ga o tlhoke go bala didirisiwa tse dingwe pele.

Go lekilwe ka 2026-11-22, mo production, ka diphetolelo tsa library tse di umakilweng mo karolong nngwe le nngwe.

Didirisiwa tse di tswang mo bafaneng ba bangwe ke tsa motho wa boraro: bala gore sedirisiwa se dira eng pele o letla moemedi wa gago go se tsamaisa, mme o se ka wa baya "Letla ka metlha" mo didirisiweng tse di dirang ditiro.

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())

Dipholo tse di solofetsweng: Maina a didirisiwa a le 11 go akaretsa search_capabilities, morago palo le dipholo tse di fitlhang go 3.

OpenAI Agents SDK (openai-agents 0.25.0)

Ga go tlhokege senotlolo sa OpenAI go golaganya le go bontsha lenane la didirisiwa; go dirisa model go tlhoka se le sengwe. Fa senotlolo se tlhomilwe, tracing e romela data kwa mothong wa boraro: tlhoma OPENAI_AGENTS_DISABLE_TRACING=1 fa o sa batle seo.

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())

Go naya agent seva: Agent(name="x", mcp_servers=[srv]). Teko ga e a dirisa model; go golaganya, lenane le pitso e e kwa godimo ke tsone tse di netefaditsweng.

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())

Karabo e na le dilo tse pedi tsa mokwalo: JSON pele, morago mola wa maemo. Dira parse ya ya ntlha fela.

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)

Go netefaditswe ka MCP adapter e MCPServerAdapter ya CrewAI ka boyone e e phuthelang. crewai_tools ka boyone ga e a kgona go tsenngwa mo khomputareng ya teko, ka jalo ga go sepe se se buiwang ka class eo e e phuthelang.

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))

Tlhola gore lenane la didirisiwa ga se lefela: seva e e paletsweng e tlolwa ka tidimalo.

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}}}'

Tatelano e e netefaditsweng: initialize, notifications/initialized, tools/list, morago pitso e e kwa godimo. Seva ga e boloke session, ka jalo ga go tlhokege header ya Mcp-Session-Id. Pitso e le nosi le yone e a amogelwa; oketsa -m 30 go fokotsa nako ya go leta.

Claude Code (claude 2.1.330)

Boloka se jaaka faele, sekai asi-mcp.json:

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

Morago simolola Claude Code ka claude --mcp-config asi-mcp.json. Seva ya asi e bontshiwa e golagane, mme didirisiwa tsa yone di tlhaga jaaka mcp__asi__search_capabilities le tse dingwe.

Sebopego se se lekilwe mo production ka 2026-11-22.

Tsenyo e e tshwanang mo faeleng ya porojeke ya .mcp.json, kgotsa e e okeditsweng ka claude mcp add --transport http asi https://asi.express/mcp, le yone e tshwanetse go dira (Claude Code e go kopa go dumelela seva ya porojeke). Ga re ise re leke dibopego tse mo production.

Di-client tse dingwe di okelelwa fa fela morago ga gore di fete teko mo production.