A Model Context Protocol server contributed by a repository app, built by McpMappingBuilder and reached through controllerMappings.websiteMcpController or adminMcpController. Carries the server's identity, its statically registered tools, and the access rules the transport enforces before handling a request.
Properties
| Property | Returns | Description |
|---|---|---|
| adminOnly | boolean | Whether this server is only reachable from the admin console rather than from public websites. |
| instructions | String | Instructions describing how to use this MCP server, reported to connecting clients. |
| public | boolean | Whether this server allows anonymous access. When false, a request must be authenticated. |
| roles | List<String> | Names of the roles permitted to use this server, when access is restricted by role. |
| serverName | String | Display name of the MCP server, reported to connecting clients. |
| serverVersion | String | Version of the MCP server, reported to connecting clients. |
| toolFunction | String | Name of the JavaScript function called to load tools registered dynamically at request time, in addition to any tools registered statically through the builder. |
| tools | List<RepoAppMcpToolMapping> | Tools statically registered on this MCP server through the builder. |
| type | String | Server type, used as the URL segment and lookup key for this MCP server. |
Methods
getType() · getServerName() · getServerVersion() · getInstructions() · getToolFunction() · getTools() · isAdminOnly() · isPublic() · getRoles()
getType()
Returns: String
Server type, used as the URL segment and lookup key for this MCP server.
getServerName()
Returns: String
Display name of the MCP server, reported to connecting clients.
getServerVersion()
Returns: String
Version of the MCP server, reported to connecting clients.
getInstructions()
Returns: String
Instructions describing how to use this MCP server, reported to connecting clients.
getToolFunction()
Returns: String
Name of the JavaScript function called to load tools registered dynamically at request time, in addition to any tools registered statically through the builder.
getTools()
Returns: List<RepoAppMcpToolMapping>
Tools statically registered on this MCP server through the builder.
isAdminOnly()
Returns: boolean
Whether this server is only reachable from the admin console rather than from public websites.
isPublic()
Returns: boolean
Whether this server allows anonymous access. When false, a request must be authenticated.
getRoles()
Returns: List<String>
Names of the roles permitted to use this server, when access is restricted by role.