Skip to main content

searchMcpTool

plugin.codebaseSearch.searchMcpTool(query: string, tags?: string[]): Promise<McpToolSearchResponse>

Search for MCP tools by query and optional tags

Parameters​

ParameterTypeRequiredDescription
querystringYesThe search query
tagsstring[]NoOptional tags to filter results

Returns​

Promise<McpToolSearchResponse>

Example​

import plugin from '@codebolt/plugin-sdk';

const result = await plugin.codebaseSearch.searchMcpTool('query');
console.log(result);