Skip to main content

codebolt.config

Configuration management for MCP servers.

Available Tools

  • mcp_configure_server - Configure MCP server settings

Tool Parameters

mcp_configure_server

Configures an MCP (Model Context Protocol) server with the provided configuration object. Use this to update server settings, credentials, or other configuration options.

ParameterTypeRequiredDescription
serverNamestringYesThe name of the MCP server to configure
configobjectYesConfiguration object containing the settings to apply to the MCP server

Config Object Properties

The config object can contain various settings depending on the server type. Common properties include:

PropertyTypeDescription
commandstringCommand to run the server (e.g., "npx")
argsarrayArray of command arguments

Sample Usage

// Configure filesystem MCP server
const configResult = await codebolt.tools.executeTool(
"codebolt.config",
"mcp_configure_server",
{
serverName: "filesystem",
config: {
command: "npx",
args: [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/other/allowed/dir"
]
}
}
);
info

This functionality provides server configuration management through the MCP interface. Currently supports filesystem server configuration.