Log in to your Dokploy Server Admin Panel
- Open your web browser and go to the URL of your Dokploy server (e.g.,
https://your-dokploy-server.com
).
- Log in with your credentials as an administrator or a user with API access rights.
Navigate to the API Token Management Section
- Look for a section labeled “API,” “Access Tokens,” or “API Tokens” in the Dokploy Admin interface.
- If you cannot find this section, consult the official Dokploy documentation or support resources specific to your Dokploy installation for the location of API token management.
Create a New API Token
- Click the button to create a new API token (often labeled “Create Token” or “Add API Key”).
- Give your token a name and select the permissions/scopes suitable for your intended use. For general MCP operations, you typically need project and application management permissions.
- Click “Save” or “Create.”
Copy Your Dokploy API URL and API Token
- After generating the token, copy it immediately; it will only be shown once.
- Also copy your Dokploy API URL (e.g.,
https://your-dokploy-server.com/api
). This endpoint is typically found in your Dokploy installation documentation or your server's API configuration.
Fill in the FastMCP Connection Interface
- Go to your FastMCP platform and locate the “Install Now” button for adding ENVs.
- Paste your Dokploy API URL into the field labeled
DOKPLOY_URL
.
- Paste the API token you copied into the field labeled
DOKPLOY_API_KEY
.
Complete the Installation
- Confirm and save your changes in FastMCP.
- The connection should now be established using your Dokploy MCP integration.
Note: If your Dokploy server does not have a user interface for API tokens, refer to your server’s deployment documentation or contact your system administrator. In self-hosted cases, the API key may be generated directly via the database or an admin CLI command, depending on your infrastructure.
Always treat your API token as sensitive information—do not share it publicly or check it into source control.