IFTTT MCP Proxy
Provides a local proxy to interact with IFTTT's MCP server, enabling AI agents to trigger applets and access IFTTT services through the MCP protocol.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@IFTTT MCP Proxylist my applets"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
IFTTT MCP Proxy
A local stdio MCP server that bridges IFTTT's remote MCP endpoint to any MCP client that only supports the stdio transport (e.g., Amazon Quick, Claude Desktop, Cursor, etc.).
The Problem
IFTTT exposes a remote MCP server at https://ifttt.com/mcp using:
OAuth 2.1 with PKCE for authentication
Streamable HTTP transport with SSE (Server-Sent Events) for streaming responses
Many MCP clients (including Amazon Quick and Claude Desktop) only support stdio transport — they launch a local process and communicate via stdin/stdout. They cannot directly connect to remote HTTP MCP servers that require OAuth redirect flows.
Related MCP server: Remote MCP Server on Cloudflare
The Solution
This proxy runs as a local Node.js process that:
Handles OAuth 2.1 + PKCE — one-time browser-based authentication flow with automatic token refresh
Bridges stdio ↔ HTTP — reads JSON-RPC messages from stdin, forwards them to IFTTT's remote endpoint, and writes responses to stdout
Handles SSE streaming — IFTTT responds to tool calls with HTTP 202 + SSE streams; the proxy keeps the connection open and collects the full response before writing it to stdout
Transforms responses — IFTTT returns data in
structuredContentwhile standard MCP clients expect it incontent[]; the proxy normalizes this automaticallyAuto-refreshes tokens — detects expired tokens and uses the refresh token to obtain new access tokens transparently
Architecture
┌─────────────┐ stdio ┌──────────────────┐ HTTPS/SSE ┌─────────────┐
│ MCP Client │ ──stdin/stdout──│ ifttt-mcp-proxy │ ───────────────│ ifttt.com/ │
│ (e.g. │ │ │ │ mcp │
│ Amazon │ │ • OAuth token │ │ │
│ Quick) │ │ • SSE handling │ │ (Remote │
│ │ │ • Response │ │ MCP │
│ │ │ transform │ │ Server) │
└─────────────┘ └──────────────────┘ └─────────────┘Installation
git clone https://github.com/maishsk/ifttt-mcp-proxy.git
cd ifttt-mcp-proxyNo dependencies required — uses only Node.js built-in modules (http, https, crypto, fs, path, url, child_process).
Requirements: Node.js 18+
Usage
1. Authenticate (one-time)
node index.js --authThis opens your browser for the IFTTT OAuth flow. After authorizing, the token is saved to ~/.quickwork/ifttt-token.json (with 0600 permissions).
2. Check Token Status
node index.js --statusShows whether your token is valid, when it was obtained, and when it expires.
3. Run as MCP Proxy
node index.jsStarts in stdio mode — reads JSON-RPC from stdin, proxies to IFTTT, writes responses to stdout. Diagnostic logs go to stderr.
4. Configure in Your MCP Client
Add to your MCP client configuration:
{
"mcpServers": {
"ifttt": {
"command": "node",
"args": ["/path/to/ifttt-mcp-proxy/index.js"]
}
}
}Or use the included wrapper script that handles first-run auth automatically:
{
"mcpServers": {
"ifttt": {
"command": "bash",
"args": ["/path/to/ifttt-mcp-proxy/start.sh"]
}
}
}How It Works
OAuth 2.1 + PKCE Flow
Generates a PKCE code verifier/challenge pair
Opens browser to
https://ifttt.com/oauth/authorizewith the challengeSpins up a temporary HTTP server on
localhost:3118to receive the callbackExchanges the authorization code for an access token + refresh token
Saves tokens to
~/.quickwork/ifttt-token.json
Streamable HTTP + SSE Handling
IFTTT's MCP server uses the Streamable HTTP MCP transport:
Simple requests (like
initialize,tools/list) return direct JSON responsesTool calls (
tools/call) may return HTTP 200/202 withContent-Type: text/event-streamThe SSE stream contains
data:lines with the actual JSON-RPC response
The proxy handles all three response types:
Direct JSON (200 +
application/json) → parsed and forwardedSSE stream (200/202 +
text/event-stream) → collected until stream ends, events parsed and forwardedError responses (4xx/5xx) → converted to JSON-RPC error objects
Response Transformation
IFTTT puts tool results in a non-standard structuredContent field while leaving the standard content array empty. The proxy detects this and moves the data into content[{type: "text", text: ...}] for compatibility.
Token Auto-Refresh
On every request, the proxy checks token expiry (with a 60-second buffer). If expired, it uses the refresh token to obtain a new access token before proceeding. If a request returns HTTP 401, it attempts a refresh and retries once.
Files
File | Description |
| Main proxy server (OAuth + stdio proxy) |
| Package metadata |
| Wrapper script with auto-auth on first run |
Token Storage
Tokens are stored at ~/.quickwork/ifttt-token.json with file permissions 0600 (owner read/write only). The file contains:
access_token— Bearer token for IFTTT APIrefresh_token— Used to obtain new access tokensexpires_in— Token lifetime in secondsobtained_at— Timestamp when the token was obtained
Troubleshooting
"No token found"
Run node index.js --auth to complete the OAuth flow.
"Token refresh failed"
Your refresh token may have been revoked. Re-run node index.js --auth.
Empty responses from tool calls
This usually means the SSE stream wasn't properly consumed. Check stderr logs for details. The proxy handles the common IFTTT pattern of 202 + SSE.
Port 3118 in use
The OAuth callback uses port 3118. If it's occupied, kill the process using it or wait for it to release.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/maishsk/ifttt-mcp-proxy'
If you have feedback or need assistance with the MCP directory API, please join our Discord server