Custom MCP server
Tipo de conexión
mcpAny remote MCP server, by its address. Its tools can be offered to your AI agents, one tool at a time.
De un vistazo
| Propiedad | Valor |
|---|---|
| Class name | mcp |
| Resource | ConnectorClass (lumen.ai/v1alpha1); a workspace creates a Connector with classRef: {name: mcp} |
| Driver | mcp |
| Provides | mcp |
| Mode | pull (Lumen reaches out to the system) |
| Credential keys | headerValue (kept in a Secret, never in config) |
| Installation must provide | mcp |
A workspace adds this connection on the Connections page or with lumen connect; credentials are kept in a Secret, never in the flow.
Ajustes
Se definen bajo config: en el Connector.
| Ajuste | Tipo | Valor por defecto | Descripción |
|---|---|---|---|
auth | string | "none" | How Lumen signs inone of none, header |
headerName | string | - | The header the key goes in. Empty is Authorization.maxLength 64 |
tools | map of object | - | Tools agents may use |
urlobligatorio | string | - | The MCP server's address, for example https://mcp.example.com/mcp. It must start with https:// and carry no query: put a key in the header value instead.minLength 8; maxLength 2048 |
El JSON Schema completo de estos ajustes: mcp.schema.json.
Configuración guiada
lumen connect y la aplicación web te guían para añadir esta conexión.
Credenciales que se piden
headerValue: Header value
Uso
connector.yaml
apiVersion: lumen.ai/v1alpha1
kind: Connector
metadata:
name: my-mcp
namespace: tenant-acme
spec:
classRef: {name: mcp}
config: {}
¿Te ha resultado útil esta página?