Logotipo de MCP Server Plugin for Jenkins

MCP Server Plugin for Jenkins

Organización
jenkinsci

The MCP (Model Context Protocol) Server Plugin for Jenkins implements the server-side component of the Model Context Protocol. This plugin enables Jenkins to act as an MCP server, providing context,…

Editorjenkinsci
Repositoriomcp-server-plugin
IdiomaJava
Forks
64
Estrellas
111
Herramientas disponibles
0
Tipo de transportestdio, streamable-http
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    MCP Server Plugin for Jenkins ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    111 estrellas y 64 forks en el repositorio enlazado.

MCP Server Plugin for Jenkins

The MCP (Model Context Protocol) Server Plugin for Jenkins implements the server-side component of the Model Context Protocol. This plugin enables Jenkins to act as an MCP server, providing context, tools, and capabilities to MCP clients, such as LLM-powered applications or IDEs.

Features

  • MCP Server Implementation: Implements the server-side of the Model Context Protocol.
  • Jenkins Integration: Exposes Jenkins functionalities as MCP tools and resources.
  • Extensible Architecture: Allows easy extension of MCP capabilities through the McpServerExtension interface.

Key Components

  1. Endpoint: The main entry point for MCP communication, handling MCP transport connections and message routing.
  2. DefaultMcpServer: Implements McpServerExtension, providing default tools for interacting with Jenkins jobs and builds.
  3. McpToolWrapper: Wraps Java methods as MCP tools, handling parameter parsing and result formatting.
  4. McpServerExtension: Interface for extending MCP server capabilities.

MCP SDK Version

This MCP Server is based on the MCP Java SDK version 0.17.2, which implements the MCP specification version 2025-06-18.

Getting Started

Configuration

The MCP Server plugin automatically sets up necessary endpoints and tools upon installation, requiring no additional configuration.

System properties

The following system properties can be used to configure the MCP Server plugin:

  • hard limit on max number of log lines to return with io.jenkins.plugins.mcp.server.extensions.BuildLogsExtension.limit.max=10000 (default 10000)
  • disable stateless endpoint with io.jenkins.plugins.mcp.server.Endpoint.disableMcpStateless=true (default false)
  • disable SSE endpoint with io.jenkins.plugins.mcp.server.Endpoint.disableMcpSse=true (default false)
  • disable streamable HTTP endpoint with io.jenkins.plugins.mcp.server.Endpoint.disableMcpStreamable=true (default false)

Origin header validation

The MCP specification marks validating the Origin header of incoming requests as a MUST.

By default, when an Origin header is present it is validated against the configured Jenkins root URL (io.jenkins.plugins.mcp.server.Endpoint.requireOriginMatch defaults to true). Requests that do not send an Origin header are still allowed, so AI agents that omit it keep working (io.jenkins.plugins.mcp.server.Endpoint.requireOriginHeader defaults to false).

  • To also reject requests that omit the Origin header, set io.jenkins.plugins.mcp.server.Endpoint.requireOriginHeader=true.
  • To disable Origin matching entirely (not recommended), set io.jenkins.plugins.mcp.server.Endpoint.requireOriginMatch=false.

Connection Resilience

The MCP Server plugin includes several features to improve connection reliability.

The keep-alive and timeout tuning described below primarily concern the SSE transport (/mcp-server/sse), which holds a single long-lived server→client connection open and is therefore sensitive to idle timeouts in Jenkins, proxies, and load balancers. If you use Streamable HTTP (/mcp-server/mcp) with the usual request/response pattern, you are unlikely to need any of it (see Transport Recommendation). The health, metrics, and graceful-shutdown features apply to all transports.

Keep-Alive Messages

For the SSE transport, the server sends periodic keep-alive pings over the open connection to detect broken connections and to stop idle timeouts (in Jenkins, proxies, or load balancers) from closing it. By default, pings are sent every 30 seconds.

You can configure this interval with the system property:

io.jenkins.plugins.mcp.server.Endpoint.keepAliveInterval=30

Set to 0 to disable keep-alive messages (not recommended for SSE).

[!NOTE] A ping is only delivered when there is an open server→client stream. SSE always has one. Streamable HTTP only has one while the client keeps a long-lived GET stream open; for a plain POST request/response client there is no stream to ping, so this setting has no effect.

Health Endpoint

A lightweight MCP-specific health endpoint is available for connection monitoring at:

<jenkins-url>/mcp-health

This endpoint:

  • Returns MCP server status and active connection counts
  • Requires no authentication for maximum accessibility
  • Returns immediately without MCP protocol overhead
  • Returns HTTP 200 when healthy, HTTP 503 during shutdown
  • Includes Retry-After header during shutdown

Response format:

json
{
  "mcpServerStatus": "ok",
  "activeConnections": 5,
  "shuttingDown": false,
  "timestamp": "2025-01-28T10:30:00Z"
}

Recommended client usage:

  • Poll the health endpoint periodically (e.g., every 10-30 seconds)
  • When the endpoint returns 503 or becomes unreachable, prepare for reconnection
  • Use the Retry-After header value when available

Metrics Endpoint

A metrics endpoint is available for monitoring connection statistics at:

<jenkins-url>/mcp-server/metrics

This endpoint requires authentication (standard Jenkins permissions) and provides:

json
{
  "sseConnectionsTotal": 42,
  "sseConnectionsActive": 3,
  "streamableRequestsTotal": 150,
  "connectionErrorsTotal": 2,
  "uptimeSeconds": 3600,
  "startTime": "2025-01-28T10:00:00Z"
}

Graceful Shutdown

When Jenkins shuts down, the health endpoint will return 503 Service Unavailable with a brief grace period before full termination. This allows clients to detect the shutdown and prepare for reconnection.

Transport Recommendation

For better connection reliability, we recommend using Streamable HTTP (/mcp-server/mcp) instead of SSE (/mcp-server/sse). Streamable HTTP handles connection issues more gracefully and is the preferred transport for most MCP clients.

Production Deployment

When deploying the SSE transport behind a reverse proxy or in production environments, configure the timeout settings below so the long-lived connection is not dropped prematurely. Streamable HTTP users generally don't need this (see the note at the end of this section).

Jenkins/Jetty Configuration (SSE)

Jenkins uses Winstone (embedded Jetty) which defaults httpKeepAliveTimeout to 30 seconds. Since MCP keep-alive pings are also sent every 30 seconds, this creates a race condition where Jetty may close the SSE connection before the next ping arrives.

Add this argument to your Jenkins startup command:

--httpKeepAliveTimeout=600000

For Docker deployments, add to your docker-compose.yml:

yaml
services:
  jenkins:
    image: jenkins/jenkins:lts
    command: ["--httpKeepAliveTimeout=600000"]

Reverse Proxy Configuration (Nginx)

For Nginx, extend timeouts for the MCP endpoints. This keeps SSE connections from being closed while idle:

nginx
location ~ ^/(mcp-server|mcp-health)/ {
    proxy_pass http://jenkins;
    proxy_http_version 1.1;
    proxy_request_buffering off;
    proxy_buffering off;
    proxy_set_header Connection "";
    proxy_read_timeout 600s;
    proxy_send_timeout 600s;
}

[!NOTE] The one timeout that can also affect Streamable HTTP is proxy_read_timeout: a single long-running tool call (for example a slow triggerBuild) can exceed a short default and return 504 Gateway Timeout. Raising proxy_read_timeout as shown above prevents that regardless of transport. The httpKeepAliveTimeout race condition above is SSE-only.

Transport Endpoints

The MCP Server plugin provides three transport endpoints, all enabled by default:

TransportEndpointDescription
SSE/mcp-server/sse + /mcp-server/messageServer-Sent Events transport with session management
Streamable HTTP/mcp-server/mcpStreamable HTTP transport with session management
Stateless/mcp-server/statelessStateless HTTP transport without session management

Each transport can be disabled independently using system properties:

-Dio.jenkins.plugins.mcp.server.Endpoint.disableMcpSse=true
-Dio.jenkins.plugins.mcp.server.Endpoint.disableMcpStreamable=true
-Dio.jenkins.plugins.mcp.server.Endpoint.disableMcpStateless=true
When to use Stateless transport

The stateless endpoint (/mcp-server/stateless) is useful for:

  • Simple deployments where session management overhead is not needed
  • Environments where clients make independent requests without maintaining a persistent connection
  • Testing and debugging scenarios
  • Clients that don't support session-based protocols

Usage

Connecting to the MCP Server

