# MCP Config Generator (Apify Actor → Claude / Cursor) (`gochujang/mcp-config-generator`) Actor

Given any Apify actor ID, generates ready-to-paste Model Context Protocol (MCP) server configs for Claude Desktop, Claude Code, and Cursor. Wraps the actor as a tool Claude can call directly. $0.005 per config.

- **URL**: https://apify.com/gochujang/mcp-config-generator.md
- **Developed by:** [Hojun Lee](https://apify.com/gochujang) (community)
- **Categories:** Developer tools, Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## MCP Config Generator

> Given any Apify actor ID, generates ready-to-paste **Model Context Protocol (MCP)** server configs for **Claude Desktop, Claude Code, and Cursor**. Wraps the actor as a tool Claude can call directly. **$0.005 per config.**

---

### Why this exists

[Model Context Protocol (MCP)](https://modelcontextprotocol.io) is the open standard for letting LLM clients (Claude Desktop, Claude Code, Cursor) call external tools. Apify has [@apify/actors-mcp-server](https://www.npmjs.com/package/@apify/actors-mcp-server) — but figuring out the exact config snippet for each client is tedious.

This actor takes an actor ID (or handle) and **emits the JSON config block** you paste into:
- Claude Desktop: `~/Library/Application Support/Claude/claude_desktop_config.json`
- Claude Code: `~/.claude/config.json`
- Cursor: Settings > MCP

Now any of those clients can directly call the actor — Claude will pick it up as a tool, formulate the input, and surface the result.

---

### What you get

```json
{
  "actor_id": "gochujang~smart-money-tracker",
  "title": "Smart Money Wallet Tracker (Free Nansen Alt, Multi-Chain)",
  "name": "smart-money-tracker",
  "username": "gochujang",
  "is_public": true,
  "claude_desktop_config": {
    "mcpServers": {
      "apify-smart-money-tracker": {
        "command": "npx",
        "args": ["-y", "@apify/actors-mcp-server", "--actors", "gochujang~smart-money-tracker"],
        "env": {"APIFY_TOKEN": "APIFY_TOKEN_HERE"}
      }
    }
  },
  "claude_code_config": { ... },
  "cursor_config": { ... },
  "tool_card": {
    "tool_name": "apify_smart_money_tracker",
    "title": "...",
    "description": "...",
    "handle": "gochujang~smart-money-tracker",
    "store_url": "https://apify.com/gochujang/smart-money-tracker"
  },
  "install_instructions": [
    "1. Get an Apify token at https://console.apify.com/account/integrations",
    "2. Replace APIFY_TOKEN_HERE with your token in the config below",
    "3. Paste into your MCP client config file",
    "4. Restart your client",
    "5. Claude will now be able to call this actor as a tool"
  ]
}
````

The full Claude Desktop config is also saved as `claude_desktop_config.json` in the run's key-value store.

***

### Quick start

#### By handle (recommended)

```json
{
  "actorId": "gochujang~smart-money-tracker"
}
```

#### By internal ID

```json
{
  "actorId": "UOl6ZDRUqwzUJ7uSB"
}
```

#### Username + name parts

```json
{
  "username": "gochujang",
  "name": "smart-money-tracker"
}
```

#### Resolve a private actor (requires your token)

```json
{
  "actorId": "your-username~your-actor",
  "apifyToken": "apify_api_..."
}
```

***

### Use cases

1. **Wrap any Apify actor as a Claude tool** — Hook the entire Apify Store into Claude
2. **Onboarding** — Give clients a one-paste config to start using your actors
3. **Cursor integration** — Let Cursor IDE call data-gathering actors during code generation
4. **MCP marketplace pre-baked configs** — Ship ready-to-install MCP packages

***

### Pricing

**Pay-Per-Event**: `$0.005 per config generated.`

***

### How to install the generated config

After getting the output:

1. Copy the `claude_desktop_config` JSON block
2. Open `~/Library/Application Support/Claude/claude_desktop_config.json`
3. Merge (or replace) the `mcpServers` section
4. Replace `APIFY_TOKEN_HERE` with your real token (get one [here](https://console.apify.com/account/integrations))
5. Restart Claude Desktop
6. The actor will appear as a tool — try asking Claude to use it

For **Claude Code**, you can also run:

```bash
claude mcp add apify-smart-money-tracker -e APIFY_TOKEN=your-token -- npx -y @apify/actors-mcp-server --actors gochujang~smart-money-tracker
```

***

### Related actors (same author)

This actor is meta-tooling: it makes our other 50+ actors callable from Claude. Pair with any of them.

- [Smart Money Wallet Tracker](https://apify.com/gochujang/smart-money-tracker) — most popular target
- [Crypto Alpha Dashboard](https://apify.com/gochujang/crypto-alpha-dashboard) — 1-call macro briefing
- [Article Summarizer](https://apify.com/gochujang/article-summarizer)
- [Web Structured Data Extractor](https://apify.com/gochujang/web-structured-extractor)

***

### Feedback

A short review helps Claude/Cursor users find it: [Leave a review on Apify Store](https://apify.com/gochujang/mcp-config-generator#reviews)

# Actor input Schema

## `actorId` (type: `string`):

Apify actor ID (UpperCaseChars) OR handle 'username~actor-name'.

## `username` (type: `string`):

If 'actorId' is empty, combine 'username' + 'name'.

## `name` (type: `string`):

Used with 'username'.

## `apifyToken` (type: `string`):

Required only to resolve private actors.

## `apifyTokenPlaceholder` (type: `string`):

Placeholder shown in generated config where the user pastes their token.

## Actor input object example

```json
{
  "actorId": "gochujang~smart-money-tracker",
  "username": "",
  "name": "",
  "apifyTokenPlaceholder": "APIFY_TOKEN_HERE"
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "actorId": "gochujang~smart-money-tracker"
};

// Run the Actor and wait for it to finish
const run = await client.actor("gochujang/mcp-config-generator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "actorId": "gochujang~smart-money-tracker" }

# Run the Actor and wait for it to finish
run = client.actor("gochujang/mcp-config-generator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "actorId": "gochujang~smart-money-tracker"
}' |
apify call gochujang/mcp-config-generator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=gochujang/mcp-config-generator",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "MCP Config Generator (Apify Actor → Claude / Cursor)",
        "description": "Given any Apify actor ID, generates ready-to-paste Model Context Protocol (MCP) server configs for Claude Desktop, Claude Code, and Cursor. Wraps the actor as a tool Claude can call directly. $0.005 per config.",
        "version": "0.1",
        "x-build-id": "dzPTUfTAtf821qZ71"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/gochujang~mcp-config-generator/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-gochujang-mcp-config-generator",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/gochujang~mcp-config-generator/runs": {
            "post": {
                "operationId": "runs-sync-gochujang-mcp-config-generator",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/gochujang~mcp-config-generator/run-sync": {
            "post": {
                "operationId": "run-sync-gochujang-mcp-config-generator",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "actorId": {
                        "title": "Actor ID or handle",
                        "type": "string",
                        "description": "Apify actor ID (UpperCaseChars) OR handle 'username~actor-name'."
                    },
                    "username": {
                        "title": "Username (alternative)",
                        "type": "string",
                        "description": "If 'actorId' is empty, combine 'username' + 'name'.",
                        "default": ""
                    },
                    "name": {
                        "title": "Actor name (alternative)",
                        "type": "string",
                        "description": "Used with 'username'.",
                        "default": ""
                    },
                    "apifyToken": {
                        "title": "Apify Token (only if private)",
                        "type": "string",
                        "description": "Required only to resolve private actors."
                    },
                    "apifyTokenPlaceholder": {
                        "title": "Token placeholder text",
                        "type": "string",
                        "description": "Placeholder shown in generated config where the user pastes their token.",
                        "default": "APIFY_TOKEN_HERE"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
