Skip to content

Commit 6912f89

Browse files
committed
1.1.0: Create story command
1 parent bd43c2f commit 6912f89

File tree

5 files changed

+426
-6
lines changed

5 files changed

+426
-6
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lenne.tech/cli",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"description": "lenne.Tech CLI: lt",
55
"keywords": [
66
"lenne.Tech",

src/commands/claude/install-mcps.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ function installMcp(mcp: McpEntry): { error?: string; success: boolean } {
6060
}
6161

6262
try {
63-
const command = `"${cli}" mcp add ${mcp.command}`;
63+
// Build the command with optional transport flag for remote MCPs
64+
const transportFlag = mcp.transport ? `--transport ${mcp.transport} ` : '';
65+
const command = `"${cli}" mcp add ${transportFlag}${mcp.command}`;
6466
execSync(command, { encoding: 'utf-8', shell: '/bin/bash', stdio: 'inherit' });
6567
return { success: true };
6668
} catch (err) {

src/lib/mcp-registry.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ export interface McpEntry {
2121
id: string;
2222
/** Display name for the MCP */
2323
name: string;
24-
/** The npm package name */
25-
npmPackage: string;
24+
/** The npm package name (optional for remote MCPs) */
25+
npmPackage?: string;
26+
/** Transport type for remote MCPs ('http' or 'sse') */
27+
transport?: 'http' | 'sse';
2628
/** URL for more information */
2729
url?: string;
2830
}
@@ -41,6 +43,15 @@ export const MCP_REGISTRY: McpEntry[] = [
4143
npmPackage: 'chrome-devtools-mcp',
4244
url: 'https://www.npmjs.com/package/chrome-devtools-mcp',
4345
},
46+
{
47+
category: 'project-management',
48+
command: 'linear https://mcp.linear.app/mcp',
49+
description: 'Linear integration for issue tracking and project management',
50+
id: 'linear',
51+
name: 'Linear',
52+
transport: 'http',
53+
url: 'https://linear.app/docs/mcp',
54+
},
4455
// Add more MCPs here as needed:
4556
// {
4657
// id: 'example-mcp',

0 commit comments

Comments
 (0)