4,000+ servers built on vurb.ts
Vinkius

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

MCP Inspector GDPR Free for Subscribers

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.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
python
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())
SuperTokens
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* 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

Assign role to user on SuperTokens

Assign a role to a user

bulk

Bulk import users on SuperTokens

Bulk import users

create

Create or update role on SuperTokens

Create or update a user role

create

Create or update tenant on SuperTokens

Create or update a tenant

create

Create session on SuperTokens

Create a new session for a user

delete

Delete user metadata on SuperTokens

Delete metadata for a user

get

Get tenant on SuperTokens

Get tenant details

get

Get user on SuperTokens

Get user details by ID

get

Get user metadata on SuperTokens

Get metadata for a user

link

Link accounts on SuperTokens

Link two user accounts together

list

List roles on SuperTokens

List all roles

list

List user roles on SuperTokens

List roles assigned to a user

refresh

Refresh session on SuperTokens

Refresh an existing session

remove

Remove session on SuperTokens

Remove/revoke a session

signin

Signin user on SuperTokens

Sign in a user

signup

Signup user on SuperTokens

Sign up a new user

unlink

Unlink accounts on SuperTokens

Unlink a user account

update

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.

01

Install dependencies

Run pip install llama-index-tools-mcp llama-index-llms-openai
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Run the agent

Save to agent.py and run: python agent.py
04

Explore tools

The agent discovers 18 tools from SuperTokens

Why Use LlamaIndex with the SuperTokens MCP Server

LlamaIndex provides unique advantages when paired with SuperTokens through the Model Context Protocol.

01

Data-first architecture: LlamaIndex agents combine SuperTokens tool responses with indexed documents for comprehensive, grounded answers

02

Query pipeline framework lets you chain SuperTokens tool calls with transformations, filters, and re-rankers in a typed pipeline

03

Multi-source reasoning: agents can query SuperTokens, a vector store, and a SQL database in a single turn and synthesize results

04

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.

01

Hybrid search: combine SuperTokens real-time data with embedded document indexes for answers that are both current and comprehensive

02

Data enrichment: query SuperTokens to augment indexed data with live information before generating user-facing responses

03

Knowledge base agents: build agents that maintain and update knowledge bases by periodically querying SuperTokens for fresh data

04

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.

01

"Get details for user ID 'user-123'."

02

"Assign the 'editor' role to user 'user-456'."

03

"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.

01

BasicMCPClient not found

Install: pip install llama-index-tools-mcp

SuperTokens + LlamaIndex FAQ

Common questions about integrating SuperTokens MCP Server with LlamaIndex.

01

How does LlamaIndex connect to MCP servers?

Use the MCP client adapter to create a connection. LlamaIndex discovers all tools and wraps them as query engine tools compatible with any LlamaIndex agent.
02

Can I combine MCP tools with vector stores?

Yes. LlamaIndex agents can query SuperTokens tools and vector store indexes in the same turn, combining real-time and embedded data for grounded responses.
03

Does LlamaIndex support async MCP calls?

Yes. LlamaIndex's async agent framework supports concurrent MCP tool calls for high-throughput data processing pipelines.

Explore More MCP Servers

View all →