Skip to main content
Glama

Price Monitor MCP Server

by moongzee
mcp_client.py779 B
import asyncio from mcp import ClientSession, StdioServerParameters from mcp.client.stdio import stdio_client async def main(): # MCP 서버 실행 파일 경로 server_params = StdioServerParameters( command="python", args=["src/price_monitor_mcp.py"], # 실제 MCP 서버 파일 경로로 수정 ) # MCP 서버와 연결 async with stdio_client(server_params) as (read, write): async with ClientSession(read, write) as session: await session.initialize() # monitor_price_workflow 툴 실행 result = await session.call_tool("monitor_price_workflow", arguments={"product_code": "ULCK25151"}) print("워크플로우 결과:", result) if __name__ == "__main__": asyncio.run(main())

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/moongzee/mcp-price-monitor'

If you have feedback or need assistance with the MCP directory API, please join our Discord server