Skip to content

Commit 874d9e8

Browse files
committed
Address comments
1 parent 8f8b219 commit 874d9e8

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

fern/docs/pages/airdrop/initial-domain-mapping.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ You can create initial domain mappings using two methods:
1414
1. **Chef-cli UI**: Interactive web interface for comprehensive mapping creation
1515
2. **Model Context Protocol (MCP)**: AI-assisted mapping creation for developers (experimental)
1616

17-
Choose the chef-cli UI for manual control and testing. Use MCP for rapid prototyping with AI assistance.
17+
Choose the chef-cli UI for manual control or use MCP for rapid prototyping with AI assistance.
18+
MCP is an experimental feature and works locally without requiring a sync to be created.
1819

19-
<Tip>
20+
<Info>
2021
For AI-assisted mapping creation, see the [Model Context Protocol integration guide](./mcp.mdx).
21-
</Tip>
22+
</Info>
2223

2324
## Chef-cli initial domain mapping setup
2425

fern/docs/pages/airdrop/mcp.mdx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
The Model Context Protocol (MCP) is an open protocol that enables large language models to interact with applications through standardized interfaces.
22

3-
Chef-cli provides MCP integration through the `chef-cli mcp initial-mapping` subcommand. This integration allows AI assistants to programmatically edit and test initial domain mapping files.
3+
Chef-cli provides MCP integration through the `chef-cli mcp initial-mapping` subcommand.
4+
This integration allows AI assistants to programmatically edit and test initial domain mapping files.
45

56
## Prerequisites
67

@@ -31,12 +32,14 @@ Create a `.mcp.json` file with the following content:
3132
1. Provide `.cursor/mcp.json` in your project root.
3233
2. Using the editor Agent mode point the AI to the initial domain mapping file.
3334
3. Use the editor to guide the AI to create the initial domain mappings.
35+
4. Use `initial-mapping check` to test the initial domain mapping file against the local metadata file, simulating how it would behave in an import.
3436

3537
### Claude Code setup
3638

3739
1. Provide `.mcp.json` in your project root.
3840
2. Using the editor point the AI to the initial domain mapping file.
3941
3. Use the editor to guide the AI to create the initial domain mappings.
42+
4. Use `initial-mapping check` to test the initial domain mapping file against the local metadata file, simulating how it would behave in an import.
4043

4144
## Usage guidelines
4245

@@ -48,7 +51,9 @@ When asked to perform airdrop initial mapping:
4851
- Refer to the `metadata.json` for the external domain metadata.
4952
- Use `mappings.json` as your initial domain mapping file.
5053
- Call 'use_mapping' to test out how the initial mapping behaves on the current metadata
51-
- Use MCP tools to manipulate the initial mapping when adding and removing record type mappings, or unmapping fields or mapping simple fields. For more complex field mappings you may edit the mapping file directly. Refer to the `initial_mappings_schema.yaml` for its proper format.
54+
- Use MCP tools to manipulate the initial mapping when adding and removing record type mappings, or unmapping fields or mapping simple fields.
55+
For more complex field mappings you may edit the mapping file directly.
56+
Refer to the `initial_mappings_schema.yaml` for its proper format.
5257
- If doing so, always use 'use_mapping' to verify the mapping file is still valid.
5358
```
5459

@@ -62,11 +67,12 @@ The MCP server provides tools for:
6267
- Adding and removing record type mappings
6368
- Field mapping and unmapping operations
6469
- Validation of mapping file structure
70+
- Testing initial domain mapping files against local metadata files
6571

6672
## Limitations
6773

6874
<Warning>
6975
MCP integration is experimental. Functionality may vary across different AI models and MCP clients.
7076
</Warning>
7177

72-
Testing shows good results with Cursor 0.47 and Claude Code. The AI can prepare initial mappings with significant autonomy, though developer oversight remains essential.
78+
Testing shows good results with Cursor and Claude Code. The AI can prepare initial mappings with significant autonomy, though developer oversight remains essential.

0 commit comments

Comments
 (0)