How to Use the Little Green Light MCP in Vercel AI SDK
Populate donor profiles and gift records live in your React frontend using Vercel AI SDK and this MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Little Green Light MCP to Vercel AI SDK
Create your Vinkius account to connect Little Green Light to Vercel AI SDK and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Stream donor creations to your Vercel AI SDK UI
The `create_new_donor` tool lets your agent instantly add a constituent to your database when a user inputs details in your Vercel AI SDK app. Because the SDK supports direct UI streaming, your users watch the new profile render on screen as the API processes the request, cutting out traditional loading states. It's easy to pair this with `list_donor_constituents` to refresh the active donor list on the fly. The Vercel AI SDK handles the edge-compatible connection to the MCP Server, keeping your nonprofit dashboard fast and reactive without complex state management.
Render gift history without spinners
The `list_donation_gifts` tool fetches recorded donations and passes them straight to the Vercel AI SDK UI components. This means your fundraisers see a live-updating ledger of contributions directly inside their chat interface instead of waiting for a full page reload. If they need deeper insights, the agent can call `get_gift_details` to pull specific transaction records. Your React front-end receives these updates immediately, making donor database audits feel like a fast, conversational search.
Track live campaign and appeal performance
The `list_fundraising_appeals` tool exposes active marketing efforts directly to your Vercel AI SDK client. Your team can ask the interface which appeals are active, and the agent returns real-time lists by querying the Little Green Light API. Combining this with `list_fundraising_campaigns` lets the agent compare campaign targets with current numbers. Since Vercel AI SDK operates on the edge, these queries execute right next to your database, minimizing latency.
Set up Little Green Light MCP in Vercel AI SDK
Prerequisites
- Node.js 18+ and a TypeScript project
-
ai+@modelcontextprotocol/sdkpackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
npm install ai @modelcontextprotocol/sdkplus your preferred model provider (e.g.@ai-sdk/openai). - 2
Create the Streamable HTTP transport
Use
StreamableHTTPClientTransportwith your Vinkius endpoint URL. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Discover and use tools
Call
mcpClient.tools()to auto-discover all Little Green Light tools. Pass them directly togenerateText()orstreamText()— no manual schema definitions needed. - 4
Works with any model provider
Swap
openai("gpt-4o")for any AI SDK provider — Anthropic, Google, Mistral. The MCP tools work identically across all supported models.
import { experimental_createMCPClient as createMCPClient } from "ai";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
const transport = new StreamableHTTPClientTransport(
new URL("https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
);
const mcpClient = await createMCPClient({ transport });
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "List recent Little Green Light transactions",
});
console.log(text);
await mcpClient.close(); Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Little Green Light. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Little Green Light MCP in Vercel AI SDK
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Little Green Light MCP today
We host it, we monitor it, we maintain it. You just paste one token.