n8n
Version:
n8n Workflow Automation Tool
15 lines (14 loc) • 591 B
TypeScript
import type { BuiltTool, CredentialProvider } from '@n8n/agents';
import type { CustomFetch } from '@n8n/backend-network';
import type { OauthService } from '../../../oauth/oauth.service';
export interface VerifyMcpServerDeps {
agentId?: string;
credentialProvider: CredentialProvider;
oauthService: OauthService;
projectId: string;
proxyFetch: CustomFetch;
applyCredentialToMcpServer?: (serverName: string, credentialId: string) => Promise<{
applied: boolean;
}>;
}
export declare function buildVerifyMcpServerTool(deps: VerifyMcpServerDeps): BuiltTool;