Skip to content
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
4 changes: 3 additions & 1 deletion packages/auth/src/providers/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,9 @@ export class AuthFirebase extends AuthProviderBase {
const refreshedKey = refreshedJwks.find((k) => k.kid === decoded.header.kid);

if (!refreshedKey) {
throw new Error('Signing key not found in Google JWKS - token may be invalid or keys rotated');
throw new Error(
'Signing key not found in Google JWKS - token may be invalid or keys rotated'
);
}

const pem = jwkToPem(refreshedKey);
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leanmcp/cli",
"version": "0.5.9",
"version": "0.5.10",
"description": "Command-line interface for scaffolding LeanMCP projects",
"bin": {
"leanmcp": "bin/leanmcp.js"
Expand Down
20 changes: 0 additions & 20 deletions packages/cli/src/templates/main_ts_v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,4 @@ await createHTTPServer({
cors: true,
logging: true${dashboardLine}
});

console.log("\\n${projectName} MCP Server is running!");
console.log("\\nTry these commands to test your server:");
console.log("");
console.log("# Test calculation tool (schema validation)");
console.log('curl -X POST http://localhost:3001/mcp \\\\');
console.log(' -H "Content-Type: application/json" \\\\');
console.log(' -d \'{"method": "tools/call", "params": {"name": "calculate", "arguments": {"a": 10, "b": 5, "operation": "add"}}}\'');
console.log("");
console.log("# Test echo tool");
console.log('curl -X POST http://localhost:3001/mcp \\\\');
console.log(' -H "Content-Type: application/json" \\\\');
console.log(' -d \'{"method": "tools/call", "params": {"name": "echo", "arguments": {"message": "Hello LeanMCP!"}}}\'');
console.log("");
console.log("# Get server information (resource)");
console.log('curl -X POST http://localhost:3001/mcp \\\\');
console.log(' -H "Content-Type: application/json" \\\\');
console.log(' -d \'{"method": "resources/read", "params": {"uri": "server://info"}}\'');
console.log("");
console.log("Ready to customize - add your own tools, resources, and prompts!");
`;
Loading