Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mcp_server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DOCKER_BUILD_PATH=..

INTERNAL_API_BRANCH?=master
TMP_REPO_DIR ?= /tmp/internal_api
INTERNAL_API_MODULES?=include/internal_api/status,include/internal_api/response_status,plumber_w_f.workflow,plumber.pipeline,server_farm.job,loghub,loghub2,user,repository_integrator,rbac,organization,projecthub,feature,artifacthub
INTERNAL_API_MODULES?=include/internal_api/status,include/internal_api/response_status,plumber_w_f.workflow,plumber.pipeline,server_farm.job,loghub,loghub2,user,repository_integrator,rbac,organization,projecthub,feature,artifacthub,periodic_scheduler
PROTOC_IMAGE?=golang:1.24-alpine

.PHONY: tidy test test.setup lint pb.gen dev.run index
Expand Down
4 changes: 4 additions & 0 deletions mcp_server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ Refer to [`AGENTS.md`](AGENTS.md) for repository guidelines, project structure,
| `pipeline_jobs` | List jobs belonging to a specific pipeline. |
| `jobs_describe` | Describes a job, surfacing agent details and lifecycle timestamps. |
| `jobs_logs` | Fetches job logs. Hosted jobs stream loghub events; self-hosted jobs return a URL to fetch logs. |
| `tasks_list` | List scheduled tasks (periodics) for a project. |
| `tasks_describe` | Get detailed information about a scheduled task including recent trigger history. |
| `tasks_run` | Trigger a scheduled task to run immediately. |

## Requirements

Expand Down Expand Up @@ -78,6 +81,7 @@ The server dials internal gRPC services based on environment variables. Deployme
| RBAC gRPC endpoint | `INTERNAL_API_URL_RBAC`, `MCP_RBAC_GRPC_ENDPOINT` |
| Users gRPC endpoint | `INTERNAL_API_URL_USER`, `MCP_USER_GRPC_ENDPOINT` |
| Featurehub gRPC endpoint | `INTERNAL_API_URL_FEATURE`, `MCP_FEATURE_GRPC_ENDPOINT` |
| Scheduler gRPC endpoint | `INTERNAL_API_URL_SCHEDULER`, `MCP_SCHEDULER_GRPC_ENDPOINT` |
| Dial timeout | `MCP_GRPC_DIAL_TIMEOUT` (default `5s`) |
| Call timeout | `MCP_GRPC_CALL_TIMEOUT` (default `15s`) |

Expand Down
2 changes: 2 additions & 0 deletions mcp_server/cmd/mcp_server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
"github.com/semaphoreio/semaphore/mcp_server/pkg/tools/organizations"
"github.com/semaphoreio/semaphore/mcp_server/pkg/tools/pipelines"
"github.com/semaphoreio/semaphore/mcp_server/pkg/tools/projects"
"github.com/semaphoreio/semaphore/mcp_server/pkg/tools/tasks"
"github.com/semaphoreio/semaphore/mcp_server/pkg/tools/testresults"
"github.com/semaphoreio/semaphore/mcp_server/pkg/tools/workflows"
"github.com/semaphoreio/semaphore/mcp_server/pkg/watchman"
Expand Down Expand Up @@ -117,6 +118,7 @@ func main() {
pipelines.Register(srv, provider)
jobs.Register(srv, provider)
testresults.Register(srv, provider)
tasks.Register(srv, provider)

// Register prompts for agent configuration guidance
prompts.Register(srv)
Expand Down
Loading