Skip to content

v0.0.7

Choose a tag to compare

@vibhor1997a vibhor1997a released this 17 Oct 11:51
· 45 commits to master since this release
3efe65e

Changes

  • Client Identification System (src/sdk/base-api.ts:1-36)

    • Added buildUserAgent() method that constructs a user-agent string combining server info (JustCall-MCP-Server/version) with client details from the MCP protocol context
    • Implemented automatic x-justcall-client header injection in all API requests
    • Falls back gracefully when client information is unavailable
  • API Service Updates

    • Updated all 29+ API methods in JustCallApiService (src/sdk/justcall.ts) to accept and pass through MCP context
    • Updated all API methods in SalesDialerApiService (src/sdk/salesdialer.ts) to accept and pass through MCP context
    • Modified method signatures to support optional context parameter without breaking changes
  • Tool Handler Updates

    • Updated all tool implementations across:
      • Call tools (src/tools/justcall/call.ts)
      • SMS tools (src/tools/justcall/sms.ts)
      • User tools (src/tools/justcall/users.ts)
      • Contact tools (src/tools/justcall/contacts.ts)
      • Analytics tools (src/tools/justcall/analytics.ts)
      • Number tools (src/tools/justcall/numbers.ts)
      • Webhook tools (src/tools/justcall/webhooks.ts)
      • Sales Dialer tools (src/tools/salesdialer/*)
    • All tool handlers now pass the MCP context to underlying API services
  • Package & Configuration

    • Version bump: 0.0.6 → 0.0.7 (package.json, server.json)
    • Updated dev script to use wrangler dev for better development workflow
    • Minor TypeScript configuration adjustments
  • Documentation

    • Improved README.md formatting with better section spacing

Benefits

  • Better Analytics: JustCall can now track which clients (Claude Desktop, custom implementations, etc.) are using the MCP server
  • Debugging: Easier to identify and debug issues based on client type
  • Future Features: Enables client-specific feature flags or behavior customization
  • Transparency: Server version is now included in all requests for better version tracking

Technical Details

The header format is: JustCall-MCP-Server/{version} (Client: {clientName}/{clientVersion})

Example: JustCall-MCP-Server/0.0.7 (Client: Claude Desktop/1.2.0)