Programeri

Monte Credit API, MCP & WebMCP

Povežite svoje sisteme i AI asistente sa Monte Credit: loan products, applications, clients and loans, portfolio figures, leads and publishing. Version 1.0.0.

REST API

JSON preko HTTPS-a sa API ključem.

MCP server

Iste operacije kao alati za AI asistente.

WebMCP

Alati na sajtu za agente u pregledaču.

Početak

Administrator kompanije Monte Credit kreira API ključ na panelu (Podešavanja → API & MCP) i bira šta on može da radi. Svaki poziv je HTTPS zahtjev ka jednoj adresi; putanja operacije ide u path parametar.

https://mne.rent/functions/api?path=/v1/products

Potpuni mašinski čitljiv opis (OpenAPI 3.1): openapi.json

Autentifikacija

Pošaljite ključ u Authorization zaglavlje. Ključ vidi samo Monte Credit’s data, and only the parts its permissions allow.

Authorization: Bearer omc_YOUR_KEY
products:readLoan products and branches
applications:readLoan applications and their status
clients:readClients and loans from the core system
portfolio:readPortfolio figures: outstanding, PAR, arrears, collections
leads:readLead-ovi
leads:writeCreate leads
posts:readPublishing: posts and their results
posts:writePublishing: create drafts, schedule and publish posts

Čuvajte ključeve na serverima. Nikada ne stavljajte ključ na sajt, u mobilnu aplikaciju ili dijeljeni dokument.

Greške i limiti

Answers are JSON. Lists return data, total i next_offset (pass it as offset for the next page; limit do 100). Greške izgledaju ovako:

{ "error": { "code": "forbidden", "message": "This key does not have the \"leads:write\" scope." } }

400 invalid input · 401 missing or invalid key · 403 missing permission · 404 not found · 429 more than 120 calls a minute per key.

MCP server

AI asistenti koji govore Model Context Protocol (Claude, Cursor i drugi) mogu koristiti iste operacije kao alate. Server koristi Streamable HTTP i isti API ključ.

https://mne.rent/functions/mcp

Claude Code

claude mcp add --transport http monte-credit https://mne.rent/functions/mcp \
  --header "Authorization: Bearer omc_YOUR_KEY"

Klijenti konfigurisani sa JSON-om

{
  "mcpServers": {
    "monte-credit": {
      "url": "https://mne.rent/functions/mcp",
      "headers": {
        "Authorization": "Bearer omc_YOUR_KEY"
      }
    }
  }
}

Alati: get_companylist_productslist_branchessearch_applicationsget_applicationsearch_clientsget_clientlist_loansportfolio_summarylist_leadscreate_leadlist_publish_accountslist_postscreate_post — each shown only when the key has its permission.

WebMCP

Uključeno Monte Credit’s website, AI agents running in the visitor’s browser can call these tools directly (WebMCP, document.modelContext). No key is needed: they use only public information, and a call-back request is sent only with the visitor’s consent. Browsers without WebMCP show the site as always.

list_loan_productsKreditni proizvodi sa stopama, iznosima i rokovima.
calculate_loanProcjena mjesečne rate za proizvod, iznos i rok.
list_branchesFilijale sa adresom, telefonom i radnim vremenom.
open_pageOtvara stranicu sajta (proizvodi, prijava, filijale, blog…).
start_applicationOtvara popunjen formular za prijavu; posjetilac ga dopunjuje.
request_callbackTraži od kreditora da pozove posjetioca — samo uz saglasnost posjetioca.

Referenca

get/v1/companyMCP: get_company

The company and this key

Name, website, languages and what this key may do.

curl "https://mne.rent/functions/api?path=/v1/company" \
  -H "Authorization: Bearer omc_YOUR_KEY"
get/v1/productsproducts:readMCP: list_products

Kreditni proizvodi

The active loan products with rates, amounts and terms.

curl "https://mne.rent/functions/api?path=/v1/products" \
  -H "Authorization: Bearer omc_YOUR_KEY"
get/v1/branchesproducts:readMCP: list_branches

Filijale

Filijale sa adresom, telefonom i radnim vremenom.

curl "https://mne.rent/functions/api?path=/v1/branches" \
  -H "Authorization: Bearer omc_YOUR_KEY"
get/v1/applicationsapplications:readMCP: search_applications

Loan applications

Applications, newest first. Filter by status, date or text (name, phone, e-mail, number).

ParametarUTipOpis
statusquerynew_application | documents_review | credit_scoring | approved | disbursed | active_loan | closed | rejectedStatus
fromquerystringCreated on or after (YYYY-MM-DD)
toquerystringCreated on or before (YYYY-MM-DD)
qquerystringText to find
limitquerynumberHow many to return (1–100, default 25).
offsetquerynumberWhere to start (from next_offset).
curl "https://mne.rent/functions/api?path=/v1/applications&status=…" \
  -H "Authorization: Bearer omc_YOUR_KEY"
get/v1/applications/{id}applications:readMCP: get_application

