pastelspend-mcp-server
v1.0.0
Published
MCP server for PastelSpend API
Downloads
107
Maintainers
Readme
PastelSpend MCP Server
MCP server that exposes tools for the PastelSpend API.
- Base URL default:
https://app-axry3s6qtkox.appmedo.com/api - Auth:
Authorization: Bearer <API_KEY>viaPASTELSPEND_API_KEY
Install
npm installRun locally
PASTELSPEND_API_KEY=your_key npm startOn Windows PowerShell:
$env:PASTELSPEND_API_KEY="your_key"
npm startEnvironment variables
PASTELSPEND_API_KEY(required)PASTELSPEND_API_BASE_URL(optional, defaults to production URL)- You can copy
.env.examplevalues into your MCP client env config.
MCP tools
get_expensescreate_expenseget_incomecreate_incomeget_subscriptionsscan_receipt_ocr(multipart upload;imagePathorimageBase64; supports/ocr/parseand/ocr/scan)generate_ai_analysis(triesPOST /ai/analysis, falls back toGET /insights/analyze)get_ai_analysis(GET /ai/analysis)api_request(generic fallback for full spec surface)
Example MCP config
Use this command in your MCP client:
{
"mcpServers": {
"pastelspend": {
"command": "node",
"args": ["E:/psm/src/server.js"],
"env": {
"PASTELSPEND_API_KEY": "YOUR_API_KEY",
"PASTELSPEND_API_BASE_URL": "https://app-axry3s6qtkox.appmedo.com/api"
}
}
}
}Publish to npm (optional)
npm publishThen MCP clients can run it via:
{
"command": "npx",
"args": ["-y", "pastelspend-mcp-server"],
"env": {
"PASTELSPEND_API_KEY": "YOUR_API_KEY"
}
}