UNPKG

@poai/mcpm-aider

Version:

Your MCP CLI Manager for aider(forked from @mcpm/cli). Helps you install/remove/search your MCP projects. You can also manage your MCP in Claude App with natural language.

21 lines (20 loc) 881 B
/** * Copyright (C) 2024 PoAI (Lutz Leonhardt) * This file is part of mcpm, based on work by MCP Club * Licensed under the GNU AGPL v3.0 * See LICENSE file for details */ import type { MCPServerWithStatus } from '@mcpm/sdk'; import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js'; /** * Replace placeholders in an argument using the provided arguments object. */ export declare function replacePlaceholders(arg: string, argumentsObj: Record<string, string>): string; /** * Provides fallback arguments from the server configuration. */ export declare function getArgumentsWithFallback(server: MCPServerWithStatus): Record<string, string>; /** * Builds and returns a configured StdioClientTransport instance for the given MCPServerWithStatus. */ export declare function buildTransportForServer(server: MCPServerWithStatus): StdioClientTransport;