You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add Malli-based configuration validation
- Add metosin/malli dependency for data-driven schema validation
- Create comprehensive config schemas in clojure-mcp.config.schema
- Support all configuration options including models, agents, resources, prompts
- Provide automatic spell-checking for typos in configuration keys
- Include human-readable error messages with documentation references
- Add comprehensive test suite for validation scenarios
- Support environment variable references [:env "VAR_NAME"]
- Validate nested structures like thinking config, agent config, etc.
- Use closed map schema to detect unknown/misspelled keys
* integrating configuration validation
* update schema for models
* update agent config schema
* updating agent docs
* some more schema touch ups
* enhancing schemas
* small fix for tests
* improving validation
* cleaning up validation and getting ready for merging
* fix ci test
* minor tweaks
---------
Co-authored-by: Bruce Hauman <bhauman@gmail.com>
Copy file name to clipboardExpand all lines: doc/configuring-agents.md
+35-32Lines changed: 35 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,10 @@ The agent tool builder dynamically creates MCP tools from agent configurations d
16
16
**Agents have NO tools by default.** You must explicitly specify which tools an agent can use via `:enable-tools`. This is a safety feature to prevent unintended access to powerful capabilities.
17
17
18
18
Agents can now access ALL available tools, including:
Copy file name to clipboardExpand all lines: resources/configs/example-agents.edn
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -14,32 +14,32 @@
14
14
:system-message"You are a research specialist focused on finding code patterns, examples, and understanding project structure. Be thorough in your analysis and provide specific file locations and code snippets."
15
15
:model:anthropic/claude-3-5-sonnet-20241022; Optional: specific model
16
16
:contexttrue; Use default project context (PROJECT_SUMMARY.md and code index)
17
-
:enable-tools [:grep:glob-files:read-file:clojure-inspect-project] ; Must specify tools explicitly
17
+
:enable-tools [:grep:glob_files:read_file:clojure_inspect_project] ; Must specify tools explicitly
18
18
:disable-toolsnil}
19
19
20
20
{:id:refactor-assistant
21
21
:name"refactor_assistant"
22
22
:description"Agent specialized in analyzing code for refactoring opportunities"
23
23
:system-message"You are a refactoring specialist. Analyze code for patterns that could be improved, suggest better abstractions, and identify duplicate code. Focus on readability and maintainability."
24
24
:context ["PROJECT_SUMMARY.md""doc/LLM_CODE_STYLE.md"] ; Specific files for context
25
-
:enable-tools [:read-file:grep:glob-files]
25
+
:enable-tools [:read_file:grep:glob_files]
26
26
:disable-tools [:bash]}
27
27
28
28
{:id:test-explorer
29
29
:name"test_explorer"
30
30
:description"Agent for exploring and understanding test files"
31
31
:system-message"You are a test exploration specialist. Help understand test structure, find relevant tests, and explain test patterns. Be concise and focus on test-specific insights."
32
32
:contextfalse; No default context
33
-
:enable-tools [:read-file:glob-files:grep]
34
-
:disable-tools [:bash:clojure-inspect-project]}
33
+
:enable-tools [:read_file:glob_files:grep]
34
+
:disable-tools [:bash:clojure_inspect_project]}
35
35
36
36
{:id:doc-reader
37
37
:name"doc_reader"
38
38
:description"Agent optimized for reading and summarizing documentation"
39
39
:system-message"You are a documentation specialist. Read and summarize documentation clearly and concisely. Focus on key concepts and practical usage."
:system-message"You are a code writing assistant. You can create new files, edit existing ones, and refactor code. Always test code in the REPL before writing to files."
0 commit comments