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
- A `codebolttool.yaml` file must be present in the tool directory
100
+
- Required fields in `codebolttool.yaml`: `name`, `uniqueName`, `description`
101
+
102
+
**Interactive prompts for new tools:**
103
+
- GitHub repository URL (optional)
104
+
- Category selection
105
+
- Tags (comma-separated)
106
+
- API key requirement
107
+
108
+
#### List Tools
109
+
List all MCP tools published by you:
110
+
```bash
111
+
codebolt-cli listtools
112
+
```
113
+
114
+
#### Pull Tools
115
+
Pull the latest MCP tool configuration from server:
116
+
```bash
117
+
codebolt-cli pulltools [workingDir]
118
+
```
119
+
120
+
This command will:
121
+
- Read your local `codebolttool.yaml` file
122
+
- Fetch the latest configuration from the server
123
+
- Compare versions and prompt for confirmation if needed
124
+
- Update your local configuration file
125
+
126
+
#### Run Tool
127
+
Run a specified tool with a file:
128
+
```bash
129
+
codebolt-cli runtool <command><file>
130
+
```
131
+
132
+
#### Inspect Tool
133
+
Inspect a server file using the MCP inspector:
134
+
```bash
135
+
codebolt-cli inspecttool <file>
136
+
```
137
+
138
+
## MCP Tool Configuration
139
+
140
+
When creating or publishing MCP tools, ensure your `codebolttool.yaml` file contains:
141
+
142
+
```yaml
143
+
name: "My MCP Tool"
144
+
uniqueName: "my-mcp-tool"
145
+
description: "Description of what this tool does"
146
+
version: "1.0.0"
147
+
parameters:
148
+
param1: "value1"
149
+
param2: "value2"
150
+
```
151
+
152
+
## File Structure
153
+
154
+
### For Agents
155
+
Agents should contain a `codeboltagent.yaml` configuration file.
156
+
157
+
### For MCP Tools
158
+
MCP tools should contain a `codebolttool.yaml` configuration file and follow the MCP protocol standards.
159
+
160
+
## Examples
161
+
162
+
### Publishing a new MCP tool:
163
+
```bash
164
+
cd my-mcp-tool-directory
165
+
codebolt-cli publishtool
22
166
```
23
167
24
-
## 📋 Features
168
+
### Updating an existing MCP tool:
169
+
```bash
170
+
cd my-existing-tool
171
+
codebolt-cli publishtool
172
+
```
173
+
174
+
The CLI will automatically detect if it's an update based on the `uniqueName` in your configuration.
175
+
176
+
## Error Handling
177
+
The CLI provides detailed error messages and colored output for better user experience. Make sure you're authenticated and have the required configuration files before running publish commands.
178
+
179
+
## Author
180
+
Codebolt Team
25
181
26
182
### Agent Management
27
183
- **Create Agents**: Interactive wizard for agent creation
0 commit comments