Ferbyn jo agint
Serveradres: https://asi.express/mcp. Transport: Streamable HTTP (POST, antwurden yn JSON). Gjin oanmelding, gjin kaai.
Earste oanrop: search_capabilities mei {"query": "weather", "limit": 3}. Dy jout results (in list fan maksimaal 3 mooglikheden), count (in getal) en in statusrigel werom. Jo hoege de oare ark net earst te lêzen.
Hifke op 2026-11-22, yn produksje, mei de bibleteekferzjes dy't yn elke seksje neamd wurde.
Ark fan oare oanbieders is fan tredden: lês wat in ark docht foardatsto dyn agint it útfiere litst, en stel ‘Altyd tastean’ net yn foar ark dat aksjes útfiert.
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())Ferwachte resultaat: 11 arknammen, wêrûnder search_capabilities, dan in oantal en maksimaal 3 resultaten.
OpenAI Agents SDK (openai-agents 0.25.0)
Om te ferbinen en de ark op te listen is gjin OpenAI-kaai nedich; om in model te draaien is der wol ien nedich. As der in kaai ynsteld is, stjoert tracing gegevens nei in tredde partij: stel OPENAI_AGENTS_DISABLE_TRACING=1 yn as jo dat net wolle.
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())Om de server oan in agint te jaan: Agent(name="x", mcp_servers=[srv]). De test hat gjin model draaid; de ferbining, de list en de oanrop hjirboppe binne wat bewiisd is.
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())It antwurd hat twa tekstitems: earst de JSON, dan in statusrigel. Parse allinnich de earste.
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)
Bewiisd fia de MCP-adapter dy't CrewAI syn eigen MCPServerAdapter omhellet. crewai_tools sels koe op de testkompjûter net laden wurde, dus dy wrapperklasse wurdt net bewearre.
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))Kontrolearje dat de arklist net leech is: in server dy't mislearret, wurdt stil oerslein.
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}}}'Bewiisde folchoarder: initialize, notifications/initialized, tools/list, dan de oanrop hjirboppe. De server hâldt gjin sesje by, dus der is gjin Mcp-Session-Id-header nedich. Allinnich de oanrop wurdt ek akseptearre; foegje -m 30 ta om it wachtsjen te beheinen.
Claude Code (claude 2.1.330)
Bewarje dit as in bestân, bygelyks asi-mcp.json:
{"mcpServers": {"asi": {"type": "http", "url": "https://asi.express/mcp"}}}Start dan Claude Code mei claude --mcp-config asi-mcp.json. De server asi wurdt as ferbûn toand, en syn ark ferskine as mcp__asi__search_capabilities ensafuorthinne.
Dizze foarm is op 2026-11-22 yn produksje hifke.
Deselde yngong yn in projektbestân .mcp.json, of tafoege mei claude mcp add --transport http asi https://asi.express/mcp, soe ek wurkje moatte (Claude Code freget jo om in projektserver goed te karren). Wy hawwe dizze foarmen net yn produksje hifke.
Oare kliïnten wurde hjir pas tafoege neidat se in test yn produksje trochstien hawwe.