Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: build errors with mcp-build #32

Merged
merged 1 commit into from
Mar 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 26 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "mcp-framework",
"version": "0.1.28",

"version": "0.1.29",
"description": "Framework for building Model Context Protocol (MCP) servers in Typescript",
"type": "module",
"author": "Alex Andru <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/framework/build-cli.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node
import { buildFramework } from './build.js';

if (process.argv[1].endsWith('mcp-build')) {
if (process.argv[1].endsWith('mcp-build') || process.argv[1].endsWith('build-cli.js')) {
buildFramework().catch(error => {
process.stderr.write(`Fatal error: ${error instanceof Error ? error.message : String(error)}\n`);
process.exit(1);
Expand Down
2 changes: 1 addition & 1 deletion src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const program = new Command();
program
.name("mcp")
.description("CLI for managing MCP server projects")
.version("0.1.27");
.version("0.1.29");

program
.command("build")
Expand Down
2 changes: 1 addition & 1 deletion src/cli/project/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export async function createProject(name?: string) {
start: "node dist/index.js"
},
dependencies: {
"mcp-framework": "0.1.28-beta.6"
"mcp-framework": "^0.1.29"
},
devDependencies: {
"@types/node": "^20.11.24",
Expand Down