Zum Hauptinhalt springen

Custom MCP server

Verbindungstypmcp

Any remote MCP server, by its address. Its tools can be offered to your AI agents, one tool at a time.

Auf einen Blick​

EigenschaftWert
Class namemcp
ResourceConnectorClass (lumen.ai/v1alpha1); a workspace creates a Connector with classRef: {name: mcp}
Drivermcp
Providesmcp
Modepull (Lumen reaches out to the system)
Credential keysheaderValue (kept in a Secret, never in config)
Installation must providemcp

A workspace adds this connection on the Connections page or with lumen connect; credentials are kept in a Secret, never in the flow.

Einstellungen​

Wird unter config: im Connector gesetzt.

EinstellungTypStandardwertBeschreibung
authstring"none"How Lumen signs inone of none, header
headerNamestring-The header the key goes in. Empty is Authorization.maxLength 64
toolsmap of object-Tools agents may use
urlerforderlichstring-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

Das vollständige JSON Schema dieser Einstellungen: mcp.schema.json.

Geführte Einrichtung​

lumen connect und die Web-App führen Sie durch das Hinzufügen dieser Verbindung.

Abgefragte Zugangsdaten

  • headerValue: Header value

Verwendung​

connector.yaml
apiVersion: lumen.ai/v1alpha1
kind: Connector
metadata:
name: my-mcp
namespace: tenant-acme
spec:
classRef: {name: mcp}
config: {}