How to Use the Diese MCP in LlamaIndex
Index live Diese ERP project data into LlamaIndex vector stores to query your actual business status without hallucinations.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Diese MCP to LlamaIndex
Create your Vinkius account to connect Diese to LlamaIndex and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Turn Diese project logs into searchable knowledge
Stop letting your ERP data sit in a silo. Use this MCP Server to pull active project details through `list_erp_projects` and index them directly into your LlamaIndex document store. Your LlamaIndex agent can then query past project tasks using `list_project_tasks` to answer complex questions about past performance. It combines live Diese data with historical context to give you accurate answers.
Index Diese invoices with this LlamaIndex MCP Server
Reconciling accounts gets easier when your LlamaIndex agent has access to your actual ledger. The agent calls `list_sales_invoices` and `list_business_expenses` to pull raw Diese financial records directly into its context window. By mapping these records against your vectorized internal docs, you can ask LlamaIndex about budget variances. The agent checks actual spend against planned budgets without making up numbers.
Track resource allocations semantically
Use `list_resource_planning` to feed current staff assignments into your LlamaIndex RAG application. This lets you run semantic searches over who is working on what, rather than relying on basic keyword matches. When you need to find who managed a previous task, the agent runs `search_projects_by_name` to find the project, gets the contacts via `list_erp_contacts`, and indexes the relationship for future queries.
Set up Diese MCP in LlamaIndex
Prerequisites
- Python 3.10+ installed
-
llama-index-tools-mcppackage - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
pip install llama-index-tools-mcp llama-index-llms-openai. The MCP tools package providesBasicMCPClientandMcpToolSpec. - 2
Connect with BasicMCPClient
Point
BasicMCPClientto your Vinkius endpoint URL. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. Supports SSE and Streamable HTTP transports. - 3
Convert to LlamaIndex tools
Call
mcp_tool_spec.to_tool_list_async()to convert all Diese MCP tools into nativeFunctionToolobjects that any LlamaIndex agent can use. - 4
Run with any LLM
Create a
FunctionAgentwith the tools and your preferred LLM. SwapOpenAIforAnthropic,Gemini, or any LlamaIndex-supported provider.
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
# Connect to the MCP
mcp_client = BasicMCPClient(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
)
mcp_tool_spec = McpToolSpec(client=mcp_client)
# Convert MCP tools to LlamaIndex tools
tools = await mcp_tool_spec.to_tool_list_async()
# Create and run the agent
agent = FunctionAgent(
tools=tools,
llm=OpenAI(model="gpt-4o"),
system_prompt="You have access to Diese tools.",
)
response = await agent.run("List recent Diese data") Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Diese. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Diese MCP in LlamaIndex
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Diese MCP today
We host it, we monitor it, we maintain it. You just paste one token.