MCP clients can connect to the server using:

  • Streamable HTTP Endpoint: <jenkins-url>/mcp-server/mcp
  • SSE Endpoint: <jenkins-url>/mcp-server/sse
  • Message Endpoint: <jenkins-url>/mcp-server/message
  • Stateless Endpoint: <jenkins-url>/mcp-server/stateless

Authentication and Credentials

The MCP Server Plugin requires the same credentials as the Jenkins instance it's running on. To authenticate your MCP queries:

  1. Jenkins API Token: Generate an API token from your Jenkins user account.
  2. Basic Authentication: Use the API token in the HTTP Basic Authentication header.

Generate a personal access token

To generate a personal access token:

  • Sign in to Jenkins.
  • Select your user icon in the upper-right corner, and then select Security.
  • Select Add new token.
  • Enter a name to distinguish the token, and then select Generate.
  • Copy the token and store it in a secure location for later use.

[!WARNING] Once you leave the page, you cannot view or copy the token again.

  • Select Done to add the token.
  • Select Save to save your changes.

Encode credentials for HTTP basic authentication

Use basic HTTP authentication with the MCP agent by encoding it with the personal access token.

To encode credentials on Linux, macOS, or Windows:

Open a terminal and run the following command, replacing <username> and <token> with your actual username and the personal access token you generated in Jenkins

  • Linux or macOS
bash
echo -n "<username>:<token>" | base64
  • Windows (PowerShell)
powershell
[Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes("<username>:<token>"))

if successful, the Base64-encoded credential is output, similar to the following:

bash
dXNlcm5hbWU6dG9rZW4=

Store the encoded credential in a secure location for later use.

[!NOTE] Base64 encoding is not encryption. Anyone with access to the encoded string can decode it and obtain your credentials. Always protect the encoded credentials as if they are the original username and token.

Example Client Configurations

Cline Configuration

json
{
  "mcpServers": {
    "jenkins": {
      "autoApprove": [
        
      ],
      "disabled": false,
      "timeout": 60,
      "type": "streamableHttp",
      "url": "https://jenkins-host/mcp-server/mcp",
      "headers": {
        "Authorization": "Basic <user:token base64>"
      }
    }
  }
}

Copilot Configuration

Copilot doesn't work well with the Streamable transport as of now, and I'm still investigating the issues. Please continue to use the SSE endpoint.

json
{
  "mcp": {
    "servers": {
      "jenkins": {
        "type": "sse",
        "url": "https://jenkins-host/mcp-server/sse",
        "headers": {
          "Authorization": "Basic <user:token base64>"
        }
      }
    }
  }
}

Streamable example:

json
{
  "servers": {
    "jenkins": {
      "type": "http",
      "url": "http://jenkins-host/mcp-server/mcp",
      "requestInit": {
        "headers": {
          "Authorization": "Basic <user:token base64>"
        }
      }
    }
  }
}

Windsurf Configuration

json
{
  "servers": {
    "jenkins": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://jenkins-host/mcp-server/mcp",
        "--header",
        "Authorization: Bearer ${AUTH_TOKEN}"
      ],
      "env": {
        "AUTH_TOKEN": "Basic <user:token base64>"
      }
    }
  }
}

Cursor Configuration

json
{
  "mcpServers": {
    "jenkins": {
      "type": "http",
      "url": "https://jenkins-host/mcp-server/mcp",
      "headers": {
        "Authorization": "Basic <user:token base64>"
      }
    }
  }
}

Claude

bash
claude mcp add jenkins http://jenkins-host/mcp-server/mcp --transport http --header "Authorization: Basic <user:token base64>"

Stateless Configuration Example

For clients that prefer stateless communication without session management:

json
{
  "servers": {
    "jenkins": {
      "type": "http",
      "url": "http://jenkins-host/mcp-server/stateless",
      "requestInit": {
        "headers": {
          "Authorization": "Basic <user:token base64>"
        }
      }
    }
  }
}

Goose

  • Click “Add custom extension”
  • Give it a meaningful name
  • In the type Dropdown, select “Streamable HTTP”
  • Enter the endpoint URL. This should be something like http://jenkins-host/mcp-server/mcp
  • Scroll to “Request Headers”
  • In the empty field, type Authorization as the name. Then in the Value field, type “Basic <user:token base64>”
  • Click "Add"
  • Click “Add Extension”

Available Tools

The plugin provides the following built-in tools for interacting with Jenkins:

Job Management

  • getJob: Get a Jenkins job by its full path.

  • getJobs: Get a paginated list of Jenkins jobs, sorted by name.

  • triggerBuild: Trigger a build of a job. This tool supports parameterized builds. You can provide parameters as a JSON object where each key is the parameter name. For example:

    json
    {
      "jobFullName": "my-job",
      "parameters": {
        "BRANCH": "main",
        "DEBUG_MODE": "true"
      }
    }

    Note on Parameters:

    • Core Jenkins Parameters: Fully supported (String, Boolean, Choice, Text, Password, Run)
    • Plugin Parameters: Automatically detected and handled using reflection
    • File Parameters: Not supported via MCP (require file uploads)
    • Multi-select Parameters: Supported as arrays or lists
    • Custom Plugin Parameters: Automatically attempted using reflection-based detection
    • Fallback Behavior: Unsupported parameters fall back to default values with logging This tool returns a queue item if the job is successfully scheduled. You can use the returned queue item ID with the getQueueItem tool.
  • getQueueItem: Get information about a queued item using its ID.

Build Information

  • getBuild: Retrieve a specific build or the last build of a Jenkins job.
  • updateBuild: Update build display name and/or description.
  • getBuildLog: Retrieve log lines with pagination for a specific build or the last build. Supports forward reads, end-relative reads (negative skip/limit), and cursor pagination: every response carries a nextCursor you can pass back as cursor to keep reading without re-scanning from the top. The cursor is tied to the (job, buildNumber) it was issued for and is rejected if used against a different build. totalLines is exact for end-relative reads and -1 for forward/cursor reads (which stop as soon as they have enough lines, so the total is never computed). Reads a non-blocking snapshot, so it returns promptly even while a build is still running. If nextCursor is set but hasMoreContent is false, you've read everything written so far and the build is still going; hold onto the cursor and call again later to pick up whatever was appended in between.
  • searchBuildLog: Search for log lines matching a pattern (string or regex) in build logs. Reads a non-blocking snapshot (returns promptly for in-progress builds) and stops scanning early once maxMatches is reached.
  • rebuildBuild: Re-run a build with the same parameters. For Pipeline jobs with Replay support, uses the original script; for other parameterized jobs, schedules a new build with the same parameters. Optional buildNumber; defaults to the last build. Returns the queue item for the new build.
  • getReplayScripts: Return the main script and loaded scripts of a replayable Pipeline build. Use this to inspect or modify script before calling replayBuild. Fails for non-Pipeline jobs. Optional buildNumber; defaults to the last build.
  • replayBuild: Run a Pipeline build again with a modified script. Provide mainScript (required) and optionally loadedScripts. Optional buildNumber; defaults to the last build. Fails if the build is not replayable or replay is not allowed (e.g. permissions or sandbox).
  • getTestResults: Retrieve test results of a specific build or the last build.

SCM Integration

  • getJobScm: Retrieve SCM configurations of a Jenkins job.
  • getBuildScm: Retrieve SCM configurations of a specific build.
  • getBuildChangeSets: Retrieve change log sets of a specific build.
  • findJobsWithScmUrl: Find jobs using a specific SCM (git) repository URL

Management Information

  • whoAmI: Get information about the current user.
  • getStatus: Checks the health and readiness status of a Jenkins instance. Use this tool to assess Jenkins instance health rather than simple up/down status.

Each tool accepts specific parameters to customize its behavior. For detailed usage instructions and parameter descriptions, refer to the API documentation or use the MCP introspection capabilities.

To use these tools, connect to the MCP server endpoint and make tool calls using your MCP client implementation.

Enhanced Parameter Support

The MCP Server Plugin now provides comprehensive support for Jenkins parameters:

Supported Parameter Types

  • String Parameters: Text input with default values
  • Boolean Parameters: True/false values with automatic type conversion
  • Choice Parameters: Dropdown selections with validation
  • Text Parameters: Multi-line text input
  • Password Parameters: Secure input with Secret handling
  • Run Parameters: Build number references
  • Plugin Parameters: Automatically detected and handled

Parameter Handling Features

  • Type Conversion: Automatic conversion between JSON types and Jenkins parameter types
  • Validation: Choice parameters validate input against available options
  • Fallback: Unsupported parameters gracefully fall back to defaults
  • Reflection: Plugin parameter types automatically detected and handled
  • Logging: Comprehensive logging for debugging parameter issues

Example Usage

