SimpleFatoora MCP Server for LangChainGive LangChain instant access to 20 tools to Check Simplefatoora Status, Create Credit Note, Create Customer, and more
LangChain is the leading Python framework for composable LLM applications. Connect SimpleFatoora through Vinkius and LangChain agents can call every tool natively. combine them with retrievers, memory, and output parsers for sophisticated AI pipelines.
Ask AI about this App Connector for LangChain
The SimpleFatoora app connector for LangChain is a standout in the Erp Operations category — giving your AI agent 20 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
async with MultiServerMCPClient({
"simplefatoora": {
"transport": "streamable_http",
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
}
}) as client:
tools = client.get_tools()
agent = create_react_agent(
ChatOpenAI(model="gpt-4o"),
tools,
)
response = await agent.ainvoke({
"messages": [{
"role": "user",
"content": "Using SimpleFatoora, show me what tools are available.",
}]
})
print(response["messages"][-1].content)
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About SimpleFatoora MCP Server
Empower your AI agents to completely automate your billing and tax operations using the SimpleFatoora platform. With 20 dedicated tools, your AI can now programmatically generate all six ZATCA-compliant invoice types, validate tax compliance, manage customer and product catalogs, and issue credit notes directly from your natural language interface.
LangChain's ecosystem of 500+ components combines seamlessly with SimpleFatoora through native MCP adapters. Connect 20 tools via Vinkius and use ReAct agents, Plan-and-Execute strategies, or custom agent architectures. with LangSmith tracing giving full visibility into every tool call, latency, and token cost.
What you can do
- Create ZATCA Phase 2 compliant invoices (B2C, B2B, Purchase)
- Issue compliant credit and debit notes automatically
- Manage product catalogs and VAT rates with full CRUD
- Maintain customer profiles and tax registration numbers
- Verify API keys and cryptographic stamps
- Perform compliance verification checks
Who is it for?
Perfect for financial controllers, accountants, and businesses operating in Saudi Arabia that require strict ZATCA e-invoicing compliance combined with AI automation.The SimpleFatoora MCP Server exposes 20 tools through the Vinkius. Connect it to LangChain in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 20 SimpleFatoora tools available for LangChain
When LangChain connects to SimpleFatoora through Vinkius, your AI agent gets direct access to every tool listed below — spanning e-invoicing, zatca-compliance, invoice-management, and more. Every call is secured with network, filesystem, subprocess, and code evaluation entitlements inside a sandboxed runtime. Beyond a simple connection, you get a full AI Gateway with real-time visibility into agent activity, enterprise governance, and optimized token usage.
Verify connectivity
Create credit note
Create a customer
Create debit note
Create a product
Create B2C invoice
Create simplified purchase invoice
Create standard purchase invoice
Create B2B VAT invoice
Delete a customer
Delete a product
Get customer details
Get invoice details
Get product details
List customers
List all invoices
List products
Update a customer
Update a product
Validate API key
Connect SimpleFatoora to LangChain via MCP
Follow these steps to wire SimpleFatoora into LangChain. The entire setup takes under two minutes — your credentials stay safe behind the Vinkius.
Install dependencies
pip install langchain langchain-mcp-adapters langgraph langchain-openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
python agent.pyExplore tools
Why Use LangChain with the SimpleFatoora MCP Server
LangChain provides unique advantages when paired with SimpleFatoora through the Model Context Protocol.
The largest ecosystem of integrations, chains, and agents. combine SimpleFatoora MCP tools with 500+ LangChain components
Agent architecture supports ReAct, Plan-and-Execute, and custom strategies with full MCP tool access at every step
LangSmith tracing gives you complete visibility into tool calls, latencies, and token usage for production debugging
Memory and conversation persistence let agents maintain context across SimpleFatoora queries for multi-turn workflows
SimpleFatoora + LangChain Use Cases
Practical scenarios where LangChain combined with the SimpleFatoora MCP Server delivers measurable value.
RAG with live data: combine SimpleFatoora tool results with vector store retrievals for answers grounded in both real-time and historical data
Autonomous research agents: LangChain agents query SimpleFatoora, synthesize findings, and generate comprehensive research reports
Multi-tool orchestration: chain SimpleFatoora tools with web scrapers, databases, and calculators in a single agent run
Production monitoring: use LangSmith to trace every SimpleFatoora tool call, measure latency, and optimize your agent's performance
Example Prompts for SimpleFatoora in LangChain
Ready-to-use prompts you can give your LangChain agent to start working with SimpleFatoora immediately.
"Create a simplified B2C invoice for 3 items totaling 450 SAR in SimpleFatoora."
"List all customers in SimpleFatoora with their VAT registration numbers."
"Create a credit note for invoice #1234 in SimpleFatoora due to a partial return."
Troubleshooting SimpleFatoora MCP Server with LangChain
Common issues when connecting SimpleFatoora to LangChain through the Vinkius, and how to resolve them.
MultiServerMCPClient not found
pip install langchain-mcp-adaptersSimpleFatoora + LangChain FAQ
Common questions about integrating SimpleFatoora MCP Server with LangChain.
How does LangChain connect to MCP servers?
langchain-mcp-adapters to create an MCP client. LangChain discovers all tools and wraps them as native LangChain tools compatible with any agent type.