ASI.EXPRESSFrom Enterprise.Systems

Boole sa agent

Adrees bu server bi: https://asi.express/mcp. Transport: Streamable HTTP (POST, tontu yu JSON). Amul dugg (sign-in), amul caabi (key).

Woote bu njëkk: search_capabilities ak {"query": "weather", "limit": 3}. Mu ngi delloo results (limu mën-mën yu mën a tollu ba 3), count (benn nimero) ak benn rëdd bu status. Soxlaawoo jàng yeneen jumtukaay yi ci kanam.

Nattu nañu ko ci 2026-11-22, ci production, ak version yu library yi ñu tudd ci bépp xaaj.

Jumtukaay yi jóge ci yeneen joxekat, ñu ñetteelu bànqaas lañu: jàng li jumtukaay di def balaa ngay may sa dimbalikat AI mu doxal ko, te bul tànn "Mayal saa su nekk" ngir jumtukaay yiy soppi lenn.

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

Njureef gi ñu xaar: 11 turi jumtukaay yu search_capabilities bokk ci, ginnaaw ga benn lim ak ba 3 njureef.

OpenAI Agents SDK (openai-agents 0.25.0)

Soxlaawul caabi OpenAI ngir boole ak wone limu jumtukaay yi; doxal model dafa soxla benn. Bu ñu tegee caabi, tracing dafay yónnee data ci ñetteelu nit: tegal OPENAI_AGENTS_DISABLE_TRACING=1 bu nga bëggul loolu.

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

Ngir jox server bi benn agent: Agent(name="x", mcp_servers=[srv]). Nattu bi doxalul model; li ñu firndeel mooy boole bi, lim bi ak woote bi ci kaw.

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

Tontu bi am na ñaari pàcc yu mbind: JSON bi jëkk, ginnaaw ga benn rëdd bu status. Def parse bu njëkk bi rekk.

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)

Firndeel nañu ko jaarale ko ci MCP adapter bi MCPServerAdapter bu CrewAI moom ci boppam di muur. crewai_tools ci boppam mënul woon a yeb ci ordinaatëru nattu bi, looloo tax waxunu dara ci class bu muur boobu.

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

Seetal ne limu jumtukaay yi neenul: server bu lajj dañ koy jéllale ci noppi.

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

Toftaleef bi ñu firndeel: initialize, notifications/initialized, tools/list, ginnaaw ga woote bi ci kaw. Server bi dencul session, looloo tax soxlaawul header Mcp-Session-Id. Woote bi rekk itam dañu koy nangu; yokkal -m 30 ngir teg digg ci xaar gi.

Claude Code (claude 2.1.330)

Dencal lii ni fichier, misaal asi-mcp.json:

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

Ginnaaw ga tambalil Claude Code ak claude --mcp-config asi-mcp.json. Server asi bi dina feeñ ni lu ñu boole, te jumtukaayam yi di feeñ ni mcp__asi__search_capabilities ak yeneen.

Melokaan bii nattu nañu ko ci production ci 2026-11-22.

Bind bu yem bi ci fichier .mcp.json bu benn projet, walla bu ñu yokk ak claude mcp add --transport http asi https://asi.express/mcp, war na itam a dox (Claude Code dina la laaj nga nangu server bu projet). Nattuñu melokaan yii ci production.

Yeneen client yi duñu leen fi yokk lu dul ginnaaw bu ñu jàllee benn nattu ci production.