One application

One application with its timeline and documents (names and status).

ParametarUTipOpis
id*putanjastringApplication id
curl "https://mne.rent/functions/api?path=/v1/applications/:id" \
  -H "Authorization: Bearer omc_YOUR_KEY"
get/v1/clientsclients:readMCP: search_clients

Klijenti

Clients from the core system. Search by name, phone, e-mail or personal number.

ParametarUTipOpis
qquerystringText to find
limitquerynumberHow many to return (1–100, default 25).
offsetquerynumberWhere to start (from next_offset).
curl "https://mne.rent/functions/api?path=/v1/clients&q=…" \
  -H "Authorization: Bearer omc_YOUR_KEY"
get/v1/clients/{id}clients:readMCP: get_client

One client and their loans

A client from the core system with every loan, balance and days past due.

ParametarUTipOpis
id*putanjastringClient id in the core system
curl "https://mne.rent/functions/api?path=/v1/clients/:id" \
  -H "Authorization: Bearer omc_YOUR_KEY"
get/v1/loansclients:readMCP: list_loans

Krediti

Loans from the core system. Filter to late ones with min_days_past_due.

ParametarUTipOpis
min_days_past_duequerynumberOnly loans this many days late or more
statusqueryactive | allactive (default) or all
branchquerystringBranch name
limitquerynumberHow many to return (1–100, default 25).
offsetquerynumberWhere to start (from next_offset).
curl "https://mne.rent/functions/api?path=/v1/loans&min_days_past_due=…" \
  -H "Authorization: Bearer omc_YOUR_KEY"
get/v1/portfolioportfolio:readMCP: portfolio_summary

Portfolio summary

Outstanding portfolio, PAR30/PAR90, arrears buckets, collections and disbursements this month, by product and branch.

curl "https://mne.rent/functions/api?path=/v1/portfolio" \
  -H "Authorization: Bearer omc_YOUR_KEY"
get/v1/leadsleads:readMCP: list_leads

Lead-ovi

Leads from ads, the website and conversations, newest first.

ParametarUTipOpis
statusquerystringLead status
sourcequerystringmeta, google, linkedin, tiktok, web, chat, manual, other
limitquerynumberHow many to return (1–100, default 25).
offsetquerynumberWhere to start (from next_offset).
curl "https://mne.rent/functions/api?path=/v1/leads&status=…" \
  -H "Authorization: Bearer omc_YOUR_KEY"
post/v1/leadsleads:writeMCP: create_lead

Create a lead

Adds a lead. It is assigned to an officer, summarised by AI and sent to Terra like any other lead.

ParametarUTipOpis
full_name*bodystringIme
phonebodystringPhone (international format)
emailbodystringE-mail
citybodystringGrad
product_interestbodystringProduct the person wants
amountbodynumberAmount wanted
notesbodystringBilo šta drugo
external_idbodystringYour id, to avoid duplicates
curl -X POST "https://mne.rent/functions/api?path=/v1/leads" \
  -H "Authorization: Bearer omc_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "full_name": "…",
  "phone": "…"
}'
get/v1/publish/accountsposts:readMCP: list_publish_accounts

Places to publish

Connected pages and channels: Facebook, Instagram, LinkedIn, TikTok, Viber, Telegram, blog, financial education.

curl "https://mne.rent/functions/api?path=/v1/publish/accounts" \
  -H "Authorization: Bearer omc_YOUR_KEY"
get/v1/publish/postsposts:readMCP: list_posts

Postovi

Posts with their status and the result on each network.

ParametarUTipOpis
statusquerydraft | scheduled | publishing | published | partial | failedStatus
limitquerynumberHow many to return (1–100, default 25).
offsetquerynumberWhere to start (from next_offset).
curl "https://mne.rent/functions/api?path=/v1/publish/posts&status=…" \
  -H "Authorization: Bearer omc_YOUR_KEY"
post/v1/publish/postsposts:writeMCP: create_post

Create, schedule or publish a post

One post to the accounts you pick. when = draft (default), schedule (needs scheduled_at) or now. Media must be public https URLs.

ParametarUTipOpis
text*bodystringThe text
titlebodystringTitle, for blog and financial education
account_idsbodyarrayAccounts from /v1/publish/accounts
variantsbodyobjectText per network, e.g. {"instagram": "…"}
mediabodyarrayFotografije ili video: [{url, type}]
linkbodystringA link
whenbodydraft | schedule | nowWhat to do
scheduled_atbodystringISO date and time, for schedule
curl -X POST "https://mne.rent/functions/api?path=/v1/publish/posts" \
  -H "Authorization: Bearer omc_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "…",
  "account_ids": [],
  "when": "draft"
}'

🍪 Koristimo kolačiće

Koristimo kolačiće kako bismo poboljšali vaše iskustvo pregledanja, analizirali promet na sajtu i personalizovali sadržaj. Klikom na "Prihvati sve", pristajete na našu upotrebu kolačića.