New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@serviceagent/mcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serviceagent/mcp

ServiceAgent MCP Server — provision widgets, voice agents, calendars, and knowledge bases from Cursor, Claude Desktop, or any MCP client

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
4
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

@serviceagent/mcp

MCP (Model Context Protocol) server for ServiceAgent. Lets Cursor, Claude Desktop, Windsurf, and other AI coding tools provision and manage ServiceAgent resources directly.

Setup

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "serviceagent": {
      "command": "npx",
      "args": ["@serviceagent/mcp"],
      "env": {
        "SERVICEAGENT_API_KEY": "your_api_key",
        "SERVICEAGENT_TOKEN": "your_jwt_token"
      }
    }
  }
}

Claude Desktop

Add to Claude Desktop settings:

{
  "mcpServers": {
    "serviceagent": {
      "command": "npx",
      "args": ["@serviceagent/mcp"],
      "env": {
        "SERVICEAGENT_API_KEY": "your_api_key",
        "SERVICEAGENT_TOKEN": "your_jwt_token"
      }
    }
  }
}

Available Tools

ToolDescription
create_projectProvision a new demo workspace with a chat widget (no account needed)
get_api_keyExchange install token for API key, or list existing keys (list requires JWT)
add_widgetGet embed code for the AI chat widget
add_calendarGet embed code for the calendar booking widget
add_voice_agentGet setup code for a real-time voice agent
configure_knowledge_baseSeed the AI knowledge base from a URL (SERVICEAGENT_TOKEN required)
list_webhooksList configured webhook endpoints (SERVICEAGENT_TOKEN required)
create_webhookCreate a webhook to receive events (SERVICEAGENT_TOKEN required)
magic_onboardingAuto-configure everything from a website URL (SERVICEAGENT_TOKEN required)
get_docsSearch ServiceAgent documentation

Environment Variables

VariableRequiredDescription
SERVICEAGENT_API_KEYFor API-key-compatible toolsAPI key from dashboard
SERVICEAGENT_API_URLNoAPI base URL (defaults to https://process.serviceagent.ai)
SERVICEAGENT_TOKENFor JWT-protected toolsJWT token from POST /v1/auth/login

Auth Model

  • No auth needed: create_project, most of add_widget, add_calendar, add_voice_agent, get_docs
  • API key works: any future platform/API-key-compatible management routes
  • JWT required today: get_api_key with action=list, configure_knowledge_base, list_webhooks, create_webhook, magic_onboarding

The MCP server now fails clearly when a tool requires SERVICEAGENT_TOKEN and it is not configured.

Example Prompts

With this MCP server connected, you can ask your AI assistant:

  • "Add a ServiceAgent chat widget to my Next.js app"
  • "Set up calendar booking for my website"
  • "Create a webhook to listen for new appointments"
  • "Configure the AI knowledge base from https://mysite.com"
  • "How do I add voice calling to my React app?"

License

MIT

Keywords

serviceagent

FAQs

Package last updated on 28 Mar 2026

Related posts