MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / convertToMCPTool

Function convertToMCPTool

server/src/mcp/server.ts:58–64  ·  view source on GitHub ↗

* Convert AddieTool format to MCP SDK tool format

(tool: AddieTool)

Source from the content-addressed store, hash-verified

56 * Convert AddieTool format to MCP SDK tool format
57 */
58function convertToMCPTool(tool: AddieTool) {
59 return {
60 name: tool.name,
61 description: tool.description,
62 inputSchema: tool.input_schema,
63 };
64}
65
66/**
67 * All tools available in the unified MCP server

Callers 1

getAllToolsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected