@noeis/noeis-cli 0.1.6 → 0.1.7
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/package.json +1 -1
- package/src/cli.js +3 -1
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -140,7 +140,8 @@ const mcpServerConfig = ({ configDir, apiUrl }) => ({
|
|
|
140
140
|
args: ['mcp'],
|
|
141
141
|
env: {
|
|
142
142
|
...(configDir ? { NOEIS_CONFIG_DIR: configDir } : {}),
|
|
143
|
-
...(apiUrl && apiUrl !== DEFAULT_API_URL ? { NOEIS_API_URL: apiUrl } : {})
|
|
143
|
+
...(apiUrl && apiUrl !== DEFAULT_API_URL ? { NOEIS_API_URL: apiUrl } : {}),
|
|
144
|
+
NOEIS_MCP_TOOLSET: 'library-think-v1'
|
|
144
145
|
}
|
|
145
146
|
});
|
|
146
147
|
|
|
@@ -155,6 +156,7 @@ const writeTomlMcpConfig = (filePath, { configDir, apiUrl }) => {
|
|
|
155
156
|
const envParts = [];
|
|
156
157
|
if (configDir) envParts.push(`NOEIS_CONFIG_DIR = ${JSON.stringify(configDir)}`);
|
|
157
158
|
if (apiUrl && apiUrl !== DEFAULT_API_URL) envParts.push(`NOEIS_API_URL = ${JSON.stringify(apiUrl)}`);
|
|
159
|
+
envParts.push('NOEIS_MCP_TOOLSET = "library-think-v1"');
|
|
158
160
|
const envLine = envParts.length ? `\nenv = { ${envParts.join(', ')} }` : '';
|
|
159
161
|
const block = `[mcp_servers.noeis-wiki]
|
|
160
162
|
command = "noeis"
|