Smaregi MCP by usefulapi for LangChain
io.usefulapi/smaregi
Read Smaregi stores, products, customers, stock and transactions; manage customers, products, stock.
client:LangChain
transport:streamable-http
tools:20
Install Smaregi MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"smaregi": {
"transport": "streamable_http",
"url": "https://smaregi.usefulapi.io/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- smaregi_list_stores
- smaregi_get_store
- smaregi_list_staffs
- smaregi_get_staff
- smaregi_list_categories
- smaregi_get_category
- smaregi_list_products
- smaregi_get_product
- smaregi_list_customers
- smaregi_get_customer
- smaregi_list_stock
- smaregi_list_stock_changes
- smaregi_list_transactions
- smaregi_get_transaction
- smaregi_create_customer
- smaregi_update_customer
- smaregi_create_product
- smaregi_update_product
- smaregi_set_stock
- smaregi_adjust_stock