Reflect MCP Server for Vercel AI SDK 10 tools — connect in under 2 minutes
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect Reflect through the Vinkius and every tool is available as a typed function — ready for React Server Components, API routes, or any Node.js backend.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token — get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using Reflect, list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
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 Reflect MCP Server
Connect your Reflect account securely to your AI agent via their developer API. This integration grants your AI the ability to directly explore your networked thought graph, lookup personal notes, manage book highlights, and append daily thoughts asynchronously from your conversation interface.
The Vercel AI SDK gives every Reflect tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 10 tools through the Vinkius and stream results progressively to React, Svelte, or Vue components — works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
What you can do
- Explore Your Graph — Direct your AI to investigate connected insights within your Reflect graphs (
list_graphs). Request lists of your notes (list_notes) or retrieve the specific Markdown content of a single note (get_note). - Capture Ideas Instantly — Ask the agent to establish new permanent notes (
create_note) or quickly dump conversational insights, summaries, and tasks straight into your daily note (append_daily_note). - Analyze Connections — Instruct the AI to map out your thoughts by retrieving all backlinks pointing to a specific subject (
get_backlinks). - Save Links & Books — Let your AI automatically bookmark URLs (
create_link), browse your saved bookmarks (list_links), or explore your imported library of book highlights (list_books).
The Reflect MCP Server exposes 10 tools through the Vinkius. Connect it to Vercel AI SDK 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 Reflect to Vercel AI SDK via MCP
Follow these steps to integrate the Reflect MCP Server with Vercel AI SDK.
Install dependencies
Run npm install @ai-sdk/mcp ai @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the script
Save to agent.ts and run with npx tsx agent.ts
Explore tools
The SDK discovers 10 tools from Reflect and passes them to the LLM
Why Use Vercel AI SDK with the Reflect MCP Server
Vercel AI SDK provides unique advantages when paired with Reflect through the Model Context Protocol.
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime — same Reflect integration everywhere
Built-in streaming UI primitives let you display Reflect tool results progressively in React, Svelte, or Vue components
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Reflect + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the Reflect MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query Reflect in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate Reflect tools and return structured JSON responses to any frontend
Chatbots with tool use: embed Reflect capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with Reflect through natural language queries
Reflect MCP Tools for Vercel AI SDK (10)
These 10 tools become available when you connect Reflect to Vercel AI SDK via MCP:
append_daily_note
Optionally specify a list/heading name. Appends Markdown text to today's daily note
create_link
Reflect will automatically attempt to extract metadata. Saves a new web link/bookmark to a Reflect graph
create_note
Specify subject and Markdown content. Creates a new note in a Reflect graph
get_backlinks
Retrieves all notes that link to a specific note
get_current_user
Retrieves profile details for the authenticated Reflect user
get_note
Retrieves the full content and metadata of a Reflect note
list_books
Lists all books saved or imported into Reflect
list_graphs
Lists all Reflect graphs (workspaces) accessible by the user
list_links
Lists all saved links (bookmarks) in a graph
list_notes
Lists all notes within a specific Reflect graph
Example Prompts for Reflect in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with Reflect immediately.
"List all available graphs in my Reflect account."
"Create a permanent note titled 'Meeting 2024 Strategy' inside my 'Personal Brain' graph with summary bullet points."
"Find notes linked by backlinks that point to my note 'React Learnings'."
Troubleshooting Reflect MCP Server with Vercel AI SDK
Common issues when connecting Reflect to Vercel AI SDK through the Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpReflect + Vercel AI SDK FAQ
Common questions about integrating Reflect MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Connect Reflect 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 Reflect to Vercel AI SDK
Get your token, paste the configuration, and start using 10 tools in under 2 minutes. No API key management needed.
