SuperTokens MCP Server for LlamaIndexGive LlamaIndex instant access to 18 tools to Assign Role To User, Bulk Import Users, Create Or Update Role, and more
LlamaIndex specializes in data-aware AI agents that connect LLMs to structured and unstructured sources. Add SuperTokens 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 for LlamaIndex
The SuperTokens MCP Server for LlamaIndex is a standout in the Developer Tools category — giving your AI agent 18 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
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 SuperTokens. "
"You have 18 tools available."
),
)
response = await agent.run(
"What tools are available in SuperTokens?"
)
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 SuperTokens MCP Server
Connect your SuperTokens Core instance to any AI agent to manage user lifecycles, session security, and Role-Based Access Control (RBAC) through natural language.
LlamaIndex agents combine SuperTokens tool responses with indexed documents for comprehensive, grounded answers. Connect 18 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
- User Management — Sign up new users, sign in existing ones, and retrieve detailed user profiles or link multiple accounts together.
- Session Control — Create, refresh, and revoke sessions (JWT or database-backed) to maintain tight security over user access.
- RBAC & Permissions — Create roles, define permissions, and assign them to users to manage authorization levels dynamically.
- User Metadata — Store and update custom JSON metadata for users to track preferences or application-specific data.
- Account Linking — Seamlessly link or unlink different recipe user IDs to a primary user identity.
The SuperTokens MCP Server exposes 18 tools through the Vinkius. Connect it to LlamaIndex in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 18 SuperTokens tools available for LlamaIndex
When LlamaIndex connects to SuperTokens through Vinkius, your AI agent gets direct access to every tool listed below — spanning authentication, session-management, rbac, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Assign role to user on SuperTokens
Assign a role to a user
Bulk import users on SuperTokens
Bulk import users
Create or update role on SuperTokens
Create or update a user role
Create or update tenant on SuperTokens
Create or update a tenant
Create session on SuperTokens
Create a new session for a user
Delete user metadata on SuperTokens
Delete metadata for a user
Get tenant on SuperTokens
Get tenant details
Get user on SuperTokens
Get user details by ID
Get user metadata on SuperTokens
Get metadata for a user
Link accounts on SuperTokens
Link two user accounts together
List roles on SuperTokens
List all roles
List user roles on SuperTokens
List roles assigned to a user
Refresh session on SuperTokens
Refresh an existing session
Remove session on SuperTokens
Remove/revoke a session
Signin user on SuperTokens
Sign in a user
Signup user on SuperTokens
Sign up a new user
Unlink accounts on SuperTokens
Unlink a user account
Update user metadata on SuperTokens
Update metadata for a user
Connect SuperTokens to LlamaIndex via MCP
Follow these steps to wire SuperTokens into LlamaIndex. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
pip install llama-index-tools-mcp llama-index-llms-openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.py and run: python agent.pyExplore tools
Why Use LlamaIndex with the SuperTokens MCP Server
LlamaIndex provides unique advantages when paired with SuperTokens through the Model Context Protocol.
Data-first architecture: LlamaIndex agents combine SuperTokens tool responses with indexed documents for comprehensive, grounded answers
Query pipeline framework lets you chain SuperTokens tool calls with transformations, filters, and re-rankers in a typed pipeline
Multi-source reasoning: agents can query SuperTokens, a vector store, and a SQL database in a single turn and synthesize results
Observability integrations show exactly what SuperTokens tools were called, what data was returned, and how it influenced the final answer
SuperTokens + LlamaIndex Use Cases
Practical scenarios where LlamaIndex combined with the SuperTokens MCP Server delivers measurable value.
Hybrid search: combine SuperTokens real-time data with embedded document indexes for answers that are both current and comprehensive
Data enrichment: query SuperTokens 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 SuperTokens for fresh data
Analytical workflows: chain SuperTokens queries with LlamaIndex's data connectors to build multi-source analytical reports
Example Prompts for SuperTokens in LlamaIndex
Ready-to-use prompts you can give your LlamaIndex agent to start working with SuperTokens immediately.
"Get details for user ID 'user-123'."
"Assign the 'editor' role to user 'user-456'."
"List all available roles in the system."
Troubleshooting SuperTokens MCP Server with LlamaIndex
Common issues when connecting SuperTokens to LlamaIndex through Vinkius, and how to resolve them.
BasicMCPClient not found
pip install llama-index-tools-mcpSuperTokens + LlamaIndex FAQ
Common questions about integrating SuperTokens 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?
Explore More MCP Servers
View all →
Belvo
12 toolsAccess financial data across Latin America via Belvo — list links, accounts, and transactions directly from any AI agent.

Zip
8 toolsManage BNPL checkouts, orders, and payments via the Zip (Quadpay) REST API.

Eventmix
12 toolsOrganize events with integrated registration, payment processing, and attendee communication for conferences and meetups.

Commerce7
12 toolsManage wine customers, orders, wine clubs, products, reservations, and inventory for your Commerce7 winery through natural conversation.
