# Kafka To Asp

> Converts MongoDB Kafka managed connector configurations (MongoDbAtlasSource / MongoDbAtlasSink) to equivalent Atlas Stream Processing processors. One-time migration workflow: reads connector JSON, validates it, maps fields to ASP pipeline stages, and creates connections and processors via the MongoDB MCP Server. Requires MongoDB MCP Server with Atlas API credentials.

- Skill: `mongodb/kafka-to-asp` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add mongodb/kafka-to-asp`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mongodb/kafka-to-asp/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: mongodb (https://skillmd.com/u/mongodb)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mongodb/kafka-to-asp

---


See [commands/kafka-to-asp.md](commands/kafka-to-asp.md) for the slash command definition.

## Installation

Copy `commands/kafka-to-asp.md` to `~/.claude/commands/kafka-to-asp.md` to make `/kafka-to-asp` available globally, or to `.claude/commands/kafka-to-asp.md` in any project for project-scoped use.

## What it does

Accepts one or more Kafka managed connector config files (or pasted JSON) and creates the equivalent Atlas Stream Processing resources:

- **MongoDbAtlasSource** → `$source` (Atlas change stream) + `$emit` (Kafka topic)
- **MongoDbAtlasSink** → `$source` (Kafka topic) + `$merge` (Atlas collection)

Uses the `mongodb:atlas-stream-processing` skill and MongoDB MCP tools under the hood.

