Skip to content

Commit 7c835d0

Browse files
committed
Update API to use starter
1 parent c33bb1c commit 7c835d0

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ embabel-agent-api/src/main/resources/mcp/**
88

99
.idea/workspace.xml
1010

11-
**/*.log
11+
**/*.log
12+
13+
mcp.env

src/main/kotlin/com/embabel/coding/CodingAgentApplication.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,21 @@
1515
*/
1616
package com.embabel.coding
1717

18+
import com.embabel.agent.config.annotation.EnableAgentShell
1819
import com.embabel.agent.config.annotation.EnableAgents
1920
import com.embabel.agent.config.annotation.LoggingThemes
21+
import com.embabel.agent.config.annotation.McpServers
2022
import org.springframework.boot.autoconfigure.SpringBootApplication
2123
import org.springframework.boot.context.properties.ConfigurationPropertiesScan
2224
import org.springframework.boot.runApplication
2325

2426
@SpringBootApplication
2527
@ConfigurationPropertiesScan
26-
@EnableAgents(loggingTheme = LoggingThemes.SEVERANCE)
28+
@EnableAgents(
29+
loggingTheme = LoggingThemes.SEVERANCE,
30+
mcpServers = [McpServers.DOCKER, McpServers.DOCKER_DESKTOP],
31+
)
32+
@EnableAgentShell
2733
class CodingAgentApplication
2834

2935
fun main(args: Array<String>) {

0 commit comments

Comments
 (0)