Overview
What is COMPLiQ MCP Server on Cloudflare?
COMPLiQ MCP Server on Cloudflare is a Model Context Protocol (MCP) server deployed on Cloudflare Workers that enables AI assistants to interact with the COMPLiQ platform. It provides MCP tools for submitting prompts, attaching files, and sending intermediate and final results to COMPLiQ, a platform that logs AI interactions.
How to use COMPLiQ MCP Server on Cloudflare?
Clone the repository, configure your COMPLIQ_API_KEY using npx wrangler secret put COMPLIQ_API_KEY, then deploy with npm run deploy. Once deployed, connect an MCP client (e.g., Claude Desktop) by adding a configuration with the command npx mcp-remote and the server URL https://compliq-mcp-server.<your-account>.workers.dev/sse.
Features of COMPLiQ MCP Server on Cloudflare
- Submit prompts/requests to COMPLiQ using the
inputPrompttool. - Attach files to a request with the
addFiletool. - Send intermediate processing results via
intermediateResults. - Submit the final processing result with
processingResult. - Runs as a serverless worker on Cloudflare Workers.
- Uses SSE transport for MCP connectivity.
Use cases of COMPLiQ MCP Server on Cloudflare
- Log user prompts and AI responses for auditing or observability.
- Attach supporting documents (e.g., PDFs, images) to a conversation record.
- Stream intermediate progress from a long-running AI pipeline.
- Record the final answer produced by an AI assistant against the original request.
FAQ from COMPLiQ MCP Server on Cloudflare
What MCP tools does the server provide?
The server provides four tools: inputPrompt (mandatory), addFile (optional), intermediateResults (optional), and processingResult (mandatory). They correspond directly to COMPLiQ API endpoints.
How do I configure the API key?
Set your COMPLiQ API key as a Cloudflare Worker secret using npx wrangler secret put COMPLIQ_API_KEY before deployment. The key is required for all API calls.
What COMPLiQ API endpoints does the server use?
The server uses four endpoints: https://ai-stage-be.compliq.io/v1/actions/task-input, /file-input, /resources-used, and /output.
How does an MCP client connect to this server?
After deployment, configure your MCP client with the command npx mcp-remote and the argument https://compliq-mcp-server.<your-account>.workers.dev/sse. The server communicates via SSE transport.
What are the mandatory and optional steps in a COMPLiQ interaction?
inputPrompt and processingResult are mandatory; addFile and intermediateResults are optional. You must always start with inputPrompt and end with processingResult.