Sponsored by Deepsite.site

๐Ÿš€ MCPCFC - ColdFusion MCP Server

Created By
revsmoke7 months ago
A Remote Model Context Protocol (MCP) server for ColdFusion, enabling CFML applications to connect with Claude and other AI assistants.
Content

๐Ÿš€ MCPCFC - ColdFusion MCP Server

-Bring AI Superpowers to Your ColdFusion Applications

The world's first Model Context Protocol (MCP) server for ColdFusion!

License: MIT ColdFusion 2016+ Lucee 5+ Status: Working Claude Desktop: Working

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)

  1. Install MCPCFC in your CF webroot

  2. Make bridge executable: chmod +x cf-mcp-clean-bridge.sh

  3. Add to Claude Desktop config:

    {
    "mcpServers": {
       "coldfusion-mcp": {
          "command": "/path/to/mcpcfc/cf-mcp-clean-bridge.sh"
       }
    }
    }
    
  4. Restart Claude Desktop - Your CF tools are now available!

๐Ÿ“š Full Setup Guide โ†’


๐ŸŽฌ 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?

ChallengeMCPCFC 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)

ToolDescriptionStatus
helloSimple greeting toolโœ… Working
queryDatabaseExecute SELECT queriesโœ… Working
generatePDFCreate PDFs from HTMLโœ… Working
extractPDFTextExtract text from PDFsโœ… Working
mergePDFsCombine multiple PDFsโœ… Working
sendEmailSend plain text emailsโœ… Working
sendHTMLEmailSend HTML emailsโœ… Working
validateEmailAddressValidate 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
  • 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

  1. Star the repo - Help others discover MCPCFC
  2. Report issues - Found a bug? Let us know!
  3. Submit PRs - Add features or fix issues
  4. Share your use cases - Tell us how you're using it
  5. Write documentation - Help others get started

Contributing Guide โ†’

Roadmap

  • Authentication providers (OAuth, SAML)
  • More tool templates (Excel, FTP, SOAP)
  • WebSocket transport option
  • Docker container support
  • Tool marketplace

๐Ÿ“š Resources

Community


๐Ÿ™ 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

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
ChatWiseThe second fastest AI chatbotโ„ข
Amap Maps้ซ˜ๅพทๅœฐๅ›พๅฎ˜ๆ–น MCP Server
CursorThe AI Code Editor
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Baidu Map็™พๅบฆๅœฐๅ›พๆ ธๅฟƒAPI็Žฐๅทฒๅ…จ้ขๅ…ผๅฎนMCPๅ่ฎฎ๏ผŒๆ˜ฏๅ›ฝๅ†…้ฆ–ๅฎถๅ…ผๅฎนMCPๅ่ฎฎ็š„ๅœฐๅ›พๆœๅŠกๅ•†ใ€‚
Howtocook McpๅŸบไบŽAnduin2017 / HowToCook ๏ผˆ็จ‹ๅบๅ‘˜ๅœจๅฎถๅš้ฅญๆŒ‡ๅ—๏ผ‰็š„mcp server๏ผŒๅธฎไฝ ๆŽจ่่œ่ฐฑใ€่ง„ๅˆ’่†ณ้ฃŸ๏ผŒ่งฃๅ†ณโ€œไปŠๅคฉๅƒไป€ไนˆโ€œ็š„ไธ–็บช้šพ้ข˜๏ผ› Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Tavily Mcp
Serper MCP ServerA Serper MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
DeepChatYour AI Partner on Desktop
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server