Splid MCP
A Model Context Protocol (MCP) server that exposes Splid (splid.app) via tools, powered by the reverse‑engineered splid-js client.
Splid MCP Server
A Model Context Protocol (MCP) server that exposes Splid (splid.app) via tools, powered by the reverse‑engineered splid-js client.
- Language/Runtime: Node.js (ESM) + TypeScript
- Transport: Streamable HTTP (and stdio for local inspector)
- License: MIT
Quick start
- Install
npm install
- Configure env
Create a .env in project root:
CODE=YOUR_SPLID_INVITE_CODE
PORT=8000
- Build and run
npm run build
npm run dev
- Inspect locally
npm run inspect
Then connect to http://localhost:8000/mcp using "Streamable HTTP".
Tools
All tools support an optional group selector to override the default from CODE:
groupId?: stringgroupCode?: string(invite code)groupName?: string(reserved; not yet supported)
If none provided, the server uses the default group from CODE.
health
- Purpose: connectivity check
- Output:
{ ok: true }
whoami
- Purpose: show the currently selected group and its members
- Input: none
- Output: JSON containing group info and members
createExpense
- Purpose: create a new expense entry
- Input:
title: stringamount: number > 0currencyCode?: string(defaults to the group default when omitted)payers: { userId?: string; name?: string; amount: number > 0 }[](at least 1)profiteers: { userId?: string; name?: string; share: number in (0,1] }[](at least 1)- Optional group selector fields
- Rules:
- Names are case‑insensitive and resolved to member GlobalId; unknown names return a clear error.
- The sum of all
sharevalues must equal 1 (±1e‑6).
- Example (names):
{
"title": "Dinner",
"amount": 12.5,
"payers": [{ "name": "Alice", "amount": 12.5 }],
"profiteers": [{ "name": "Bob", "share": 0.6 }, { "name": "Alice", "share": 0.4 }]
}
- Example (userIds):
{
"title": "Dinner",
"amount": 12.5,
"payers": [{ "userId": "<GlobalId>", "amount": 12.5 }],
"profiteers": [{ "userId": "<GlobalId>", "share": 1 }]
}
listEntries
- Purpose: list recent entries in a group
- Input:
limit?: number(1..100, default 20)- Optional group selector fields
- Output: array of entries
getGroupSummary
- Purpose: show balances/summary for a group
- Input:
- Optional group selector fields
- Output: summary object (balances computed via Splid)
Streamable HTTP
- URL:
http://localhost:8000/mcp - No auth headers required; use MCP Inspector to test.
Troubleshooting
- "Bad Request: Server not initialized": refresh and reconnect; first POST must be
initialize. - 400 with share errors: ensure shares are in (0,1] and sum to 1.
- Unknown name: check exact member names in
whoamioutput.
Configuration
- Env variables:
CODE: Splid invite/join code for the default groupPORT(optional): default 8000
Acknowledgements
- Splid JS client: https://github.com/LinusBolls/splid-js
- MCP Server template / docs: https://github.com/InteractionCo/mcp-server-template
License
MIT
Похожие серверы
Kone.vc
спонсорMonetize your AI agent with contextual product recommendations
AudacityMCP
MCP server for Audacity 3.x with 131 tools — effects, cleanup, mastering, format conversion, transcription.
Spreadsheet MCP Server
An MCP server for Google Spreadsheet integration, connecting via a Google Apps Script Web App.
Obsidian
A server for interacting with your Obsidian vault.
Rememberizer
Interact with Rememberizer's document and knowledge management API to search, retrieve, and manage documents.
Tachikoma Router Management MCP
Manage various router types using natural language. Requires router credentials to be configured.
Outlook Calendar
Access and manage your local Microsoft Outlook calendar on Windows.
Nexs MCP
NEXS MCP Server is a high-performance implementation of the Model Context Protocol, designed to manage AI elements with enterprise-grade architecture. Built with the official MCP Go SDK v1.1.0, it provides a robust foundation for AI system management.
Limitless MCP
Connect your Limitless Pendant data to Claude and other LLMs using the Limitless API.
MCP Google Calendar Integration
Integrates with the Google Calendar API to fetch calendar events for a given date.
Qingma Yizhan Auto Answer
An MCP server that provides an automatic answering function for the Qingma Yizhan platform.