4,500+ servers built on MCP Fusion
Vinkius
Bible API logo
Vinkius
Mastra AI logo

How to Use the Bible API MCP in Mastra AI

Build automated scripture research workflows with Mastra AI and the Bible API.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Bible API MCP on Cursor AI Code Editor MCP Client Bible API MCP on Claude Desktop App MCP Integration Bible API MCP on OpenAI Agents SDK MCP Compatible Bible API MCP on Visual Studio Code MCP Extension Client Bible API MCP on GitHub Copilot AI Agent MCP Integration Bible API MCP on Google Gemini AI MCP Integration Bible API MCP on Lovable AI Development MCP Client Bible API MCP on Mistral AI Agents MCP Compatible Bible API MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Mastra AI

Connect Bible API MCP to Mastra AI

Create your Vinkius account to connect Bible API to Mastra AI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Mastra AI agent workflow automation

Chain `search_bible_text` with other agent tasks to build multi-step research pipelines. If a search fails to return specific keywords, your Mastra workflow can trigger a retry or pivot to a broader lookup. Handle the results as typed objects within your agent logic. It keeps your code clean while the server manages the heavy lifting of parsing scripture.

Conditional scripture retrieval in Mastra AI

Use `get_bible_chapter` inside your agent's conditional branches. You can set up logic that fetches specific chapters only when certain topics appear in the conversation history. This makes your agents reactive to user input. It avoids unnecessary data overhead by only pulling what is required for the current task.

Bible API cataloging in Mastra AI

Automate your version management using `list_bibles` and `list_bible_books`. Your agents can verify which versions are available before starting a translation or study task. It ensures your workflow remains synchronized with the current library state. You won't run into errors from missing books or invalid version IDs.

Setup guide

Set up Bible API MCP in Mastra AI

Prerequisites

  • Node.js 18+ and a TypeScript project
  • @mastra/mcp + @mastra/core packages
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install dependencies

    Run npm install @mastra/mcp @mastra/core plus your preferred model provider (e.g. @ai-sdk/openai).

  2. 2

    Configure the MCPClient

    Create an MCPClient with your Vinkius endpoint as a URL object. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com.

  3. 3

    Discover and inject tools

    Call mcpClient.listTools() and spread the result into your agent's tools object. All Bible API tools become native Mastra tools.

  4. 4

    Run with any model

    Swap openai("gpt-4o") for any AI SDK-compatible provider. Call agent.generate() and the agent routes tool calls through MCP automatically.

agent.ts
import { MCPClient } from "@mastra/mcp";
import { Agent } from "@mastra/core/agent";
import { openai } from "@ai-sdk/openai";

const mcpClient = new MCPClient({
  id: "bible-api-mcp-client",
  servers: {
    "bible-api-mcp": {
      url: new URL(
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
      ),
    },
  },
});

const agent = new Agent({
  name: "Bible API Agent",
  model: openai("gpt-4o"),
  instructions: "You have access to Bible API tools.",
  tools: {
    ...(await mcpClient.listTools()),
  },
});

const result = await agent.generate(
  "List recent Bible API transactions"
);
console.log(result.text);

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Bible API. 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 Bible API MCP in Mastra AI

Absolutely. You can include `get_bible_verse` in your agent's tool set to pull data automatically during a workflow.
The text returned by the server is passed directly into your agent's context. Your workflow can then process or summarize that information.
You can configure your Mastra workflows to retry tool calls if the connection drops. The MCP protocol handles the underlying communication.
You can selectively expose only the tools you need. This keeps your agent focused on specific scripture tasks.
Your agent's interaction logs contain only the scripture references you explicitly request. We treat these strings as transient operational data.

Start using the Bible API MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 6 tools

We've already built the connector for Bible API. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 6 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.