Agentic Data Plane
Preview

OData Managed MCP Server Configuration Reference

Look up the options that the OData managed MCP server takes in its configuration form and in --managed.config JSON.

Use this reference to:

  • Look up each option’s form label, JSON name, type, and default

  • Find the wildcard syntax for choosing which entity sets the server exposes

  • Identify the fields that each authentication mode takes

Option summary

The configuration form and the --managed.config JSON of rpk ai mcp-server create take the same options. To create a server with these options, see OData Managed MCP Server.

Form field JSON field Type Required Default What it sets

Service URL

serviceUrl

String

Yes

None

The service root that the server sends its requests to. See Service URL and $metadata.

Metadata URL

metadataUrl

String

No

<service-url>/$metadata

Where the server reads $metadata from. See Service URL and $metadata.

Metadata Content

metadataContent

String, up to 3 MiB

No

None

The $metadata XML that the server uses instead of fetching it. See Service URL and $metadata.

Version

version

String: VERSION_V2 or VERSION_V4

No

Detected from $metadata

The OData version, V2 or V4. See Version.

Include Entity Sets, in Filter

filter.includeEntitySets

List of strings

No

Every entity set

Wildcard (glob) patterns for the entity sets to expose. See Filter.

Exclude Entity Sets, in Filter

filter.excludeEntitySets

List of strings

No

None

Wildcard (glob) patterns for the entity sets to leave out. See Filter.

Query, Get, Count, Create, Update, Delete, in Operations

operations.query, operations.get, operations.count, operations.create, operations.update, operations.delete

Boolean, for each operation

No

Query and Get

The tools to generate for each entity set. See Operations.

Name Overrides

nameOverrides

Map of strings, from entity set name to prefix

No

None

A fixed tool-name prefix for an entity set. See Name overrides.

Default Page Size

defaultPageSize

Integer, 0 or more

No

50

The number of records a query asks for when the agent doesn’t set top. See Page sizes.

Max Page Size

maxPageSize

Integer, 0 or more

No

500

The cap on an agent’s top. The server lowers a larger top to this value. See Page sizes.

Enable Csrf

enableCsrf

Boolean

No

Off

Whether the server fetches a cross-site request forgery (CSRF) token before each write. See CSRF tokens.

Auth

One of noAuth, bearer, apiKey, basic, or userOauth

Object

Yes

None

How the server authenticates to the service. See Authentication fields.

CA Certificates, in TLS

tls.caCertificates

String of PEM blocks

No

None

Certificates to trust in addition to the system’s trusted root certificates. See TLS.

Entity Sets and Properties, in Document Text

documentText.entitySets, documentText.properties

List of strings: entity set names in Entity Sets, <entity-set>/<property> entries in Properties

No

None

Where the service keeps files for agents to read as text. See Read files as text.

Service URL and $metadata

The Service URL field expects the service root without a query string, such as https://erp.example.com/odata/PurchaseRequisitions. When you save, Redpanda Agentic Data Plane refuses a service URL on a cloud metadata, link-local, IPv6 unique local, or cluster-local host. The server builds each request by adding an entity set and query options after it, such as <service-url>/A_PurReqnHeader?$top=50. With a query string in Service URL, the entity set and options end up inside that query string. Every request then goes to the service root.

Where the server reads $metadata depends on which option you set:

  • With neither Metadata URL nor Metadata Content set, from <service-url>/$metadata.

  • With Metadata URL, from that URL. Use it when the service serves $metadata somewhere else. The server applies its authentication mode to this request. Agentic Data Plane refuses the same hosts that it refuses for Service URL.

  • With Metadata Content, from XML that you paste or load from a file, up to 3 MiB. The server never fetches $metadata, so update the XML when the service’s $metadata changes. Use it when the server can’t read $metadata from the service. Also use it when the tools must come from a $metadata that you control, such as with User OAuth. When you save, Agentic Data Plane checks the Document Text entries against it.

To leave entity sets out, use Filter instead of deleting them from the Metadata Content XML. The server hides navigation properties only when Filter removes an entity set. Deleting an entity set from the XML hides no navigation properties. See Entity sets that Filter leaves out.

Set at most one of Metadata URL and Metadata Content. Saving with both set fails with Use either a metadata URL or metadata content, not both.

When the server reads $metadata from the service, a change to that document reaches the tools after a rebuild. Agentic Data Plane usually rebuilds the server within 10 minutes. With User OAuth, the source of $metadata also decides which callers get tools. See Metadata with User OAuth.

Version

If you leave Version unset, the server detects the version from $metadata. An Entity Data Model XML (EDMX) Version attribute that starts with 4, such as 4.0, means OData v4. A DataServiceVersion attribute that starts with 2, or an EDMX Version attribute that starts with 1, means OData v2. When $metadata declares any other version, or none, the server builds v4 requests. Set Version only when the server detects the wrong version for your service.

