ASI.EXPRESSFrom Enterprise.Systems

Kgokaganya agent ya gago

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

Pitšo ya mathomo: search_capabilities le {"query": "weather", "limit": 3}. E bušetša results (lenaneo la bokgoni bjo bo fihlago go 3), count (nomoro) le mothalo wa maemo (status). Ga o nyake go bala didirišwa tše dingwe pele.

Go lekotšwe ka 2026-11-22, go production, ka diphetolelo tša library tšeo di boletšwego karolong ye nngwe le ye nngwe.

Didirišwa tšeo di tšwago go bafani ba bangwe ke tša mokgatlo wa boraro: bala gore sedirišwa se dira eng pele o dumelela moemedi wa gago go se šomiša, gomme o se ke wa bea "Dumelela ka mehla" go didirišwa tšeo di dirago 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())

Dipoelo tšeo di letetšwego: Maina a didirišwa a 11 go akaretšwa search_capabilities, ke moka palo le dipoelo tše di fihlago go 3.

OpenAI Agents SDK (openai-agents 0.25.0)

Ga go nyakege senotlelo sa OpenAI go kgokaganya le go lokeletša didirišwa; go šomiša model go nyaka se tee. Ge senotlelo se beilwe, tracing e romela data go motho wa boraro: bea OPENAI_AGENTS_DISABLE_TRACING=1 ge o sa nyake 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 fa agent seva: Agent(name="x", mcp_servers=[srv]). Teko ga se ya šomiša model; go kgokaganya, lenaneo le pitšo ye e lego ka godimo ke tšona tšeo di netefaditšwego.

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 tše pedi tša sengwalwa: JSON pele, ke moka mothalo wa maemo. Dira parse ya sa mathomo 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 netefaditšwe ka MCP adapter yeo MCPServerAdapter ya CrewAI ka boyona e e phuthelago. crewai_tools ka boyona ga se ya kgona go tsenywa khomphuthareng ya teko, ka fao ga go selo seo se bolelwago ka class yeo e phuthelago.

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

Lekola gore lenaneo la didirišwa ga se lefeela: seva ye e palelwago e tshelwa ka go homola.

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 ye e netefaditšwego: initialize, notifications/initialized, tools/list, ke moka pitšo ye e lego ka godimo. Seva ga e boloke session, ka fao ga go nyakege header ya Mcp-Session-Id. Pitšo e le tee le yona e a amogelwa; oketša -m 30 go fokotša nako ya go leta.

Claude Code (claude 2.1.330)

Boloka se bjalo ka faele, mohlala asi-mcp.json:

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

Ke moka thoma Claude Code ka claude --mcp-config asi-mcp.json. Seva ya asi e bontšhwa e kgokagane, gomme didirišwa tša yona di tšwelela bjalo ka mcp__asi__search_capabilities le tše dingwe.

Sebopego se se lekotšwe go production ka 2026-11-22.

Tsenyo ye e swanago ka faeleng ya projeke ya .mcp.json, goba ye e okeditšwego ka claude mcp add --transport http asi https://asi.express/mcp, le yona e swanetše go šoma (Claude Code e go kgopela go dumelela seva ya projeke). Ga re ešo ra leka dibopego tše go production.

Di-client tše dingwe di okelwa mo fela ka morago ga ge di phasitše teko go production.