ASI.EXPRESSFrom Enterprise.Systems

మీ ఏజెంట్‌ను కనెక్ట్ చేయండి

సర్వర్ చిరునామా: https://asi.express/mcp. ట్రాన్స్‌పోర్ట్: Streamable HTTP (POST, JSON సమాధానాలు). సైన్-ఇన్ అవసరం లేదు, key అవసరం లేదు.

మొదటి కాల్: {"query": "weather", "limit": 3} తో search_capabilities. ఇది results (గరిష్ఠంగా 3 సామర్థ్యాల జాబితా), count (ఒక సంఖ్య) మరియు ఒక స్టేటస్ లైన్‌ను తిరిగి ఇస్తుంది. ముందుగా ఇతర టూల్స్‌ను చదవాల్సిన అవసరం లేదు.

2026-11-22 న ప్రొడక్షన్‌లో, ప్రతి విభాగంలో పేర్కొన్న లైబ్రరీ వెర్షన్లతో పరీక్షించబడింది.

ఇతర ప్రొవైడర్ల టూల్స్ థర్డ్-పార్టీవి: మీ ఏజెంట్‌ను ఏదైనా టూల్‌ను రన్ చేయనిచ్చే ముందు ఆ టూల్ ఏమి చేస్తుందో చదవండి, మరియు చర్యలు చేసే టూల్స్‌కు 'ఎల్లప్పుడూ అనుమతించు' సెట్ చేయవద్దు.

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

ఆశించిన ఫలితం: search_capabilities సహా 11 టూల్ పేర్లు, తర్వాత ఒక లెక్క మరియు గరిష్ఠంగా 3 ఫలితాలు.

OpenAI Agents SDK (openai-agents 0.25.0)

కనెక్ట్ చేయడానికి, టూల్స్ జాబితా పొందడానికి OpenAI key అవసరం లేదు; మోడల్‌ను నడపడానికి అవసరం. key సెట్ చేసి ఉంటే, tracing డేటాను మూడవ పక్షానికి పంపుతుంది: మీకు అది వద్దనుకుంటే OPENAI_AGENTS_DISABLE_TRACING=1 సెట్ చేయండి.

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

సర్వర్‌ను ఒక ఏజెంట్‌కు ఇవ్వడానికి: Agent(name="x", mcp_servers=[srv]). పరీక్షలో మోడల్‌ను నడపలేదు; పైన ఉన్న కనెక్ట్, జాబితా, కాల్ మాత్రమే నిరూపితమయ్యాయి.

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

సమాధానంలో రెండు టెక్స్ట్ అంశాలు ఉంటాయి: ముందు JSON, తర్వాత ఒక స్టేటస్ లైన్. మొదటిదాన్ని మాత్రమే parse చేయండి.

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)

CrewAI సొంత MCPServerAdapter wrap చేసే MCP అడాప్టర్ ద్వారా నిరూపించబడింది. crewai_tools ను పరీక్ష కంప్యూటర్‌లో లోడ్ చేయలేకపోయాం, కాబట్టి ఆ wrapper class గురించి ఎలాంటి దావా చేయడం లేదు.

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

టూల్ జాబితా ఖాళీగా లేదని తనిఖీ చేయండి: విఫలమయ్యే సర్వర్ నిశ్శబ్దంగా దాటవేయబడుతుంది.

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

నిరూపిత క్రమం: initialize, notifications/initialized, tools/list, తర్వాత పైన ఉన్న కాల్. సర్వర్ ఏ సెషన్‌నూ నిల్వ చేయదు, కాబట్టి Mcp-Session-Id హెడర్ అవసరం లేదు. కాల్‌ను ఒక్కటే పంపినా అంగీకరించబడుతుంది; వేచి ఉండే సమయాన్ని పరిమితం చేయడానికి -m 30 జోడించండి.

Claude Code (claude 2.1.330)

దీన్ని ఒక ఫైల్‌గా సేవ్ చేయండి, ఉదాహరణకు asi-mcp.json:

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

తర్వాత claude --mcp-config asi-mcp.json తో Claude Code ను ప్రారంభించండి. asi సర్వర్ కనెక్ట్ అయినట్లు చూపబడుతుంది, దాని టూల్స్ mcp__asi__search_capabilities మొదలైనవిగా కనిపిస్తాయి.

ఈ రూపం 2026-11-22 న ప్రొడక్షన్‌లో పరీక్షించబడింది.

అదే ఎంట్రీని ఒక ప్రాజెక్ట్ .mcp.json ఫైల్‌లో ఉంచినా, లేదా claude mcp add --transport http asi https://asi.express/mcp తో జోడించినా కూడా పనిచేయాలి (ప్రాజెక్ట్ సర్వర్‌ను ఆమోదించమని Claude Code మిమ్మల్ని అడుగుతుంది). ఈ రూపాలను మేము ప్రొడక్షన్‌లో పరీక్షించలేదు.

ఇతర క్లయింట్‌లు ప్రొడక్షన్‌లో పరీక్షలో ఉత్తీర్ణత సాధించిన తర్వాతే ఇక్కడ జోడించబడతాయి.