Letter to God MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Letter to God MCP Server
A Model Context Protocol (MCP) server that provides personalized Bible guidance and mentorship through AI integration with OpenAI's ChatGPT.
Features
Personalized Bible Guidance: Get customized spiritual guidance based on your name and current feelings
Three Scripture Selection: AI finds three relevant Bible scriptures for your situation
Personalized Letter from God: Receive a full-length letter written as if from God Almighty
Biblical Stories & Parables: Includes relevant stories and explanations for each scripture
Actionable Advice: Provides practical activities and actions to help cope and overcome problems
Multiple Access Methods: CLI interface and MCP server integration
Beautiful Terminal Output: Colored, formatted responses for easy reading
Related MCP server: iMessage Max
Quick Start
✅ Option 1: Install Globally OR Use Instantly via NPX (No Install Required)
npm install -g letter-to-god-mcp-serverOR
# Install dependencies
npm npx letter-to-god-mcp-serverSet your API key:
You must provide your OpenAI API key for the tool to work.
• Option A: Set environment variable
export OPENAI_API_KEY="your-api-key-here"• Option B: Create .env file in current directory
echo "OPENAI_API_KEY=your-api-key-here" > .envPlace this .env file in the same directory where you run the command.
Option 2: Command Line Interface (Immediate Use)
The fastest way to get Bible guidance:
# Install dependencies
npm install
# Get guidance directly from command line
node cli.js --name "John" --feeling "anxious about my future"
node cli.js --name "Sarah" --feeling "struggling with forgiveness"
node cli.js -n "David" -f "feeling lost and confused"
# See all options
node cli.js --helpOption 3: MCP Server (For Integration)
Run as an MCP server for integration with MCP clients:
node index.jsUsage
The server provides one main tool:
getBibleGuidance
Parameters:
name(string, required): Your namefeeling(string, required): What you are feeling today or the problem you're facing
Example Usage: When connected to an MCP client, you can call:
getBibleGuidance({
name: "John",
feeling: "anxious about my future and feeling lost"
})Response:
The AI will act as God Almighty and provide:
Three relevant Bible scriptures
A personalized letter with explanations
Biblical stories and parables
Practical actions and activities
All formatted as a direct message from God
Output
The server provides two types of output:
Terminal Display: Full response is logged to the console with clear formatting
MCP Response: Structured response returned to the MCP client
Technical Details
Model: Uses GPT-4 for high-quality responses
Max Tokens: 2000 tokens for comprehensive guidance
Temperature: 0.7 for balanced creativity and consistency
System Prompt: Configured to act as God Almighty with Biblical expertise
Example Terminal Output
=== Processing Bible guidance request ===
Name: John
Feeling: anxious about my future
Timestamp: 2025-01-20T14:45:00.000Z
==========================================
Sending request to OpenAI...
=== BIBLE GUIDANCE RESPONSE ===
My beloved child John,
I see your heart heavy with anxiety about your future...
[Full AI response with scriptures, stories, and guidance]
===============================MCP Client Integration Guide
A. Using with Cline (VSCode Extension)
Install Cline Extension in VSCode
Configure MCP Server:
Open Cline settings
Add MCP server configuration:
{ "mcpServers": { "bible-expert": { "command": "node", "args": ["/path/to/your/project/index.js"], "cwd": "/path/to/your/project" } } }Use in Cline:
Start a conversation with Cline
Ask: "Use the getBibleGuidance tool with name 'John' and feeling 'anxious about my future'"
Cline will call your MCP server and display the Bible guidance
B. Using with Claude Desktop
Locate Configuration File:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add Server Configuration:
{ "mcpServers": { "bible-expert": { "command": "node", "args": ["/absolute/path/to/your/project/index.js"], "cwd": "/absolute/path/to/your/project" } } }Restart Claude Desktop
Use in Conversations:
Can you use the getBibleGuidance tool to help me? My name is Sarah and I'm feeling overwhelmed with work stress.
C. Using with Other MCP Clients
Generic Configuration:
Server Command:
node index.jsWorking Directory: Your project directory
Transport: stdio
Tool Name:
getBibleGuidanceRequired Parameters:
name(string),feeling(string)
D. Manual MCP Testing
Test with MCP Inspector (if available):
# Install MCP inspector
npm install -g @modelcontextprotocol/inspector
# Run inspector
mcp-inspector node index.jsDirect stdio communication:
# Start server
node index.js
# Send JSON-RPC messages (example)
{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}
{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "getBibleGuidance", "arguments": {"name": "John", "feeling": "anxious"}}}Troubleshooting
Common Issues
"API key not configured":
Check your
.envfile has the correct OpenAI API keyEnsure the key starts with
sk-
"Server not connecting":
Verify the path to
index.jsis correct in your MCP client configCheck that Node.js is installed and accessible
Ensure all dependencies are installed (
npm install)
"Tool not found":
Restart your MCP client after configuration changes
Verify the server is running without errors
Check the tool name is exactly
getBibleGuidance
"No response from OpenAI":
Check your internet connection
Verify your OpenAI API key has sufficient credits
Check OpenAI service status
Debug Mode
Run the server with debug output:
DEBUG=* node index.jsTesting Connection
Use the test script to verify everything works:
node test-server.jsError Handling
The server includes comprehensive error handling for:
OpenAI API failures
Missing API keys
Network issues
Invalid responses
MCP protocol errors
All errors are logged to the console and returned as structured responses to the MCP client.
Package Scripts
Add these to your package.json for convenience:
{
"scripts": {
"start": "node index.js",
"cli": "node cli.js",
"test": "node test-server.js",
"build": "npx tsc"
}
}Then use:
npm start # Start MCP server
npm run cli -- --name "John" --feeling "anxious" # CLI usage
npm test # Test server
npm run build # Compile TypeScriptTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Send personalized greetings to anyone. Enable Pirate Mode for swashbuckling salutations. Explore t…
Create personalized greetings by name in the tone you choose. Get quick suggestions for friendly i…
User-authorized access to a LuckMeAI life book, journal, memories, relationships, and charts.
Send friendly, personalized greetings on demand. Generate quick salutations with a simple prompt.…
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables natural language interaction with Gmail, providing email search, categorized daily summaries, and Home Assistant integration through REST API with read-only access to your inbox.20MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to read, search, and send iMessages with features like contact name resolution, session grouping, and attachment listing. It provides intent-aligned tools to efficiently navigate conversation history and manage messages through natural language queries.7MIT
- AlicenseAqualityDmaintenanceConnects AI assistants to the official Meta WhatsApp Cloud API for managing conversations and sending various message types through natural language. It provides tools for media management, template messages, and real-time webhook processing without the risk of account bans.1827MIT
- AlicenseNot gradedqualityBmaintenanceEnables reading, searching, sending, and organizing email plus managing calendar events and finding free slots across multiple IMAP/SMTP/CalDAV accounts, letting users work with any RFC-compliant mailbox or their own self-hosted server through natural language.354 npmMIT