Whatever message this page gives is out now! Go check it out!
mcpServer = mcpServerBuilder()
.serverInfo("cf-ops-healthcheck-mcp", "1.0.0")
.capabilities({
tools : true,
prompts : false,
resources : true
})
.tools([{ cfc:"mcp.tools.HealthcheckTools" }])
.resources([
{ uri:"file:///var/log/app.log", name:"App Logs", mimeType:"text/plain" }
])
.build();
tools: true – server implements tool methods (tools/list, tools/call).prompts: false – no prompt APIs; a client should not call prompts/list or prompts/get.resources: true – server implements resource methods (resources/list, resources/read).prompts: true if you have no prompts yet.resources: true if resources/list is a stub or always returns empty and is not meant for use.
mcpServer = mcpServerBuilder()
.serverInfo("cf-analytics-mcp", "2.0.0")
.capabilities({
tools : true,
prompts : true,
resources : true,
logging : true,
sampling : false, // hypothetical future fields
elicitation: false
})
...
.build();
tools: true, test tools/list returns expected tools.prompts: true, test prompts/list and prompts/get for a known prompt.resources: true, test resources/list and resources/read for at least one resource.tools: true and implement a delete_user tool.delete_user to only certain authenticated clients.
mcpServer = mcpServerBuilder()
.serverInfo("cf-healthcheck-mcp", "1.0.0")
.capabilities({
tools : true,
prompts : false,
resources : false
})
.tools([{ cfc:"mcp.tools.HealthcheckTools" }])
.build();
mcpServer = mcpServerBuilder()
.serverInfo("cf-content-mcp", "1.2.0")
.capabilities({
tools : true,
prompts : true,
resources : true
})
.tools([
{ cfc:"mcp.tools.SearchTools" },
{ cfc:"mcp.tools.SummarizationTools" }
])
.prompts([
{ name:"summarize-article", template:"Summarize this article: {{text}}" },
{ name:"rewrite-for-seo", template:"Rewrite this for SEO: {{text}}" }
])
.resources([
{ uri:"file:///var/articles/index.json", name:"Article Index", mimeType:"application/json" }
])
.build();