mcp-parasut
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-parasutlist my unpaid invoices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
unofficial type-safe Node.js SDK and MCP server for Parasut, the Turkish accounting platform. zero runtime dependencies in the SDK. 31 MCP tools for invoices, contacts, products, e-documents (GIB), inventory, and financials.
npm install @yigitkonur/parasut-node-sdkor run the MCP server directly:
npx @yigitkonur/parasut-mcp-server
what it does
a pnpm monorepo with two packages:
@yigitkonur/parasut-node-sdk— TypeScript SDK wrapping Parasut REST API v4. handles OAuth2, rate limiting, retries, JSON:API serialization. zero runtime deps, uses nativefetch.@yigitkonur/parasut-mcp-server— MCP server exposing 31 tools over stdio. plug it into Claude Desktop, Cursor, or any MCP-compatible host and manage your entire Parasut account from natural language.
not affiliated with Parasut.
Related MCP server: mcp-server-smallinvoice
what the SDK covers
every resource gets list, get, create, update, delete, plus iterate (async generator), listAll, count, exists, and first for free.
| what it is |
| customers and suppliers |
| full CRUD + archive, cancel, recover, pay, list overdue/unpaid |
| quotes and proposals |
| supplier invoices and expenses |
| e-arsiv documents with |
| e-fatura with |
| GIB inbox lookup by tax number |
| e-serbest meslek makbuzu (freelancer receipts) |
| bank and cash accounts |
| goods and services |
| employee records |
| salary payments |
| tax payments (KDV, stopaj, SGK) |
| bank service charges |
| stock counts per warehouse |
| inbound/outbound inventory |
| delivery and waybill docs |
| labels for organizing |
| product/expense categories |
| financial ledger |
| polls async jobs until done/error |
what the MCP server exposes
31 tools across 8 domains:
domain | tools | notes |
contacts |
| filter by name, email, tax number, city |
invoices |
| all writes require |
bills |
| supplier invoices and expenses |
products |
| |
e-documents |
| double confirmation for GIB submissions |
financial |
| summary aggregates AR/AP/net across all accounts |
inventory |
| |
organization |
|
every write tool shows a preview first. pass confirm=true to execute. GIB e-document submissions additionally require i_understand_this_is_irreversible="YES".
SDK usage
import { ParasutClient } from '@yigitkonur/parasut-node-sdk';
const client = new ParasutClient({
companyId: 115,
credentials: {
clientId: 'your-client-id',
clientSecret: 'your-client-secret',
username: 'your@email.com',
password: 'your-password',
},
});
// list contacts
const contacts = await client.contacts.list({ filter: { name: 'acme' } });
// create an invoice
const invoice = await client.salesInvoices.create({
contact_id: 123,
item_type: 'invoice',
description: 'consulting',
details: [{ product_id: 456, quantity: 1 }],
});
// iterate all products (async generator, handles pagination)
for await (const product of client.products.iterate()) {
console.log(product.attributes.name);
}
// submit e-invoice and wait for GIB response
const result = await client.eInvoices.submitAndWait(invoiceId, {
scenario: 'basic',
to: 'urn:mail:defaultpk@parasut.com',
});MCP server setup
Claude Desktop
add to ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"parasut": {
"command": "npx",
"args": ["@yigitkonur/parasut-mcp-server"],
"env": {
"PARASUT_COMPANY_ID": "115",
"PARASUT_CLIENT_ID": "...",
"PARASUT_CLIENT_SECRET": "...",
"PARASUT_USERNAME": "...",
"PARASUT_PASSWORD": "..."
}
}
}
}standalone
PARASUT_COMPANY_ID=115 \
PARASUT_CLIENT_ID=your-client-id \
PARASUT_CLIENT_SECRET=your-client-secret \
PARASUT_USERNAME=your@email.com \
PARASUT_PASSWORD=yourpassword \
npx @yigitkonur/parasut-mcp-servertransport is stdio. logs go to stderr.
configuration
required env vars (MCP server)
variable | description |
| your Parasut company/firma ID |
| OAuth2 client ID |
| OAuth2 client secret |
| login email |
| password |
optional
variable | default | description |
|
| override API endpoint |
|
| debug logging to stderr |
SDK config options
option | default | description |
| required | |
| required | OAuth2 creds or static token |
|
| |
|
| request timeout in ms |
|
| token bucket limit |
|
| token bucket window |
|
| |
|
| |
|
| |
|
| |
|
| |
| in-memory | pluggable (implement |
project structure
packages/parasut-node-sdk/
src/
index.ts — public API barrel export
client/
ParasutClient.ts — main client, lazy resource getters
OAuth.ts — password grant + refresh + auth code flow
HttpTransport.ts — native fetch wrapper with interceptors
RateLimiter.ts — token bucket (10 req / 10 sec)
RetryHandler.ts — exponential backoff with jitter
QueryBuilder.ts — JSON:API query param serialization
JsonApi.ts — JSON:API body builders and denormalizer
errors.ts — error hierarchy (auth, forbidden, not found, validation, rate limit)
resources/
BaseResource.ts — abstract base with CRUD + iterate/listAll/count/exists/first
contacts.ts — customers and suppliers
salesInvoices.ts — invoices with archive/cancel/recover/pay
eArchives.ts — e-arsiv with submitAndWait
eInvoices.ts — e-fatura with submitAndWait
eSmms.ts — e-SMM with submitAndWait
... — 12 more resource files
generated/
types.ts — auto-generated from swagger spec
operations.ts — operation metadata map
packages/parasut-mcp-server/
src/
index.ts — entrypoint
server.ts — MCP server wiring (stdio transport)
config.ts — env var loading and validation
client.ts — singleton ParasutClient
tools/
contacts.ts — 4 tools
invoices.ts — 7 tools
bills.ts — 4 tools
products.ts — 4 tools
edocuments.ts — 4 tools (double confirmation)
financial.ts — 4 tools
inventory.ts — 2 tools
organization.ts — 5 tools
utils/
response.ts — formatters with next-step guidance
errors.ts — SDK error → structured MCP response mappingdevelopment
pnpm install
pnpm build
pnpm test
pnpm lintrequires Node.js 18+ and pnpm 9.
types are generated from the Parasut Swagger spec:
pnpm --filter parasut-node-sdk generate-typesinternals worth noting
confirmation pattern — every write tool returns a preview by default. pass
confirm=trueto execute. GIB e-document tools require a secondi_understand_this_is_irreversible="YES"field.async job polling — e-document submissions return a trackable job ID.
submitAndWait()polls every 2 seconds up to 60 seconds until done or error.token refresh dedup — concurrent
getValidToken()calls share a single in-flight refresh promise instead of hammering the token endpoint.page size cap — Parasut limits page size to 25. the SDK silently enforces
Math.min(size, 25).LLM-optimized tool descriptions — every tool uses XML-structured descriptions with
<usecase>,<instructions>,<example>,<returns>tags for better model comprehension.guided error responses — errors never throw in the MCP server. they're caught and returned as structured responses with recovery steps.
license
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yigitkonur/mcp-parasut'
If you have feedback or need assistance with the MCP directory API, please join our Discord server