-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathself-contained-mcp.yaml
More file actions
36 lines (36 loc) · 1.07 KB
/
Copy pathself-contained-mcp.yaml
File metadata and controls
36 lines (36 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
apiVersion: agent-controller.dev/v1alpha1
kind: Agent
metadata:
name: self-contained-mcp
owner: ccdevelopforfun
description: |
Self-contained MCP time demo. Declares pi-mcp-extension via
spec.extensions[].source so the YAML is fully self-contained —
no separate `agentctl install` step required.
Requires: npx available on PATH (used to launch @modelcontextprotocol/server-time).
spec:
model:
provider: anthropic
name: claude-sonnet-5
temperature: 0.2
persona:
role: Time assistant
instructions: |
You are a helpful assistant. Answer questions about the current time using the
MCP time tools available to you (e.g. mcp_time-server_get_current_time).
task: |
What is the current UTC time? Please use the available MCP time tool to find out.
tools: []
extensions:
- name: pi-mcp-extension
source: npm:pi-mcp-extension
mcpServers:
- name: time-server
transport: stdio
command: npx
args:
- "-y"
- "@modelcontextprotocol/server-time"
lifecycle: eager
runtime:
type: local