tentackle-mcp:serve
Full name:
org.tentackle:tentackle-mcp-maven-plugin:25.20.0.0:serve
Description:
Serves the model to coding agents over MCP.
Loads the model, logs the configuration warnings and the endpoint, and blocks until the server is stopped with Ctrl-C. If the model does not load, the goal fails instead of serving a fragment of it.
Attributes:
- Requires a Maven project to be executed.
- Executes as an aggregator goal.
- The goal is thread-safe and supports parallel builds.
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<backends> |
String |
- |
The comma-separated list of database backends the model is validated against.
Without them, names, types, and sizes are not verified. all selects every non-deprecated backend.User Property: tentackle.backends |
<charset> |
String |
- |
The encoding to read and write files.
Applied JVM-wide, see org.tentackle.maven.AbstractTentackleMojo.determineEncoding()
.Default: ${project.build.sourceEncoding} |
<entityAliases> |
String |
- |
The entity aliases. User Property: tentackle.entityAliases |
<filesets> |
List<FileSet> |
- |
The directories containing the model, in load order (dependency models first).
If set, the modelDir is ignored. Only the directory of each file set is used: includes and excludes are ignored, all .map files of the directory are loaded. A file set without a directory stands for the modelDir. |
<host> |
String |
- |
The address to bind to. Default: localhostUser Property: tentackle.mcp.host |
<jdkToolchain> |
Map<String,String> |
- |
Toolchain for invocation of external tools.
Explicitly specifies the "jdk" toolchain for this plugin only. Overrides the toolchain selected by the maven-toolchain-plugin, if any.
Example: <jdkToolchain>
<version>25</version>
</jdkToolchain>
To deselect the toolchain configured by the maven-toolchain-plugin:
<jdkToolchain></jdkToolchain> |
<loadModelFromDependencies> |
boolean |
- |
Load the model from the plugin dependencies on the classpath as well.
That part of the model is a snapshot: it is not checked for changes. Default: false |
<mapSchemas> |
boolean |
- |
True if schema names are mapped. User Property: tentackle.mapSchemas |
<maxResults> |
int |
- |
The hard upper bound for the number of rows a tool may return, also the default of every limit.Default: 1000 |
<minLogLevel> |
String |
- |
The minimum logging java.util.logging.Level
to redirect java.util logging to the maven logger.
Any name or value accepted by java.util.logging.Level.parse(java.lang.String)
.Default: WARNING |
<modelDefaults> |
String |
- |
The model defaults.
Without them the model is loaded exactly as written, which usually differs from what the build sees. User Property: tentackle.modelDefaults |
<modelDir> |
File |
- |
Directory holding the model files to be processed.
Ignored if filesets are given. Default: ${project.build.directory}/wurbel/modelUser Property: tentackle.modelDir |
<modelName> |
String |
- |
The model name. Default: defaultUser Property: tentackle.modelName |
<path> |
String |
- |
The path of the MCP endpoint. Default: /mcpUser Property: tentackle.mcp.path |
<port> |
int |
- |
The port to listen on, 0 for any free port (the logged endpoint shows the one chosen). Default: 8770User Property: tentackle.mcp.port |
<serverName> |
String |
- |
The server name reported to the client during initialization. Default: tentackle-model |
<skip> |
Boolean |
- |
Skips processing.
If not set, defaults to true if packaging is "pom" and the execution is recursive (see org.tentackle.maven.AbstractTentackleMojo.isSkippedByDefault()
). |
<stalenessCheckMillis> |
long |
- |
The minimum delay between two checks for changed model files in milliseconds. Default: 1000 |
<verbosity> |
String |
- |
The verbosity.
One of "default", "info" or "debug". Other values are treated as "default". If not set, debug is turned on by Maven's global debug flag (see command line switch -X).Default: ${tentackle.verbosity} |
Parameter Details
<backends>
The comma-separated list of database backends the model is validated against.
Without them, names, types, and sizes are not verified.
Without them, names, types, and sizes are not verified.
all selects every non-deprecated backend.- Type:
java.lang.String - Required:
No - User Property:
tentackle.backends
<charset>
The encoding to read and write files.
Applied JVM-wide, see
Applied JVM-wide, see
org.tentackle.maven.AbstractTentackleMojo.determineEncoding()
.- Type:
java.lang.String - Required:
No - Default:
${project.build.sourceEncoding}
<entityAliases>
The entity aliases.
- Type:
java.lang.String - Required:
No - User Property:
tentackle.entityAliases
<filesets>
The directories containing the model, in load order (dependency models first).
If set, the modelDir is ignored. Only the
If set, the modelDir is ignored. Only the
directory of each file set is used: includes and excludes are ignored, all .map files of the directory are loaded. A file set without a directory stands for the modelDir.- Type:
java.util.List<org.apache.maven.shared.model.fileset.FileSet> - Required:
No
<host>
The address to bind to.
- Type:
java.lang.String - Required:
No - User Property:
tentackle.mcp.host - Default:
localhost
<jdkToolchain>
Toolchain for invocation of external tools.
Explicitly specifies the
Explicitly specifies the
"jdk" toolchain for this plugin only. Overrides the toolchain selected by the maven-toolchain-plugin, if any.
Example:
<jdkToolchain>
<version>25</version>
</jdkToolchain>
To deselect the toolchain configured by the maven-toolchain-plugin:
<jdkToolchain></jdkToolchain>
- Type:
java.util.Map<java.lang.String, java.lang.String> - Required:
No
<loadModelFromDependencies>
Load the model from the plugin dependencies on the classpath as well.
That part of the model is a snapshot: it is not checked for changes.
That part of the model is a snapshot: it is not checked for changes.
- Type:
boolean - Required:
No - Default:
false
<mapSchemas>
True if schema names are mapped.
- Type:
boolean - Required:
No - User Property:
tentackle.mapSchemas
<maxResults>
The hard upper bound for the number of rows a tool may return, also the default of every
limit.- Type:
int - Required:
No - Default:
1000
<minLogLevel>
The minimum logging
Any name or value accepted by
java.util.logging.Level
to redirect java.util logging to the maven logger.
Any name or value accepted by
java.util.logging.Level.parse(java.lang.String)
.- Type:
java.lang.String - Required:
No - Default:
WARNING
<modelDefaults>
The model defaults.
Without them the model is loaded exactly as written, which usually differs from what the build sees.
Without them the model is loaded exactly as written, which usually differs from what the build sees.
- Type:
java.lang.String - Required:
No - User Property:
tentackle.modelDefaults
<modelDir>
Directory holding the model files to be processed.
Ignored if filesets are given.
Ignored if filesets are given.
- Type:
java.io.File - Required:
No - User Property:
tentackle.modelDir - Default:
${project.build.directory}/wurbel/model
<modelName>
The model name.
- Type:
java.lang.String - Required:
No - User Property:
tentackle.modelName - Default:
default
<path>
The path of the MCP endpoint.
- Type:
java.lang.String - Required:
No - User Property:
tentackle.mcp.path - Default:
/mcp
<port>
The port to listen on, 0 for any free port (the logged endpoint shows the one chosen).
- Type:
int - Required:
No - User Property:
tentackle.mcp.port - Default:
8770
<serverName>
The server name reported to the client during initialization.
- Type:
java.lang.String - Required:
No - Default:
tentackle-model
<skip>
Skips processing.
If not set, defaults to true if packaging is "pom" and the execution is recursive (see
If not set, defaults to true if packaging is "pom" and the execution is recursive (see
org.tentackle.maven.AbstractTentackleMojo.isSkippedByDefault()
).- Type:
java.lang.Boolean - Required:
No
<stalenessCheckMillis>
The minimum delay between two checks for changed model files in milliseconds.
- Type:
long - Required:
No - Default:
1000
<verbosity>
The verbosity.
One of "default", "info" or "debug". Other values are treated as "default".
If not set, debug is turned on by Maven's global debug flag (see command line switch
One of "default", "info" or "debug". Other values are treated as "default".
If not set, debug is turned on by Maven's global debug flag (see command line switch
-X).- Type:
java.lang.String - Required:
No - Default:
${tentackle.verbosity}
Tentackle