Ship safer agents with Flowtly MCP documentation

Connect assistants, tools, or custom agents to Flowtly with guardrails. Sync the latest MCP server spec, follow the setup flow, and keep your fleet aligned with one source of truth.

Documentation status

Last synced on 2025-12-12 09:56

Sync regularly to keep MCP docs aligned with the latest server build.

Entities

How to stay current

  1. Run the sync command above after MCP updates ship.
  2. Restart your agent stack to pick up capability changes.
  3. Bookmark this page for the latest Flowtly MCP guidance.

What’s inside

  • Auth and API key rules for MCP endpoints.
  • Resource schemas for knowledge base, blog, releases, investors, and product updates.
  • JSON-RPC payloads and write/read tips for agents.

Transport & Auth

  • Endpoints: POST /mcp (JSON-RPC entry), GET /health (liveness), POST /api/chat (console proxy; requires Authorization: Bearer <token>)
  • Headers: Authorization Bearer token (preferred; falls back to FLOWTLY_API_KEY), instance header optional and forwarded
  • Content-Type: application/json
  • Body: JSON-RPC 2.0 { "jsonrpc": "2.0", "id": "...", "method": "...", "params": {...} }

initialize

  • Negotiates capabilities and namespaces.
  • Example params: { "protocolVersion": "2024-11-05" }
  • Returns capabilities (list, read, write) and namespaces (work-times, projects, employees, vacations, holidays, responsibilities, cost-groups, logical, project-rates, transactions, transaction-attachments, suppliers, organization, candidates, resource-requests).

resources/list

  • Method: resources/{namespace}/list (default namespace: work-times when omitted)
  • Namespaces include work-times, projects, employees, vacations, holidays, responsibilities, cost-groups, logical, project-rates, transactions, transaction-attachments, suppliers, organization, candidates, resource-requests.
  • Returns URIs per namespace (see breakdown below).

resources/read

  • Method: resources/{namespace}/read (default namespace: work-times).
  • Params include uri, e.g., /api/work-times
  • allowPrefixes enables cross-namespace matches; {current} resolves to /api/employees/me.
  • Some resources add defaults (work-times adds date bounds; employees add itemsPerPage; holidays/vacations add pagination defaults).
  • Responsibilities follow up to 10 @id links to enrich title/name.
  • Logical namespace returns server-side summaries instead of raw payloads.
  • Returns contents payload from the underlying Flowtly API.

resources/write

  • Only resources with allowWrite accept writes; POST unless URI ends with an id (then PATCH with application/merge-patch+json).
  • /api/.../create forces POST even if an id is present; override type via params.contentType.
  • Logical write helper: resources/logical/write supports /logical/recruiting/resource-requests/update?id=<id> and /logical/recruiting/resource-request-candidates/update?id=<id> (PATCH).

Logical namespace (/logical/*)

  • Read-only summaries: work-times, employees, projects, employee-work-times, project-rates, transactions, project-profitability.
  • Recruiting summaries: company-onboarding/status, recruiting/open-roles, recruiting/candidates.
  • Holidays summaries: logical/holidays.
  • Example: /logical/work-times/summary supports date[after]/date[before] (defaults last 7 days).

Error shape

  • { "jsonrpc": "2.0", "id": "...", "error": { "code": -32000, "message": "Upstream Flowtly API failed", "data": { "status": 502 } } }

Notes

  • allowPrefixes lets resources/read accept URIs that start with allowed prefixes.
  • OpenAPI-style reference available at public/mcp/openapi.json.

resources/list by namespace

Time tracking — work-times

  • List: /api/work-times (defaults last 30 days), /api/employees/me
  • Read: /api/work-times, /api/employees/me
  • Write (allowed): /api/work-times (POST), /api/work-times/{id} (PATCH)

Projects & delivery — projects

  • List: /api/projects, /api/projects?employee={current}, /api/employees/me
  • Read: /api/projects, /api/projects?employee={current}, /api/employees/me

People & compliance — employees, responsibilities

  • List (employees): /api/employees/me, /api/employees (defaults itemsPerPage=200)
  • List (responsibilities): /api/responsibility-employees?employee={current}, /api/responsibilities, /api/responsibility-groups
  • Read: same URIs as list for detailed records

Time off — vacations & holidays

  • List: /api/vacations/balance?employee={current}, /api/holiday-days-limits?employee={current} (itemsPerPage=50), /api/holidays?employee={current} (itemsPerPage=50)
  • Holidays: /api/holidays?employee={current} (itemsPerPage=200), /api/holiday-requests (write allowed)
  • Write: /api/holiday-requests (POST/PATCH)

Finance — transactions & attachments

  • List: /api/transactions (itemsPerPage=200&page=1), /api/bank-accounts
  • Write: /api/transactions (POST/PATCH), /api/transaction-attachments (POST/PATCH), /api/transaction-attachments/create (POST)

Suppliers & cost groups

  • List: /api/contractors (itemsPerPage=100&page=1), /api/cost-groups (itemsPerPage=200&page=1)
  • Write: /api/contractors (POST/PATCH)

Rates & profitability

  • List: /api/employees/{current}/project-rates (itemsPerPage=200)
  • Logical summaries: /logical/project-rates/summary, /logical/project-profitability/summary

Talent & recruiting

  • List: /api/candidates (itemsPerPage=50&page=1), /api/candidates/search, /api/candidate-notes
  • List: /api/resource-requests (itemsPerPage=50&page=1), /api/resource-request-candidates (itemsPerPage=50&page=1)
  • Write: candidates, candidate-notes, resource-requests, resource-request-candidates (POST/PATCH)
  • Logical writes: /logical/recruiting/resource-requests/update, /logical/recruiting/resource-request-candidates/update

Logical — read-only summaries

  • List/Read: /logical/work-times/summary, /logical/employees/summary, /logical/projects/summary, /logical/employee-work-times/summary, /logical/transactions/summary
  • Additional: /logical/company-onboarding/status, /logical/recruiting/open-roles, /logical/recruiting/candidates, /logical/holidays

Organization

  • List/Read: /api/organization
Whatsapp