Back to Browse

Livespace Crm MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Unofficial local MCP server for Livespace CRM with read tools and guarded writes.

About

Unofficial local MCP server for Livespace CRM with read tools and guarded writes.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

4 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

What You'll Need

Set these up before or after installing:

Loopback port used by the local MCP server.Optional

Environment variable: MCP_PORT

Bare Livespace workspace subdomain, without protocol or domain suffix.Optional

Environment variable: LIVESPACE_SUBDOMAIN

Per-user Livespace API key.Required

Environment variable: LIVESPACE_API_KEY

Per-user Livespace API secret.Required

Environment variable: LIVESPACE_API_SECRET

Disable every write tool when set to true.Optional

Environment variable: LIVESPACE_MCP_READ_ONLY

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-proautomator-livespace-crm-mcp": {
      "env": {
        "MCP_PORT": "your-mcp-port-here",
        "LIVESPACE_API_KEY": "your-livespace-api-key-here",
        "LIVESPACE_SUBDOMAIN": "your-livespace-subdomain-here",
        "LIVESPACE_API_SECRET": "your-livespace-api-secret-here",
        "LIVESPACE_MCP_READ_ONLY": "your-livespace-mcp-read-only-here"
      },
      "args": [
        "-y",
        "livespace-crm-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

Livespace CRM MCP Server

Unofficial MCP server for Livespace CRM. It exposes 11 intent-shaped tools instead of mirroring the raw API and targets the stateless Streamable HTTP transport in MCP spec 2026-07-28.

Version 0.1.0 is available on npm, in the official MCP Registry, and as a GitHub Release.

The v1 implementation is complete in this repository. It has six read tools and five write tools, a global read-only switch, bounded API access, sanitized errors and an elicitation-first confirmation flow. Use a test Livespace account while evaluating it.

Why this shape?

Livespace's RPC API has about 80 methods, but it does not provide sorting, aggregation or a direct operation for setting a deal stage. The server groups those lower-level calls into tasks an MCP client can use safely:

  • discovery before IDs are used;
  • bounded search, record reads and analysis;
  • batch previews before writes;
  • per-item outcomes and post-write checks;
  • explicit handling of Livespace-specific stage moves and notifications.

Tools

ToolModePurpose and bound
healthReadChecks the server; checkLivespace: true also makes one lightweight Livespace API call.
crm_metadataReadReturns nine dictionary sections, including processes, users, groups, sources, task dictionaries, products and the current user.
search_crmReadFinds persons, companies or deals. Sorted deal searches use one 200-record sort window and report truncation.
get_recordsReadReads one record kind and up to 25 ids; walls for at most 5 persons, companies or deals.
get_activityReadReads one record wall, one bounded CRM feed range or bounded task pages per call.
analyzeReadRuns one named aggregation over bounded windows and reports whether its source window was truncated.
create_recordsWriteCreates persons, companies, deals or tasks. Up to 10 items per call, with exact-match contact deduplication by default.
update_recordsWriteUpdates persons, companies, deals or tasks. Up to 10 items per call.
log_activitiesWriteAdds public notes or phone calls. Up to 15 notes or calls per call.
move_deals_to_stageWriteMoves deals by applying the minimal process-step diff. Up to 10 items per call; backward moves need an explicit allowlist.
notify_userWriteDispatches one in-app notification, limited to 5 per 10 minutes and 1 per recipient per minute.

move_deals_to_stage works by checking and unchecking process steps because Livespace has no "set stage" call. A deal stands at its furthest checked step. A backward move therefore unchecks completed steps and can change the historical meaning of those checkboxes.

notify_user validates the recipient and can add a deep link to a record. Livespace provides no notification read-back, so the tool reports a successful request as dispatched, never as delivered.

Requirements

  • A Livespace plan with API access, currently Automation or higher.
  • One Livespace API key and secret from Account settings -> API -> Users. Every API operation uses that user's permissions.
  • Bun 1.3.14 or newer (bun.sh). The current server uses Bun.serve and has no Node.js or Cloudflare Workers adapter.

The v1 deployment model is single-user: one Livespace credential pair and, if enabled, one MCP bearer token protects the server. There is no OAuth or multi-user credential routing.

Install and run from npm

The package is distributed through npm's public registry, but Bun is its runtime. You do not need Node.js or the npm CLI to run it.

For a first evaluation, create a private working directory outside a Git repository. Add a .env file there with your own Livespace credentials:

LIVESPACE_SUBDOMAIN=
LIVESPACE_API_KEY=
LIVESPACE_API_SECRET=
LIVESPACE_MCP_READ_ONLY=true

Fill the three empty values, protect the file, then start the published package:

chmod 600 .env
bunx livespace-crm-mcp

The default endpoint is http://127.0.0.1:3020/mcp. Keep the process running while your MCP client is connected. Start in read-only mode, call health, then use crm_metadata before any operation that needs a user, process, stage, group or dictionary ID.

bunx downloads the package from npm and caches it locally. To pin the first public release, run bunx livespace-crm-mcp@0.1.0.

Connect an MCP client

Configure a client that supports Streamable HTTP with this server URL:

{
  "url": "http://127.0.0.1:3020/mcp"
}

The exact configuration field differs between clients. If you set MCP_AUTH_TOKEN, also configure the client to send Authorization: Bearer <your-token>.

This package exposes Streamable HTTP, not stdio. Some MCP clients can connect to the local URL but cannot launch bunx for you, so start the command in a separate terminal. Clients that accept only stdio are not supported yet.

Configuration

VariablePurpose
LIVESPACE_SUBDOMAINAccount subdomain without protocol or .livespace.io.
LIVESPACE_API_KEY / LIVESPACE_API_SECRETCredentials for one Livespace user.
MCP_PORTServer port. Default: 3020.
MCP_BIND_HOSTBind address. Default: 127.0.0.1.
MCP_AUTH_TOKENRandom bearer token of at least 32 bytes. Required on a non-loopback bind.
LIVESPACE_MCP_READ_ONLYSet to true to remove and block all write tools.
MCP_REQUEST_STATE_KEYSecret of at least 32 bytes used to sign write confirmations. Required when authentication is enabled or the bind is not loopback.
MCP_ALLOWED_HOSTSHost-header allowlist for DNS-rebinding protection. Required on a non-loopback bind.
MCP_ALLOWED_ORIGIN_HOSTNAMESOptional additional browser-origin hostnames. On a non-loopback bind it defaults to MCP_ALLOWED_HOSTS.
MCP_RATE_LIMIT_PER_MINUTE / MCP_RATE_LIMIT_BURSTPer-principal request rate. Defaults: 120 per minute and burst 30.
MCP_MAX_CONCURRENT_REQUESTS / MCP_MAX_QUEUED_REQUESTSAdmission limits. Defaults: 8 in flight and 16 queued.

The server refuses a non-loopback bind unless MCP_AUTH_TOKEN, MCP_ALLOWED_HOSTS and MCP_REQUEST_STATE_KEY are set. Once MCP_AUTH_TOKEN is configured, every /mcp request needs that Bearer token, including on loopback. Host and Origin checks run before the MCP handler.

Generate independent values for MCP_AUTH_TOKEN and MCP_REQUEST_STATE_KEY by running openssl rand -hex 32 twice. Do not reuse a Livespace credential.

The Bun process does not terminate TLS. Put a TLS-capable reverse proxy in front of every network-exposed deployment. The server reads credentials from environment variables, commonly through Bun's .env loading; protecting .env at rest is the operator's responsibility. Never commit it. The smoke script can also read the sandbox credentials from the macOS Keychain.

Write safety

The normal flow is elicitation-first:

  1. A plain write-tool call or dryRun: true builds a plan and writes nothing.
  2. On an elicitation-capable client, the server asks a human to approve the plan. A confirm: true argument cannot bypass this prompt.
  3. The confirmation exchange uses a signed requestState that is valid for five minutes and consumed after an accepted or declined response. It is bound to the authenticated principal when present, the tool, arguments and preview.
  4. If the relevant records changed before approval, the tool returns recordsChanged: true, writes nothing and presents a fresh plan.

Clients without elicitation use a less protected compatibility path: confirm: true executes immediately. Preview first, obtain explicit human approval, then repeat the same business arguments with confirm: true. This path does not have the signed-state guarantees above.

Results distinguish these cases:

  • verification: verified means the server re-read comparable fields after the write.
  • A successful write can still report verification: unavailable when a follow-up read failed, no sent field had an independent comparator or the upstream API exposes no read-back. Inspect that item's error and re-read the record where possible; do not retry the write.
  • unknown_outcome means the request may or may not have landed. Never retry it blindly.
  • not_attempted means that item was not sent, usually because a time budget expired or an earlier item hit the upstream rate limit. Those unsent items can be submitted later; follow the error hint for the rate-limited item.

Notification success is reported as dispatched, never as delivered. If delivery matters, confirm it by another channel instead of sending a duplicate notification.

v1 limits

  • No delete or merge operations.
  • No tag or custom-field writes in v1. Livespace documents tag changes through tag_add and tag_remove, and custom fields through dataset. Tag writes still need a sandbox probe using those exact keys. Custom-field writes cannot be verified until the sandbox has fields covering the supported types, including answer ids for select fields.
  • Tasks created here cannot be linked to records. Livespace's Todo/addTodo documentation describes links through todo.objects, but our sandbox probe returned success and echoed the submitted link while a fresh read returned objects: []. The exact raw probe payload was not retained, so the result is inconclusive. The server omits objects from task writes until a controlled probe confirms that the link persists. Existing links returned by Livespace are still exposed as linkedRecords.
  • Logged notes and calls cannot be edited or removed.
  • Deal updates cover name and status; stage changes use move_deals_to_stage. create_records can set budget lines when it creates a deal, but update_records does not edit an existing budget because the append-versus-replace behavior has not been verified.
  • stage_conversion is a point-in-time estimate because Livespace exposes no stage history.
  • Reads and analyses use bounded windows. Inspect truncation fields before treating a result as complete.
  • Missing values and mixed currencies can make monetary sums null; the result names the reason.
  • API ids differ from the ids shown in the Livespace UI. Use IDs returned by crm_metadata, search_crm or another tool and never guess them.

Development

To work from source instead of the published package:

git clone https://github.com/proAutomator/livespace-crm-mcp.git
cd livespace-crm-mcp
bun install
cp .env.example .env
bun run dev

The repository commands are:

bun test                 # complete offline suite
bun run test:security    # focused security contract from docs/security.md
bun run typecheck
bun run smoke            # live test-account check via .env or macOS Keychain
bun run dev

bun run smoke and health with checkLivespace: true make real API calls. Use only a test Livespace account, never a production CRM.

The binding threat model and regression map are in docs/security.md. Report vulnerabilities privately as described in SECURITY.md.

Disclaimer

Community project. Not affiliated with, endorsed by or supported by Livespace S.A. "Livespace" is a trademark of its owner and is used here only to describe compatibility. Operations through the Livespace API run under your API key and, under Livespace's terms of service, at your responsibility.

Attribution

This server follows patterns from Adam Gospodarczyk's (overment) MCP servers, especially iceener/streamable-mcp-server-template (MIT): a small intent-shaped tool surface, operating instructions, batch-first writes with per-item results and errors with recovery hints. Thanks, Adam.

Author

Built by Kuba Masztalski

Bugs and feature requests: GitHub Issues. Security reports: see SECURITY.md.

License

MIT

Reviews

No reviews yet

Be the first to review this server!