SyncLane.Cli
0.12.1
{ "servers": { "SyncLane.Cli": { "type": "stdio", "command": "dnx", "args": ["SyncLane.Cli@0.12.1", "--yes", "--", "mcp"] } } }
.vscode/mcp.json settings file.
dotnet tool install --global SyncLane.Cli --version 0.12.1
dotnet new tool-manifest
dotnet tool install --local SyncLane.Cli --version 0.12.1
#tool dotnet:?package=SyncLane.Cli&version=0.12.1
nuke :add-package SyncLane.Cli --version 0.12.1
synclane
Turns a curl that works into a SyncLane recipe, and tests the recipe without a database.
dotnet tool install --global SyncLane.Cli
From a curl to a recipe
Copy a request from the API's documentation or your browser and paste it after synclane init:
synclane init curl "https://api.example-shop.com/v1/orders?updated_since=2026-10-01" \
-H "Authorization: Bearer $SHOP_TOKEN"
init sends the request once and writes orders.jsonc from the answer:
- where the records are;
- how the API pages;
- which parameter takes the time window;
- which headers say how many requests are left.
Every guess carries a comment that says why. The token in the curl is never written: the recipe names a credential instead.
Testing a recipe
synclane test orders.jsonc
test runs the recipe for two pages through the same code your application uses, with no database. It reports:
- the fields it found;
- whether the record key is unique;
- whether page 2 brought new records.
It never prints record values, cursors or credentials. It exits with 1 when the recipe does not work, so it can run in CI.
Credentials come from environment variables such as SYNCLANE_EXAMPLE_SHOP_TOKEN, or from a prompt that does not echo.
With an AI assistant
synclane mcp serves init, test and a recipe check to an AI assistant over the Model Context Protocol, with the recipe guide, the JSON Schema and the error catalog. Add it to the assistant's MCP settings:
{ "mcpServers": { "synclane": { "command": "synclane", "args": ["mcp"] } } }
With the .NET 10 SDK it runs without installing anything, as "command": "dnx", "args": ["SyncLane.Cli", "--yes", "mcp"]. It is listed in the MCP Registry as io.github.synclane-dev/synclane, and the "MCP Server" tab of this page gives the settings for VS Code and Visual Studio.
It runs on your machine with your own assistant: no AI service is called and no port is opened. The tools work only in the folder the server starts in (or --folder), and return what the commands print: structure, never data or credentials. Write a token as $NAME in the curl and set the variable in the server's environment, so it never enters the conversation. Setup for several assistants: docs/ai.md.
More
- Recipes, credentials and every option: docs/recipes.md
- For AI assistants: llms.txt
- Error codes
SL6xxx: docs/errors.md - The library the recipes run in: SyncLane
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.12.1 | 104 | 12/1/2026 |
| 0.12.0 | 102 | 12/1/2026 |
| 0.11.0 | 111 | 11/24/2026 |
| 0.10.0 | 100 | 11/20/2026 |
| 0.9.0 | 107 | 11/20/2026 |
| 0.8.0 | 103 | 11/19/2026 |
| 0.7.1 | 102 | 11/18/2026 |
| 0.7.0 | 100 | 11/18/2026 |
| 0.6.3 | 100 | 11/18/2026 |
| 0.6.2 | 109 | 11/17/2026 |
| 0.6.1 | 101 | 11/17/2026 |
| 0.6.0 | 113 | 11/6/2026 |
| 0.5.0 | 101 | 11/6/2026 |
| 0.4.1 | 100 | 11/6/2026 |
| 0.4.0 | 108 | 11/6/2026 |
| 0.3.0-preview.1 | 80 | 11/4/2026 |
| 0.2.0-preview.2 | 70 | 11/4/2026 |
| 0.2.0-preview.1 | 78 | 11/4/2026 |