You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/docs/pages/airdrop/mcp.mdx
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
The Model Context Protocol (MCP) is an open protocol that enables large language models to interact with applications through standardized interfaces.
2
2
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.
4
5
5
6
## Prerequisites
6
7
@@ -31,12 +32,14 @@ Create a `.mcp.json` file with the following content:
31
32
1. Provide `.cursor/mcp.json` in your project root.
32
33
2. Using the editor Agent mode point the AI to the initial domain mapping file.
33
34
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.
34
36
35
37
### Claude Code setup
36
38
37
39
1. Provide `.mcp.json` in your project root.
38
40
2. Using the editor point the AI to the initial domain mapping file.
39
41
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.
40
43
41
44
## Usage guidelines
42
45
@@ -48,7 +51,9 @@ When asked to perform airdrop initial mapping:
48
51
- Refer to the `metadata.json` for the external domain metadata.
49
52
- Use `mappings.json` as your initial domain mapping file.
50
53
- 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.
52
57
- If doing so, always use 'use_mapping' to verify the mapping file is still valid.
53
58
```
54
59
@@ -62,11 +67,12 @@ The MCP server provides tools for:
62
67
- Adding and removing record type mappings
63
68
- Field mapping and unmapping operations
64
69
- Validation of mapping file structure
70
+
- Testing initial domain mapping files against local metadata files
65
71
66
72
## Limitations
67
73
68
74
<Warning>
69
75
MCP integration is experimental. Functionality may vary across different AI models and MCP clients.
70
76
</Warning>
71
77
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