Skip to main content

First-time Setup

HasMCP-CE works with both Postgres and SQLite. In this documentation, for simplicity it is working with SQLite. Create necessary folders
Create .env file content based on your preferences, here is example configuration. Ensure that you have encyrption keys and secrets are different than the example below.
**WARNING: **Losing your own encryption key or secrets could block your access to DB and application. Nobody knows your encryption key and/or secret other than you! Encryption keys and secrets must be 32xN(1,2,3,4) bytes forms.

Commands

Update the Makefile content with the following content:

Setup

First time setup, pulls docker image and runs:

Update

Update the HasMCP to desired version:

Restart

If you need make changes on env values, restart will be needed. Here is the command to restart:

Monitoring & Logs

Access docker stats:
Access logs:

Access server

  1. Go to http://localhost (if you set a port other than 80, you will need to visit that port.)
  2. In the UI, enter the token you have defined for HASMCP_API_ACCESS_TOKEN
  3. That’s all!

Warning

HasMCP-CE currently is in Beta, significant changes could come in the next version. Use at your own risk! If you are company, please contact with license@hasmcp.com for commercial stable versions.