Skip to main content
Glama
felipfr
by felipfr

get_connections

Extract your entire LinkedIn connections list to manage and analyze your professional network effectively using the MCP server's data integration capabilities.

Instructions

Retrieve your complete LinkedIn connections list

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/server.ts:178-192 (registration)
    Registers the 'get-connections' MCP tool, including name, description, emptyParams schema reference, and handler lambda that delegates to clientService.getConnections() and formats MCP response.
    this.server.tool( 'get-connections', 'Retrieve the current user connections', linkedinApiSchemas.emptyParams, async () => { this.logger.info('Retrieving User Connections') try { const connections = await this.clientService.getConnections() return this.createResourceResponse(connections) } catch (error) { this.logger.error('User Connections Retrieval Failed', error) throw error } } )
  • Core handler function that executes the tool logic by making an authenticated GET request to LinkedIn API /connections endpoint to fetch user's connections.
    public async getConnections(): Promise<ConnectionsResult> { return this.makeRequest<ConnectionsResult>('get', '/connections?start=0&count=100') }
  • emptyParams schema (empty object) used for the get-connections tool, indicating no input parameters are required.
    /** * Empty parameters schema for endpoints without required parameters */ emptyParams: {},

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/felipfr/linkedin-mcpserver'

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