Extending the virtual agent with custom tools
This use case shows how to give the Talqui virtual agent new capabilities — the ability to call your own systems, recognize patterns specific to your business, or integrate with external services — by deploying a backend-only plugin that exposes MCP tools. The plugin runs on your infrastructure, under your control, and Talqui simply discovers and invokes the tools you expose.Contextualization
Imagine an e-commerce company that manages inventory in a proprietary system. Today, when a customer asks the virtual agent “Do you have this product in stock?” or “Where is my order from three days ago?”, the agent cannot answer because it has no access to the company’s systems. It falls back to a scripted response or hands off to a human. With a custom AI Capabilities plugin, the company can teach the agent to:- Recognize product availability directly from their inventory system
- Act by placing orders without human intervention
- Identify orders and track shipments in real-time
- Reason about customer data to make contextual recommendations
Objective
Deploy MCP tools that the virtual agent discovers and calls autonomously, scoped to your internal systems. The agent becomes capable of:- Reading your internal databases and APIs
- Taking actions (creating orders, logging tickets, updating records)
- Making decisions based on real-time data from your systems
- Conducting business logic that was previously unavailable to automated procedures
What you’ll build
A backend-only plugin that exposes an MCP endpoint:
You define what tools matter to your business and implement them however makes sense for your stack.
How it works
Step 1: Define your tools
Design MCP tools that the agent will call. Think about what information or actions your business needs the agent to have access to:inventory.check— query your stock system for product availabilityorder.create— place an order in your systemorder.status— look up a customer’s order and its current statuscustomer.profile— fetch customer data for personalization
Step 2: Implement the backend
Build a Node.js (or any language) service that implements the MCP protocol. Register your tools, connect them to your internal systems, and expose the MCP endpoint on a public HTTPS address. Example structure:Step 3: Deploy to your infrastructure
Host your MCP endpoint on your own servers — AWS, DigitalOcean, Kubernetes, on-prem, wherever makes sense. The only requirement is that it’s publicly accessible over HTTPS and responds to MCP requests.Step 4: Register with Talqui
Submit your plugin to Talqui with only the MCP address:Step 5: Tools become available in Talqui
Once approved:- Talqui’s virtual agent discovers your tools via
tools/listat your MCP endpoint - The tools appear in the Procedure Editor as available steps
- Operators can build procedures that instruct the agent to call your tools
- At runtime, the agent calls your tools directly when it makes sense for the conversation
The runtime flow
Plugin MCP Runtime
Key points
- Backend-only — a plugin can be purely MCP tools with no UI or REST surface.
- Your infrastructure — you host and maintain the MCP endpoint. Talqui does not store your data or provide infrastructure support.
- Autonomous — the agent discovers and calls your tools without operator intervention. No widget needed.
- Flexible — tools can read, write, or trigger any action in your systems.
- Reusable — the same tools can be used by different procedures and different conversations.
Infrastructure & support
This is your responsibility. You build, deploy, and maintain the MCP endpoint on your infrastructure. Talqui only calls the public HTTPS address you provide; it does not host, monitor, or support your service. If your endpoint is down or slow, it impacts the agent’s performance — and you own that. Set up monitoring, redundancy, rate limiting, and logging as you would for any production service.
Example: complete tool definition
Here’s what one MCP tool might look like:orderId, your backend looks it up in your order system, validates it, and returns:
Comparison: when to use this pattern
You can combine patterns — a plugin can have all three — but the simplest path to agent automation is MCP-only.
Next steps
- Review Backend › MCP to understand tool design and the MCP protocol.
- Start with the MCP portion of the
talqui-oss/talqui-plugin-exampleto see concrete tool implementations. - Build your tools, test them with the MCP Inspector, and deploy to your infrastructure.
- Submit your MCP endpoint to Talqui via Submitting Your Plugin.
Ice Cream Shop
Backend + Widget for operators.
Conversation Observer
RTM bridge for real-time events.
Backend
Deep dive into MCP tools and tool design.
Submitting Your Plugin
Register and publish.