corent-mcp 0.2.0 → 0.2.1
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/dist/index.js +1 -1
- package/package.json +8 -1
package/dist/index.js
CHANGED
|
@@ -33,7 +33,7 @@ async function corent(path, init) {
|
|
|
33
33
|
function textResult(data) {
|
|
34
34
|
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
|
35
35
|
}
|
|
36
|
-
const server = new McpServer({ name: "corent", version: "0.2.
|
|
36
|
+
const server = new McpServer({ name: "corent", version: "0.2.1" });
|
|
37
37
|
server.tool("generate_image", "Generate an image from a text prompt. Returns a permanent public URL. Synchronous: typically completes in 2-20 seconds. Costs a few cents, billed to the Corent account.", {
|
|
38
38
|
prompt: z.string().describe("What to generate, in plain language"),
|
|
39
39
|
preference: z
|
package/package.json
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "corent-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "MCP server for the Corent media generation API — give any AI agent the ability to generate images and videos.",
|
|
5
|
+
"mcpName": "io.github.gg13121/corent-mcp",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"type": "module",
|
|
8
|
+
"homepage": "https://corent.tech",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/gg13121/corent.git",
|
|
12
|
+
"directory": "mcp"
|
|
13
|
+
},
|
|
7
14
|
"bin": {
|
|
8
15
|
"corent-mcp": "dist/index.js"
|
|
9
16
|
},
|