Skip to main content
Glama

fluentcrm_find_contact_by_email

Find a contact in FluentCRM using their email address to manage marketing automation tasks from Cursor.

Instructions

Wyszukuje kontakt po adresie email

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesAdres email

Implementation Reference

  • MCP tool handler implementation in the switch statement of CallToolRequestSchema. Calls the FluentCRMClient's findContactByEmail method with the input email argument and returns the JSON-stringified result.
    case 'fluentcrm_find_contact_by_email': return { content: [{ type: 'text', text: JSON.stringify(await client.findContactByEmail((args as any)?.email), null, 2) }] };
  • Tool registration in the ListToolsRequestSchema handler, defining the tool name, description, and input schema that requires an 'email' string parameter.
    { name: 'fluentcrm_find_contact_by_email', description: 'Wyszukuje kontakt po adresie email', inputSchema: { type: 'object', properties: { email: { type: 'string', description: 'Adres email' }, }, required: ['email'], }, },
  • Core helper method in FluentCRMClient class that performs the API call to find a contact by email using GET /subscribers?search={email} and returns the first matching subscriber or null.
    async findContactByEmail(email: string) { const response = await this.apiClient.get('/subscribers', { params: { search: email }, }); return response.data.data?.[0] || null; }

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/netflyapp/fluentcrm-mcp-server'

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