keycloak-mcp.test
This is just a test publish, delete me
我该使用它吗
质量与安全性
发现(3)
- LOW在 keycloak_explain 中
- LOW在 explain_keycloak_component 中
- LOW在 explain_keycloak_protocol 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"keycloak-mcp.test": {
"url": "https://keycloak-mcp.test.happi.hafslund.no/mcp"
}
}
}远程端点
https://keycloak-mcp.test.happi.hafslund.no/mcpstreamable-http它能做什么
工具清单
工具(6)
🟢keycloak_search(query, top_k)
Semantic search over the Keycloak repository and documentation. Returns list of snippets with file paths and scores.
输入模式
{
"type": "object",
"properties": {
"query": {
"title": "Query",
"type": "string"
},
"top_k": {
"default": 5,
"title": "Top K",
"type": "integer"
}
},
"required": [
"query"
],
"title": "keycloak_searchArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "keycloak_searchOutput"
}🟢keycloak_explain(topic, top_k, max_chars)
Use this tool whenever the user asks ANY question about Keycloak (e.g., "how does authentication work?", "what is a realm?", "how do I integrate SAML?", "explain OAuth2 flow"). Prefer this tool BEFORE answering from prior knowledge. Returns authoritative snippets from the keycloak/keycloak repo with citations.
输入模式
{
"type": "object",
"properties": {
"topic": {
"title": "Topic",
"type": "string"
},
"top_k": {
"default": 6,
"title": "Top K",
"type": "integer"
},
"max_chars": {
"default": 4000,
"title": "Max Chars",
"type": "integer"
}
},
"required": [
"topic"
],
"title": "keycloak_explainArguments"
}🟢explain_keycloak_component(component_type)
Explain a Keycloak component (realm, client, user, role, provider, mapper). Returns description and relevant documentation snippets.
输入模式
{
"type": "object",
"properties": {
"component_type": {
"title": "Component Type",
"type": "string"
}
},
"required": [
"component_type"
],
"title": "explain_keycloak_componentArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"additionalProperties": true,
"title": "Result",
"type": "object"
}
},
"required": [
"result"
],
"title": "explain_keycloak_componentOutput"
}🟢explain_keycloak_protocol(protocol_type)
Explain Keycloak protocols (oidc, saml, oauth2). Returns description and relevant documentation snippets.
输入模式
{
"type": "object",
"properties": {
"protocol_type": {
"title": "Protocol Type",
"type": "string"
}
},
"required": [
"protocol_type"
],
"title": "explain_keycloak_protocolArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"additionalProperties": true,
"title": "Result",
"type": "object"
}
},
"required": [
"result"
],
"title": "explain_keycloak_protocolOutput"
}🟢keycloak_config_reference(config_option)
Search for information about a specific Keycloak configuration option. Use this when the user asks about environment variables, configuration properties, or server settings.
输入模式
{
"type": "object",
"properties": {
"config_option": {
"title": "Config Option",
"type": "string"
}
},
"required": [
"config_option"
],
"title": "keycloak_config_referenceArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"additionalProperties": true,
"title": "Result",
"type": "object"
}
},
"required": [
"result"
],
"title": "keycloak_config_referenceOutput"
}🟢analyze_keycloak_deployment(deployment_info)
Analyze Keycloak deployment configuration and identify potential issues or provide recommendations. Input deployment_info should include: - keycloak_version: version string - deployment_type: (standalone, clustered) - database: database type (postgresql, mysql, h2) - protocol: (http, https) - cache_type: (local, infinispan) - auth_providers: list of configured identity providers - any warnings or alerts Returns structured analysis and recommendations based on the deployment state.
输入模式
{
"type": "object",
"properties": {
"deployment_info": {
"additionalProperties": true,
"title": "Deployment Info",
"type": "object"
}
},
"required": [
"deployment_info"
],
"title": "analyze_keycloak_deploymentArguments"
}社区
证据