@init-computer/mcp 0.1.6 → 0.1.8
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 +1 -1
- package/bin/init-mcp.js +2 -2
- package/package.json +17 -8
- package/server.json +30 -27
package/README.md
CHANGED
|
@@ -134,7 +134,7 @@ The server uses MCP stdio transport and returns JSON text content for every tool
|
|
|
134
134
|
|
|
135
135
|
## Repository init.json integration
|
|
136
136
|
|
|
137
|
-
Use `init_apply_project_file` with an explicit local `init.json` path and an edit request. The MCP server reads that
|
|
137
|
+
Use `init_apply_project_file` with an explicit local `init.json` path and an edit request. The MCP server reads that file, edits its project, and overwrites the file with the returned project summary. The current SDK returns an empty `tables` array in that summary, so back up or review any manifest with table definitions before using the file tool. For agents with a parsed document, `init_apply_project_manifest` returns the summary without touching the filesystem.
|
|
138
138
|
|
|
139
139
|
## Maintaining the public repository
|
|
140
140
|
|
package/bin/init-mcp.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import readline from "node:readline";
|
|
@@ -47,7 +47,7 @@ const tools = [
|
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
name: "init_apply_project_file",
|
|
50
|
-
description: "Read an explicit local init.json path, apply an Init project edit, and
|
|
50
|
+
description: "Read an explicit local init.json path, apply an Init project edit, and overwrite the file with the returned project summary. The summary currently has an empty tables array; back up or review manifests with table definitions before using this tool.",
|
|
51
51
|
inputSchema: objectSchema({ path: stringSchema("Absolute or working-directory-relative init.json path."), prompt: stringSchema("Project change request.") }, ["path", "prompt"]),
|
|
52
52
|
handler: async ({ path: filePath, prompt }) => {
|
|
53
53
|
const absolute = path.resolve(filePath);
|
package/package.json
CHANGED
|
@@ -1,19 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@init-computer/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Init is a programmable backend platform available through MCP for generating and running backend APIs.",
|
|
5
|
+
"license": "MIT",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"bin": {
|
|
7
8
|
"init-mcp": "bin/init-mcp.js"
|
|
8
9
|
},
|
|
10
|
+
"files": [
|
|
11
|
+
"bin",
|
|
12
|
+
"server.json",
|
|
13
|
+
"LICENSE"
|
|
14
|
+
],
|
|
9
15
|
"dependencies": {
|
|
10
|
-
"@init-computer/sdk": "0.1.
|
|
16
|
+
"@init-computer/sdk": "^0.1.11"
|
|
11
17
|
},
|
|
12
18
|
"engines": {
|
|
13
19
|
"node": ">=18"
|
|
14
20
|
},
|
|
15
|
-
"license": "MIT",
|
|
16
21
|
"homepage": "https://www.init.computer/mcp",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/init-computer/init.git",
|
|
25
|
+
"directory": "packages/mcp"
|
|
26
|
+
},
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/init-computer/init/issues"
|
|
29
|
+
},
|
|
17
30
|
"keywords": [
|
|
18
31
|
"init",
|
|
19
32
|
"backend",
|
|
@@ -22,9 +35,5 @@
|
|
|
22
35
|
"model-context-protocol",
|
|
23
36
|
"ai-agents"
|
|
24
37
|
],
|
|
25
|
-
"mcpName": "io.github.init-computer/init"
|
|
26
|
-
"repository": {
|
|
27
|
-
"type": "git",
|
|
28
|
-
"url": "https://github.com/init-computer/init-mcp.git"
|
|
29
|
-
}
|
|
38
|
+
"mcpName": "io.github.init-computer/init"
|
|
30
39
|
}
|
package/server.json
CHANGED
|
@@ -1,27 +1,30 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
-
"name": "io.github.init-computer/init",
|
|
4
|
-
"description": "Init is the backend engineer for your coding agent.",
|
|
5
|
-
"repository": {
|
|
6
|
-
"url": "https://github.com/init-computer/init
|
|
7
|
-
"source": "github"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.init-computer/init",
|
|
4
|
+
"description": "Init is the backend engineer for your coding agent.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"url": "https://github.com/init-computer/init",
|
|
7
|
+
"source": "github",
|
|
8
|
+
"subfolder": "packages/mcp"
|
|
9
|
+
},
|
|
10
|
+
"version": "0.1.8",
|
|
11
|
+
"packages": [
|
|
12
|
+
{
|
|
13
|
+
"registryType": "npm",
|
|
14
|
+
"identifier": "@init-computer/mcp",
|
|
15
|
+
"version": "0.1.8",
|
|
16
|
+
"transport": {
|
|
17
|
+
"type": "stdio"
|
|
18
|
+
},
|
|
19
|
+
"environmentVariables": [
|
|
20
|
+
{
|
|
21
|
+
"name": "INIT_API_KEY",
|
|
22
|
+
"description": "Your Init API key",
|
|
23
|
+
"isRequired": true,
|
|
24
|
+
"isSecret": true,
|
|
25
|
+
"format": "string"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|