ASI.EXPRESSFrom Enterprise.Systems

તમારા એજન્ટને કનેક્ટ કરો

સર્વરનું સરનામું: https://asi.express/mcp. ટ્રાન્સપોર્ટ: Streamable HTTP (POST, JSON જવાબો). કોઈ સાઇન-ઇન નહીં, કોઈ કી નહીં.

પહેલો કૉલ: {"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 કીની જરૂર નથી; મોડેલ ચલાવવા માટે તેની જરૂર છે. કી સેટ હોય ત્યારે, 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, પછી એક સ્ટેટસ લાઇન. ફક્ત પહેલી જ પાર્સ કરો.

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 જે MCP એડેપ્ટરને રેપ કરે છે, તેના દ્વારા સાબિત. crewai_tools પોતે ટેસ્ટ કમ્પ્યુટર પર લોડ થઈ શક્યું નહીં, તેથી તે રેપર ક્લાસનો દાવો કરવામાં આવતો નથી.

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 Code ને claude --mcp-config asi-mcp.json થી શરૂ કરો. asi સર્વર કનેક્ટેડ દેખાય છે, અને તેનાં ટૂલ્સ mcp__asi__search_capabilities વગેરે તરીકે દેખાય છે.

આ સ્વરૂપ 2026-11-22 ના રોજ પ્રોડક્શન પર ટેસ્ટ કરવામાં આવ્યું હતું.

આ જ એન્ટ્રી પ્રોજેક્ટની .mcp.json ફાઇલમાં, અથવા claude mcp add --transport http asi https://asi.express/mcp થી ઉમેરેલી, પણ કામ કરવી જોઈએ (Claude Code તમને પ્રોજેક્ટ સર્વર મંજૂર કરવા કહે છે). અમે આ સ્વરૂપો પ્રોડક્શન પર ટેસ્ટ કર્યાં નથી.

અન્ય ક્લાયન્ટ્સ પ્રોડક્શન પર ટેસ્ટ પાસ કર્યા પછી જ અહીં ઉમેરવામાં આવે છે.