json
{
  "jobFullName": "my-parameterized-job",
  "parameters": {
    "BRANCH": "main",
    "DEBUG_MODE": true,
    "ENVIRONMENT": "production",
    "FEATURES": ["feature1", "feature2"],
    "NOTES": "Build triggered via MCP"
  }
}

Extending MCP Capabilities

To add new MCP tools or functionalities:

  1. Create a class implementing McpServerExtension.
  2. Use @Tool to expose methods as MCP tools.
  3. Use @ToolParam to define and describe tool parameters.

Example:

java
@Extension
public class MyCustomMcpExtension implements McpServerExtension {
	@Tool(description = "My custom tool")
	public String myCustomTool(@ToolParam(description = "Input parameter") String input) {
		// Tool implementation
	}
}

Constraining parameter values

For an object-shaped parameter (typically a Map), you can advertise a JSON Schema constraint on the values while keeping the keys open, using @ToolParam(additionalProperties = "<json>"). The value is a raw JSON sub-schema — a JSON object or a boolean — emitted verbatim as the parameter's additionalProperties:

java
@Tool(description = "My custom tool")
public String myCustomTool(
        @ToolParam(
                description = "Extra options",
                required = false,
                additionalProperties = "{\"type\":[\"string\",\"boolean\",\"integer\",\"number\",\"array\"]}")
        Map<String, Object> options) {
    // Tool implementation
}

Invalid JSON, or a value that isn't a JSON object or boolean, fails fast when the tool is registered.

Overriding a Built-in Tool

You can replace a built-in tool (or any tool contributed by another plugin) with your own implementation from a separate plugin. Declare a @Tool with the same name and set override = true:

java
@Extension
public class MyBuildLogExtension implements McpServerExtension {
	@Tool(name = "getBuildLog", description = "My own getBuildLog", override = true)
	public MyResponse getBuildLog(@ToolParam(description = "Job full name") String jobFullName) {
		// Your implementation replaces the built-in getBuildLog
	}
}

Rules:

  • Overriding is an explicit opt-in. A tool only replaces another tool of the same name when it sets override = true. This guarantees a built-in tool is never silently shadowed by an accidental name clash.
  • If two tools share a name and none of them sets override = true, the existing (built-in) tool is kept and the duplicate is skipped with a warning in the logs.
  • The @Extension(ordinal = ...) value is only used to break ties when several tools declare override = true for the same name: the one provided by the extension with the highest ordinal wins.
  • Each tool name is exposed exactly once, so MCP clients always see a single getBuildLog.

Result Handling

The MCP Server Plugin handles various result types with the following approach:

  • List Results: Each element in the list is converted to a separate text content item in the response.
  • Single Objects: The entire object is converted into a single text content item.

For serialization to text content:

  • @ExportedBean Annotation: If the result object is annotated with @ExportedBean (from org.kohsuke.stapler.export), Jenkins' org.kohsuke.stapler.export.Flavor.JSON exporting mechanism is used.
  • Other Objects: For objects without the @ExportedBean annotation, Jackson is used for JSON serialization.

This approach ensures flexible and efficient handling of different result types, accommodating both Jenkins-specific exported objects and standard Java objects. This flexible approach ensures that tool results are consistently and accurately represented in the MCP response, regardless of their complexity.

Integration with GitHub Copilot

The MCP Server Plugin seamlessly integrates with GitHub Copilot, enhancing your development experience by providing direct access to Jenkins information within your IDE. This integration allows you to interact with Jenkins jobs and builds using natural language queries. GitHub Copilot Integration

As shown in the screenshot:

  1. You can ask Copilot about Jenkins jobs using natural language, e.g., "list jenkins job under root".
  2. Copilot uses the MCP Server to fetch and display information about Jenkins jobs, listing the jobs under the root directory.
  3. You can also request specific information, such as "get the last build status of job a", and Copilot will provide the relevant details including build number, status, and URL.

This integration streamlines your workflow by allowing you to access Jenkins information without leaving your development environment.

Further Information

For more details on the Model Context Protocol and its Java SDK:

Contributing

Contributions to the MCP Server plugin are welcome. Please refer to the Jenkins contribution guidelines for more information.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Instalación

TypingMind
{
  "mcpServers": {
    "mcp-server-plugin": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "{{config.JENKINS_URL}}/mcp-server/mcp",
        "--header",
        "Authorization: Basic {{config.AUTHORIZATION_HEADER}}"
      ],
      "env": {
        "JENKINS_URL": "<JENKINS_URL>",
        "AUTHORIZATION_HEADER": "<AUTHORIZATION_HEADER>"
      }
    }
  }
}

