Skip to main content
Glama
localDeMCPConnection.ts795 B
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { RPCType } from "../types/RPCType"; import { formatErrorResponse, formatResponse, } from "../utils/formatResponse"; export function registerLocalDeMCPConnectionTools( server: McpServer, rpc: RPCType ) { const localDeMCPConnectionToolRPCCall = async () => { return rpc.callTool("local_de_mcp_connection_tool", {}); }; server.tool( "get_designer_app_connection_info", "Get Webflow MCP App Connection Info. if user ask to get Webflow MCP app connection info, use this tool", {}, async () => { try { return formatResponse( await localDeMCPConnectionToolRPCCall() ); } catch (error) { return formatErrorResponse(error); } } ); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/webflow/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server