ASI.EXPRESSFrom Enterprise.Systems

Tsɔ wò agent kpe ɖe eŋu

Server ƒe adrɛs: https://asi.express/mcp. Transport: Streamable HTTP (POST, JSON ŋuɖoɖowo). Mehiã be nàge ɖe eme (sign-in) o, mehiã safui (key) o.

Yɔyɔ gbãtɔ: search_capabilities kple {"query": "weather", "limit": 3}. Egbɔa results (ŋutete siwo ade 3 ƒe ɖoɖo), count (xexlẽdzesi) kple status fli ɖeka. Mehiã be nàxlẽ dɔwɔnu bubuawo gbã o.

Wodoe kpɔ le 2026-11-22, le production dzi, kple library versions siwo ŋkɔ woyɔ le akpa ɖesiaɖe me.

Dɔwɔnu siwo tso nunanalawo bubuwo gbɔ la nye hatsotso etɔ̃lia tɔwo: xlẽ nusi dɔwɔnu aɖe wɔna hafi nàɖe mɔ na wò AI teƒenɔla be wòawɔ eŋu dɔ, eye mègaɖo "Ɖe mɔ ɣesiaɣi" na dɔwɔnu siwo trɔa nuwo alo wɔa nu ŋutɔŋutɔwo o.

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

Emetsonu si wole mɔ kpɔm na: Dɔwɔnu ŋkɔ 11 siwo dome search_capabilities le, emegbe xexlẽme kple emetsonu siwo ade 3.

OpenAI Agents SDK (openai-agents 0.25.0)

Mehiã OpenAI safui hafi nàkpe ɖe eŋu ahaɖe dɔwɔnuwo fia o; model wɔwɔ hiã ɖeka. Ne wode safui, tracing ɖoa data ɖe ame etɔ̃lia: de OPENAI_AGENTS_DISABLE_TRACING=1 ne mèdi ema o.

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

Be nàtsɔ server la na agent: Agent(name="x", mcp_servers=[srv]). Dodokpɔa mewɔ model dɔ o; kpekpe ɖe eŋu, ɖoɖoa kple yɔyɔ si le etame lae woɖo kpe edzi.

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

Ŋuɖoɖoa me nuŋlɔɖi nu eve le: JSON gbã, emegbe status fli. Wɔ parse na gbãtɔ ko.

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)

Woɖo kpe edzi to MCP adapter si CrewAI ŋutɔ ƒe MCPServerAdapter bla la dzi. Womete ŋu tsɔ crewai_tools ŋutɔ de dodokpɔ kɔmpiuta la dzi o, eya ta míegblɔ naneke tso class si bla nu ma ŋu o.

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

Kpɔe be dɔwɔnuwo ƒe ɖoɖoa menye gbɔlo o: server si medze edzi o la, wotsoa eme le ɖoɖoezi me.

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

Ɖoɖo si woɖo kpe edzi: initialize, notifications/initialized, tools/list, emegbe yɔyɔ si le etame. Server la medzraa session ɖo o, eya ta mehiã Mcp-Session-Id header o. Woxɔa yɔyɔ ɖeka hã; tsɔ -m 30 kpe ɖe eŋu be nàɖo liƒo na lalalaa.

Claude Code (claude 2.1.330)

Dzra esia ɖo abe faɛl ene, kpɔɖeŋu asi-mcp.json:

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

Emegbe dze Claude Code gɔme kple claude --mcp-config asi-mcp.json. asi server la dzena be wokpe ɖe eŋu, eye eƒe dɔwɔnuwo dzena abe mcp__asi__search_capabilities kple bubuwo ene.

Wodo nɔnɔme sia kpɔ le production dzi le 2026-11-22.

Nuŋɔŋlɔ ma ke le project ƒe .mcp.json faɛl me, alo esi wotsɔ claude mcp add --transport http asi https://asi.express/mcp kpe ɖe eŋu, hã ele be wòawɔ dɔ (Claude Code abia wò be nàlɔ̃ ɖe project server dzi). Míedo nɔnɔme siawo kpɔ le production dzi haɖe o.

Wotsɔa client bubuwo kpena ɖe eŋu le afii ko le esi wodo dodokpɔ aɖe le production dzi wòdze edzi megbe.