Integrates with Keycloak identity management to enable user creation, role assignment, group management, and client listing across different realms
Log in to your Keycloak Administration Console
- Open your Keycloak instance in your browser (the default URL is usually
http://localhost:8080
if running locally).
Find the Keycloak Server URL
- The address you use in your browser (such as
http://localhost:8080
) is your KEYCLOAK_URL
.
- Copy this URL.
Obtain the Admin Username
- The default administrator username created during Keycloak setup (often
admin
if you didn't change it).
- If you are unsure, check with whoever installed Keycloak, or reference your installation notes.
- Copy the username to use as
KEYCLOAK_ADMIN
.
Obtain the Admin Password
- This is the password for that Keycloak admin user.
- If you have forgotten it, you may need to reset the admin password using the Keycloak CLI or by following Keycloak's documentation.
Go to the FastMCP Connection Interface
- Click the "Install Now" button to open the interface for adding environment variables (ENVs).
Fill in the Required ENV Values
- In the FastMCP connection interface, enter the following values:
KEYCLOAK_URL
— The URL to your Keycloak server
KEYCLOAK_ADMIN
— Your Keycloak admin username
KEYCLOAK_ADMIN_PASSWORD
— Your Keycloak admin password
Save/Confirm the Connection
- After entering the values, confirm the setup within the FastMCP interface as instructed (there may be a "Save" or "Connect" button).
Note:
If your Keycloak instance does not use the default credentials or runs on a different host/port, substitute those details as needed. Protect your admin credentials and avoid sharing them unnecessarily.