Skip to main content

Project Management

Complete guide to managing your MCP projects using the LeanMCP CLI.

Create Project

Create a new MCP server project locally:
Example Output:

Interactive Mode

The CLI will prompt you for:
  • Install dependencies? (y/N)
  • Start development server? (y/N)

Skip All Prompts

Development Server

Start the development server with hot reload:
Example Output:

List Projects

View all your cloud projects:
Example Output:

Get Project Details

Get detailed information about a specific project:
Example:
Example Output:

Deploy Project

Deploy your MCP server to LeanMCP cloud:
Example Output:

Delete Project

Remove a project from the cloud:
Example:
Example Output:

Full Workflow Example

Complete workflow from creation to deployment:

File Scanning Rules

When deploying projects, the CLI: Includes:
  • All source code files (.ts, .js, .py, etc.)
  • Configuration files (package.json, tsconfig.json, etc.)
  • Documentation files (README.md, etc.)
Excludes (.gitignore respected):
  • node_modules/
  • .git/
  • dist/, build/
  • *.log
  • OS files (.DS_Store, Thumbs.db)
  • IDE files (.vscode/, .idea/)

Troubleshooting

Not Authenticated

Solution: Run leanmcp login and enter your API key.

Project Not Found

Solution: Verify the project ID using leanmcp projects list.

Deployment Failed

Solutions:
  • Check build logs in the dashboard
  • Verify project configuration
  • Ensure all dependencies are in package.json

Next Steps

Deploy to LeanMCP

Deploy your MCP servers to the cloud

Monitor Deployments

View deployment status and logs