Usa el MCP de MCP Server Plugin for Jenkins con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado MCP Server Plugin for Jenkins, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Puedes ejecutar MCP localmente en tu dispositivo o conectarte a la URL de un servidor MCP remoto.

Opción 1: Usa el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade MCP Server Plugin for Jenkins como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de MCP Server Plugin for Jenkins.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "mcp-server-plugin": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de MCP Server Plugin for Jenkins y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de MCP Server Plugin for Jenkins.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar MCP Server Plugin for Jenkins para ayudarme con esta tarea?
MCP Server Plugin for Jenkins
Claro. Lo he leído.
Esto he encontrado usando MCP Server Plugin for Jenkins.

Opción 2: Añade la URL de un servidor MCP

Usa esta opción si MCP Server Plugin for Jenkins ya está alojado en un servidor remoto o si tu equipo quiere un conector compartido al que puedan acceder varios usuarios.

1

Abre Conectores MCP

En TypingMind, ve a Plugins, abre Conectores MCP y elige Añadir URL.

  1. Abre TypingMind en tu navegador.
  2. Ve a Plugins.
  3. Abre Conectores MCP.
  4. Haz clic en Añadir URL.
Formulario de TypingMind para añadir la URL de un servidor MCP personalizado
2

Pega la URL del servidor

Introduce la URL del servidor MCP facilitada por el proveedor en el campo URL del servidor. Añade un nombre de conexión, una descripción, un icono, cabeceras HTTP personalizadas o la configuración del cliente OAuth si el servidor los requiere.

  1. Pega la URL del servidor MCP facilitada por el proveedor en el campo URL del servidor.
  2. Introduce un nombre para la conexión de MCP Server Plugin for Jenkins.
  3. Añade una descripción y un icono si quieres que sea más fácil de identificar.
  4. Añade cabeceras HTTP personalizadas o los datos del cliente OAuth si el servidor requiere autenticación.
3

Crea la conexión

Haz clic en Crear conexión, vuelve a la lista de plugins y comprueba que la nueva conexión MCP esté activa.

  1. Haz clic en Crear conexión.
  2. Vuelve a la lista de conectores MCP.
  3. Comprueba que la conexión de MCP Server Plugin for Jenkins aparezca como activa.
  4. Actualiza la lista de plugins si la conexión no aparece de inmediato.
4

Cambia de modelo sin volver a conectar

Inicia un chat con tu modelo preferido, activa las herramientas de MCP Server Plugin for Jenkins desde Plugins y cambia de modelo cuando lo necesites. La conexión MCP seguirá disponible en el espacio de trabajo de TypingMind.

  1. Inicia un nuevo chat en TypingMind.
  2. Selecciona el modelo de IA que quieras usar.
  3. Activa las herramientas de MCP Server Plugin for Jenkins desde Plugins.
  4. Pide al modelo que use la herramienta cuando sea necesario.
  5. Cambia a otro modelo de IA y reutiliza la misma conexión MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar MCP Server Plugin for Jenkins para ayudarme con esta tarea?
MCP Server Plugin for Jenkins
Claro. Lo he leído.
Esto he encontrado usando MCP Server Plugin for Jenkins.

Preguntas frecuentes

¿Para qué sirve el servidor MCP MCP Server Plugin for Jenkins?

MCP Server Plugin for Jenkins es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP MCP Server Plugin for Jenkins con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar MCP Server Plugin for Jenkins con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de MCP Server Plugin for Jenkins con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con MCP Server Plugin for Jenkins conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP MCP Server Plugin for Jenkins a TypingMind?

Puedes conectar MCP Server Plugin for Jenkins en TypingMind con el conector MCP local o añadiendo la URL de un servidor MCP remoto. Usa el conector local cuando el servidor necesite acceder a archivos, aplicaciones o recursos privados de tu dispositivo, y una URL de servidor cuando el servidor MCP esté alojado de forma remota.

¿Qué herramientas ofrece el servidor MCP MCP Server Plugin for Jenkins en TypingMind?

MCP Server Plugin for Jenkins ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP MCP Server Plugin for Jenkins?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si MCP Server Plugin for Jenkins requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