- ๐ MCPCFC - ColdFusion MCP Server
๐ MCPCFC - ColdFusion MCP Server
๐ MCPCFC - ColdFusion MCP Server
-Bring AI Superpowers to Your ColdFusion Applications
The world's first Model Context Protocol (MCP) server for ColdFusion!
Get Started โ | View Demo | Documentation
๐ NEW: Version 1.0.3 - All 8 tools working perfectly with Claude Desktop! See what's new โ
๐ What is MCPCFC?
MCPCFC enables ColdFusion applications to serve as tool providers for AI assistants like Claude, ChatGPT, and other LLMs through the standardized Model Context Protocol.
In simple terms: Your ColdFusion apps can now talk to AI, and AI can use your CF tools!
๐ฏ Perfect For
- Government Agencies - Modernize legacy CF systems with AI capabilities
- Enterprise Teams - Add AI features without replacing existing infrastructure
- CF Developers - Build the next generation of intelligent applications
- Digital Transformation - Bridge the gap between legacy and cutting-edge tech
โก Features at a Glance
๐ ๏ธ 8 Production-Ready Tools
โ
PDF Operations - Generate, extract text, and merge PDFs
โ
Email Automation - Send HTML/plain emails, validate addresses
โ
Database Queries - Natural language database interactions
โ
Extensible Design - Easy to add your own tools
๐ง Technical Excellence
โ
JSON-RPC 2.0 Protocol - Industry-standard communication
โ
Real-time SSE Support - Live updates and streaming
โ
Thread-Safe Design - Production-ready architecture
โ
Claude Desktop Ready - Works out of the box
๐ Quick Start
Option 1: Browser Testing (5 minutes)
# Clone the repository
git clone https://github.com/revsmoke/mcpcfc.git
# Place in your ColdFusion webroot
# Navigate to http://localhost:8500/mcpcfc/
# Open the test client and start using AI tools!
Option 2: Claude Desktop Integration (10 minutes)
-
Install MCPCFC in your CF webroot
-
Make bridge executable:
chmod +x cf-mcp-clean-bridge.sh -
Add to Claude Desktop config:
{ "mcpServers": { "coldfusion-mcp": { "command": "/path/to/mcpcfc/cf-mcp-clean-bridge.sh" } } } -
Restart Claude Desktop - Your CF tools are now available!
๐ฌ See It In Action
Working Tools Demo
๐ค Claude: "Generate a PDF invoice for customer John Doe"
๐ MCPCFC: *Creates PDF with CF's built-in PDF tools*
๐ค Claude: "Email it to john@example.com"
๐ง MCPCFC: *Sends email with the PDF attached*
๐ค Claude: "Show me all customers from the database"
๐๏ธ MCPCFC: *Queries your CF datasource and returns results*
Live Example
// Your existing CF code
component {
function generateReport(customerId) {
// Your business logic here
}
}
// Now accessible to AI assistants!
// Claude can call: "Generate a report for customer 123"
๐ Why MCPCFC?
| Challenge | MCPCFC Solution |
|---|---|
| Legacy CF systems can't use modern AI | โ Bridge CF to any AI assistant |
| Complex integration requirements | โ Drop-in solution, minimal setup |
| Security concerns | โ Built-in controls and query limits |
| Limited CF community tools | โ Open source and extensible |
๐๏ธ Architecture
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ
โ Claude โโโโโโถโ MCPCFC โโโโโโถโ Your CF App โ
โ Desktop โโโโโโโ MCP Server โโโโโโโ & Tools โ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ
โ โ โ
AI Assistant JSON-RPC 2.0 PDF, Email,
+ SSE Transport Database
Directory Structure
/mcpcfc/
โโโ Application.cfc # Application configuration
โโโ /components/ # Core MCP components
โโโ /endpoints/ # HTTP/SSE endpoints
โโโ /tools/ # Tool implementations
โโโ /client-examples/ # Test clients
โโโ cf-mcp-clean-bridge.sh # Claude Desktop bridge
โโโ README.md # You are here!
๐ง Available Tools
Current Tools (v1.0.3)
| Tool | Description | Status |
|---|---|---|
| hello | Simple greeting tool | โ Working |
| queryDatabase | Execute SELECT queries | โ Working |
| generatePDF | Create PDFs from HTML | โ Working |
| extractPDFText | Extract text from PDFs | โ Working |
| mergePDFs | Combine multiple PDFs | โ Working |
| sendEmail | Send plain text emails | โ Working |
| sendHTMLEmail | Send HTML emails | โ Working |
| validateEmailAddress | Validate email format | โ Working |
Adding Custom Tools
// 1. Register in Application.cfc
application.toolRegistry.registerTool("myTool", {
"description": "My custom tool",
"inputSchema": {
"type": "object",
"properties": {
"param1": {"type": "string"}
}
}
});
// 2. Implement in ToolHandler.cfc
case "myTool":
return executeMyTool(arguments.args);
๐ก๏ธ Security & Configuration
Database Security
- Only SELECT queries allowed by default
- Parameterized queries prevent SQL injection
- Configure datasources in your tool implementations
Recommended Settings
- Add authentication layer
- Implement rate limiting
- Use environment variables for sensitive data
- Enable audit logging
๐ค Contributing
We need your help to make MCPCFC even better!
How to Contribute
- Star the repo - Help others discover MCPCFC
- Report issues - Found a bug? Let us know!
- Submit PRs - Add features or fix issues
- Share your use cases - Tell us how you're using it
- Write documentation - Help others get started
Roadmap
- Authentication providers (OAuth, SAML)
- More tool templates (Excel, FTP, SOAP)
- WebSocket transport option
- Docker container support
- Tool marketplace
๐ Resources
- Quick Start Guide - Get running in minutes
- API Documentation - Detailed API reference
- Troubleshooting - Common issues and solutions
- Examples - Sample implementations
Community
- GitHub Discussions - Ask questions, share ideas
- Issues - Report bugs or request features
- Email: hello@mcpcfc.dev
๐ Acknowledgments
- Anthropic - For creating the Model Context Protocol
- The ColdFusion Community - For keeping CF alive and thriving
- Early Adopters - For testing and providing feedback
- You - For being part of this journey!
๐ License
MCPCFC is open source software licensed under the MIT License.
๐ Ready to Get Started?
Download MCPCFC | View on GitHub | Read the Docs
Show Your Support
If MCPCFC helps your project, please consider:
- โญ Starring the repository
- ๐ข Sharing with your network
- ๐ค Contributing to the project
CFLOVE
-Made with โค๏ธ for the ColdFusion community
๐ mcpcfc.dev | ๐ง hello@mcpcfc.dev