@inliner/mcp-server 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -75,6 +75,7 @@ Add to Cursor Settings > Features > MCP, or VS Code MCP settings:
|
|
|
75
75
|
| Tool | Description |
|
|
76
76
|
|------|-------------|
|
|
77
77
|
| `generate_image_url` | Build a properly formatted Inliner image URL from description, dimensions, and project |
|
|
78
|
+
| `generate_image` | Generate an image, poll until ready, and optionally save to a local file (inline mode) |
|
|
78
79
|
| `get_projects` | List all your Inliner projects with namespaces and settings |
|
|
79
80
|
| `get_project_details` | Get detailed project config: namespace, custom prompt, reference images |
|
|
80
81
|
| `get_usage` | Check remaining credits (base, premium, edit, infill, enhance) |
|
|
@@ -99,6 +100,14 @@ The agent will:
|
|
|
99
100
|
2. Call `generate_image_url` with the right namespace and dimensions
|
|
100
101
|
3. Output the `<img>` tag with the correct URL, alt text, and loading attributes
|
|
101
102
|
|
|
103
|
+
> "Generate a happy duck image and save it to ./images/duck.png"
|
|
104
|
+
|
|
105
|
+
The agent will:
|
|
106
|
+
1. Call `generate_image` with the description, dimensions, and output path
|
|
107
|
+
2. Poll until the image is ready (up to 3 minutes)
|
|
108
|
+
3. Save the image to the specified file path
|
|
109
|
+
4. Return the URL and file path
|
|
110
|
+
|
|
102
111
|
> "How many image credits do I have left?"
|
|
103
112
|
|
|
104
113
|
The agent calls `get_usage` and reports your remaining credits by type.
|
package/package.json
CHANGED