Courier MCP Server for LlamaIndex 10 tools — connect in under 2 minutes
LlamaIndex specializes in data-aware AI agents that connect LLMs to structured and unstructured sources. Add Courier as an MCP tool provider through Vinkius and your agents can query, analyze, and act on live data alongside your existing indexes.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import asyncio
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
mcp_client = BasicMCPClient("https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
mcp_tool_spec = McpToolSpec(client=mcp_client)
tools = await mcp_tool_spec.to_tool_list_async()
agent = FunctionAgent(
tools=tools,
llm=OpenAI(model="gpt-4o"),
system_prompt=(
"You are an assistant with access to Courier. "
"You have 10 tools available."
),
)
response = await agent.run(
"What tools are available in Courier?"
)
print(response)
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 Courier MCP Server
Integrate Courier, the smart notification infrastructure, directly into your AI workflow. Design, orchestrate, and send messages across email, SMS, push, and chat apps using natural language.
LlamaIndex agents combine Courier tool responses with indexed documents for comprehensive, grounded answers. Connect 10 tools through Vinkius and query live data alongside vector stores and SQL databases in a single turn. ideal for hybrid search, data enrichment, and analytical workflows.
What you can do
- Send Notifications — Trigger complex notification workflows to any recipient via the Send API.
- Message Monitoring — List sent messages and track their real-time delivery status (sent, delivered, opened).
- Template Management — Browse available notification templates and custom brands.
- Audience & User Insights — Manage subscription lists and retrieve user profiles.
The Courier MCP Server exposes 10 tools through the Vinkius. Connect it to LlamaIndex in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect Courier to LlamaIndex via MCP
Follow these steps to integrate the Courier MCP Server with LlamaIndex.
Install dependencies
Run pip install llama-index-tools-mcp llama-index-llms-openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the agent
Save to agent.py and run: python agent.py
Explore tools
The agent discovers 10 tools from Courier
Why Use LlamaIndex with the Courier MCP Server
LlamaIndex provides unique advantages when paired with Courier through the Model Context Protocol.
Data-first architecture: LlamaIndex agents combine Courier tool responses with indexed documents for comprehensive, grounded answers
Query pipeline framework lets you chain Courier tool calls with transformations, filters, and re-rankers in a typed pipeline
Multi-source reasoning: agents can query Courier, a vector store, and a SQL database in a single turn and synthesize results
Observability integrations show exactly what Courier tools were called, what data was returned, and how it influenced the final answer
Courier + LlamaIndex Use Cases
Practical scenarios where LlamaIndex combined with the Courier MCP Server delivers measurable value.
Hybrid search: combine Courier real-time data with embedded document indexes for answers that are both current and comprehensive
Data enrichment: query Courier to augment indexed data with live information before generating user-facing responses
Knowledge base agents: build agents that maintain and update knowledge bases by periodically querying Courier for fresh data
Analytical workflows: chain Courier queries with LlamaIndex's data connectors to build multi-source analytical reports
Courier MCP Tools for LlamaIndex (10)
These 10 tools become available when you connect Courier to LlamaIndex via MCP:
get_message_details
Touches delivery logs, provider responses, and rendering metadata boundary. Get details for a specific message by ID
get_message_history
Resolves event types (SENT, DELIVERED, etc.) and detailed provider logs. Get the delivery history logs for a message
get_user_profile
Resolves contact details (email, phone) and channel-specific delivery preferences. Get the profile data for a specific user
list_audiences
Resolves audience IDs, names, and filter criteria used for segmentation. List saved audiences for targeted notifications
list_brands
Resolves brand names, colors, and logo settings used for white-labeling notifications. List custom brands configured in Courier
list_messages
Resolves message IDs, recipient identifiers, status (SENT, DELIVERED, OPENED, CLICKED), and timestamps. List sent messages and their current status
list_subscription_lists
Resolves list IDs, names, and subscriber counts. List subscription lists for managing recipients
list_templates
Resolves template names, IDs, and supported channels. List available notification templates
list_users
Resolves user IDs, roles, and account association details. List users registered in the Courier workspace
send_notification
Touches recipient profile, template engine, and multi-channel provider boundaries. Send a notification to a recipient
Example Prompts for Courier in LlamaIndex
Ready-to-use prompts you can give your LlamaIndex agent to start working with Courier immediately.
"Check the delivery status of the last message sent to 'user@example.com'."
"Send a 'Welcome' notification to the new user with ID 'user_123'."
"List all notification templates available in my account."
Troubleshooting Courier MCP Server with LlamaIndex
Common issues when connecting Courier to LlamaIndex through the Vinkius, and how to resolve them.
BasicMCPClient not found
pip install llama-index-tools-mcpCourier + LlamaIndex FAQ
Common questions about integrating Courier MCP Server with LlamaIndex.
How does LlamaIndex connect to MCP servers?
Can I combine MCP tools with vector stores?
Does LlamaIndex support async MCP calls?
Connect Courier with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect Courier to LlamaIndex
Get your token, paste the configuration, and start using 10 tools in under 2 minutes. No API key management needed.