The version decides how the server builds its requests and the types of some tool inputs:

Behavior OData v2 OData v4

Update request method

MERGE

PATCH

Count request

$inlinecount=allpages with $top=0

<entity-set>/$count

$format on query, get, and count requests

$format=json

None

Type of Edm.Int64 and Edm.Decimal tool inputs

String

Integer for Edm.Int64, number for Edm.Decimal

Filter

Use Filter to expose only the entity sets that agents need. Each of its fields takes a list of wildcard (glob) patterns:

  • Include Entity Sets: With no patterns, the server starts from every entity set. With one or more, it keeps only the entity sets that match at least one pattern.

  • Exclude Entity Sets: The server removes each entity set that matches any of these patterns, even one that an include pattern matches.

Each pattern must match an entity set’s whole name, such as A_PurReqnHeader. That name is the Name attribute of the EntitySet element in $metadata. Matching is case-sensitive, and patterns don’t match tool names or entity type names. Patterns can use these wildcards:

Wildcard Matches

*

Zero or more characters

?

Exactly one character

[...]

One character from the list or range in the brackets, such as [AZ] (A or Z) or [A-Z] (any uppercase letter from A to Z)

[^...]

One character that isn’t in the list or range, such as [^A] (any character except A)

These examples use a service with the entity sets A_PurReqnHeader, A_PurchaseRequisitionItem, A_PurReqnAccountAssignment, and Z_ChangeLog:

Include Entity Sets Exclude Entity Sets Entity sets the server exposes

A_*

No patterns

A_PurReqnHeader, A_PurchaseRequisitionItem, A_PurReqnAccountAssignment

No patterns

*AccountAssignment

A_PurReqnHeader, A_PurchaseRequisitionItem, Z_ChangeLog

A_*

*AccountAssignment

A_PurReqnHeader, A_PurchaseRequisitionItem

A_PurReqn*

No patterns

A_PurReqnHeader, A_PurReqnAccountAssignment

*PurchaseRequisition*

No patterns

A_PurchaseRequisitionItem

[AZ]_*

A_PurReqn*

A_PurchaseRequisitionItem, Z_ChangeLog

PurchaseRequisition*

No patterns

None, because the pattern must match from the start of the name

a_*

No patterns

None, because matching is case-sensitive

