UNPKG

@grebyn/toolflow-mcp-server

Version:

MCP server for managing other MCP servers - discover, install, organize into bundles, and automate with workflows. Uses StreamableHTTP transport with dual OAuth/API key authentication.

44 lines 1.89 kB
/** * Tools Registry * Exports all available MCP tools with user-aware support */ import { echoTool } from './echo.js'; import { readClientConfigTool } from './read-client-config.js'; import { writeClientConfigTool } from './write-client-config.js'; import { runSystemCommandTool } from './run-system-command.js'; import { testMCPServerTool } from './test-mcp-server.js'; // Bundle tools temporarily disabled - UI handles this through workflows // import { createBundleTool, listBundlesTool, getBundleConfigTool, editBundleTool } from './bundles/index.js'; import { createWorkflowTool } from './workflows/createWorkflow.js'; import { listWorkflowsTool } from './workflows/listWorkflows.js'; import { performWorkflowTool } from './workflows/performWorkflow.js'; import { listMissingWorkflowServersTool } from './workflows/listMissingWorkflowServers.js'; import { editWorkflowTool } from './workflows/edit-workflow.js'; export const tools = { echo: echoTool, read_client_config: readClientConfigTool, write_client_config: writeClientConfigTool, run_system_command: runSystemCommandTool, test_mcp_server: testMCPServerTool, // Bundle tools temporarily disabled - UI handles this through workflows // create_bundle: createBundleTool, // list_bundles: listBundlesTool, // get_bundle_config: getBundleConfigTool, // edit_bundle: editBundleTool, create_workflow: createWorkflowTool, list_workflows: listWorkflowsTool, perform_workflow: performWorkflowTool, list_missing_workflow_servers: listMissingWorkflowServersTool, edit_workflow: editWorkflowTool }; export function getTool(name) { return tools[name]; } export function listTools() { return Object.values(tools).map(tool => ({ name: tool.name, description: tool.description, inputSchema: tool.inputSchema })); } //# sourceMappingURL=index.js.map