tentackle-mcp:serve

Full name:

org.tentackle:tentackle-mcp-maven-plugin:25.19.0.0:serve

Description:

Serves the model to coding agents over MCP.

Blocks until the server is stopped with Ctrl-C.

Attributes:

  • Requires a Maven project to be executed.
  • Executes as an aggregator goal.
  • The goal is not marked as thread-safe and thus does not support 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.
Default: ${project.build.sourceEncoding}
<entityAliases> String - The entity aliases.
User Property: tentackle.entityAliases
<filesets> List<FileSet> - The list of file sets containing the model.
If set, the modelDir is ignored.
<host> String - The address to bind to.
Default: localhost
User 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>14</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.
Default: false
<mapSchemas> boolean - True if schema names are mapped.
User Property: tentackle.mapSchemas
<maxResults> int - The maximum number of rows a tool may return.
Default: 1000
<minLogLevel> String - The minimum logging java.util.logging.Level to redirect java.util logging to the maven logger.
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 explicitly given.
Default: ${project.build.directory}/wurbel/model
User Property: tentackle.modelDir
<modelName> String - The model name.
Default: default
User Property: tentackle.modelName
<path> String - The path of the MCP endpoint.
Default: /mcp
User Property: tentackle.mcp.path
<port> int - The port to listen on.
Default: 8770
User Property: tentackle.mcp.port
<serverName> String - The server name reported to the client during initialization.
Default: tentackle-model
<skip> Boolean - Skips processing.
Defaults to true if packaging is "pom".
<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". Debug is also turned on (if not set explicitly) 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. all selects every non-deprecated backend.
  • Type: java.lang.String
  • Required: No
  • User Property: tentackle.backends

<charset>

The encoding to read and write files.
  • 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 list of file sets containing the model.
If set, the modelDir is ignored.
  • 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 "jdk" toolchain for this plugin only. Overrides the toolchain selected by the maven-toolchain-plugin, if any.

Example:

  <jdkToolchain>
    <version>14</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.
  • Type: boolean
  • Required: No
  • Default: false

<mapSchemas>

True if schema names are mapped.
  • Type: boolean
  • Required: No
  • User Property: tentackle.mapSchemas

<maxResults>

The maximum number of rows a tool may return.
  • Type: int
  • Required: No
  • Default: 1000

<minLogLevel>

The minimum logging java.util.logging.Level to redirect java.util logging to the maven logger.
  • 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.
  • Type: java.lang.String
  • Required: No
  • User Property: tentackle.modelDefaults

<modelDir>

Directory holding the model files to be processed.
Ignored if filesets explicitly 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.
  • 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.
Defaults to true if packaging is "pom".
  • 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". Debug is also turned on (if not set explicitly) by Maven's global debug flag (see command line switch -X).
  • Type: java.lang.String
  • Required: No
  • Default: ${tentackle.verbosity}