A malformed pattern, such as [A-Z without its closing bracket, matches no entity set. Agentic Data Plane doesn’t report it when you save. After you save, run list_entity_sets on the server’s Inspector tab to check which entity sets the server exposes. It lists only the entity sets that the filter keeps. See Test an MCP Server’s Tools with the Inspector.

The filter also limits Document Text. Each entry must name an entity set that the filter keeps. See Read files as text.

The filter controls which tools the server has. To control which callers can use them, use access policies. See Manage Access Policies.

Entity sets that Filter leaves out

A kept entity set can still lead to a removed one through a navigation property. For example, a header’s to_Account property can lead to its account assignments. When the filter removes at least one entity set, the server closes those paths:

  • It hides each navigation property that leads to the entity type of a removed entity set. The describe_entity_set tool, the expand input, and the create tool’s body don’t offer it.

  • It refuses a call that names a hidden navigation property, before the call reaches the service. It checks filter, select, expand, orderby, and the keys in body.

  • It refuses $root in the same inputs, because $root reads any entity set by name.

  • It refuses * in expand, because * expands every navigation property.

These checks are broader than the filter patterns:

  • They ignore case.

  • They match by name. The server also hides a navigation property with the same name as a hidden one, even when it leads to a kept entity set. It refuses a plain property with that name too.

  • They look inside string literals. For example, the server refuses the filter Note eq 'to_Account', although the name appears only inside a string.

  • They treat an entity type as removed when the filter removes any entity set of that type. That holds even when the filter keeps another entity set of the same type.

To let agents use a hidden navigation property, change the filter so that it keeps every entity set of the property’s target type. If another navigation property with the same name leads to a removed entity set, the property stays hidden. For navigation properties that the server doesn’t hide, see Limitations.

Operations

In Operations, choose the tools that the server generates for each entity set. Each operation that you turn on gives each entity set one tool, named <prefix>_<operation>, such as <prefix>_count for Count. The server always generates the discovery tools list_entity_sets and describe_entity_set.

With every operation off, the server generates the query and get tools. Turning on any operation replaces that default. To keep the query and get tools, also turn on Query and Get. For example, with only Count on, each entity set gets a count tool and no query or get tool.

The file_text tools that Document Text adds don’t depend on Operations. For each tool’s inputs and results, and for entity sets without a key, see Use with agents.

Name overrides

The server names each data tool <prefix>_<operation>, with a prefix made from the entity set’s name. See Use with agents. The server shortens a generated prefix when a name is too long or when two names collide. As a result, a change to $metadata can change a prefix. To keep a prefix fixed, add a row to Name Overrides:

  • Key: The entity set’s name, exactly as $metadata writes it, such as A_PurchaseRequisitionItem.

  • Value: The prefix, such as pr_item.

The server converts the value to lowercase snake case. It splits the value at underscores and camel-case word boundaries. For example, PrItem gives the prefix pr_item, so the entity set’s query tool is pr_item_query.

The server reserves each override before it generates the other prefixes, so a generated prefix never matches an override. Follow these rules for overrides:

  • Keep each override short. The server doesn’t shorten an override.

  • Use only letters, digits, and underscores.

  • Give each entity set a different prefix. When two overrides give the same prefix, one entity set’s tools replace the other’s.

The describe_entity_set tool accepts the prefix in place of the entity set’s name.

Page sizes

The query tools always ask the service for a page of records with $top:

  • Default Page Size: The $top that a query sends when the agent doesn’t set top. A value of 0 gives the default of 50.

  • Max Page Size: The cap on an agent’s top. The server lowers a larger top to this value. A value of 0 gives the default of 500.

Lower Max Page Size to protect a slow service from large queries. Keep Default Page Size at or below Max Page Size. The server doesn’t lower Default Page Size to Max Page Size. Agents read later pages with the query tool’s skip input.

CSRF tokens

Some services refuse a write unless the client first fetches a CSRF token. For such a service, turn on Enable Csrf. It matters only when Create, Update, or Delete is on. With it on, the server makes two requests for each create, update, or delete:

  1. The server sends a GET request to <service-url>/ with the header X-CSRF-Token: Fetch and its usual authentication.

  2. The server sends the write with the returned token in its X-CSRF-Token header, and with the cookies from the token response.

Query, get, and count requests don’t change. If the service returns no token, the write fails. See Troubleshooting.

Authentication fields

To choose an authentication mode, see Authentication.

Each field whose label ends in Secret Ref takes the name of a secret in the secret store, such as ODATA_PASSWORD. Secret names use UPPER_SNAKE_CASE. In the form, choose an existing secret or create a new one. Each mode takes these fields:

Mode Form field JSON field Type Required What it sets

No Auth

None

noAuth

Empty object

Not applicable

Nothing. In JSON, set noAuth to {}. The server sends requests without credentials.

Bearer

Key Secret Ref

bearer.keySecretRef

String

Yes

The secret that holds the token, without the word Bearer.

Header Name

bearer.headerName

String

No

Nothing. The server ignores it and always sends Authorization: Bearer <token>.

API Key

Key Secret Ref

apiKey.keySecretRef

String

Yes

The secret that holds the key.

Name

apiKey.name

String

Yes

The header or query parameter that carries the key, such as X-API-Key.

Location

apiKey.location

String: LOCATION_HEADER or LOCATION_QUERY

Yes

Where the server sends the key, Header or Query. With Query, the server adds the key to the query string of every request, including the $metadata fetch.

Basic

Username

basic.username

String

Yes

The username, such as a technical user’s name.

Password Secret Ref

basic.passwordSecretRef

String

Yes

The secret that holds the password, or an API token that the service accepts as the password.

User OAuth

Provider Name

userOauth.providerName

String

Yes

The OAuth provider that holds each user’s connection to the service. To choose one, see User OAuth settings.

Required Scopes

userOauth.requiredScopes

List of strings

No

The scopes that each user’s connection must have. A user whose connection lacks one gets a scope_upgrade_required error until they reconnect and grant the missing scope.

Header Name, in Injection

userOauth.injection.headerName

String

No

The header that carries the user’s token. The default is Authorization.

Header Prefix, in Injection

userOauth.injection.headerPrefix

String

No

The word before the token. The default is Bearer, and an empty value also gives Bearer.

Client ID

userOauth.clientId

String

No

Leave it empty. The server doesn’t use it.

Client Secret Ref

userOauth.clientSecretRef

String

No

Leave it empty. The server doesn’t use it, but a secret name that the secret store doesn’t hold stops the server from loading.

Automatic Setup

userOauth.automaticSetup

Boolean

No

Leave it off. The server doesn’t use it.

TLS

For a service whose certificate comes from a private certificate authority (CA), add the CA’s PEM certificate to CA Certificates in TLS. For a service with a self-signed certificate, add that certificate instead. Upload a .pem, .crt, or .cer file, or paste the PEM blocks. The server trusts these certificates in addition to the system’s trusted root certificates. It trusts them only for its own requests to the service, including the $metadata fetch. Agentic Data Plane refuses a private key or an expired certificate in this field. For the format rules, see Trusted certificates.