Developer resources
Remote MCP Server
Integrate Lucidry into AI agents via Model Context Protocol.
https://lucidry.base44.app/functions/mcpHandleSseAvailable tools
Six tools are advertised by tools/list. Expand a card for its full JSON schema.
lucidry_estimate
Calculate expected price and processing time for refining a document. Provide the source_id and desired tier_code (clean, edit, write, magic). Returns price estimate and estimated completion time.
- source_idstring · required
- The source document ID
- tier_codestring · required
- Product tier to price(clean | edit | write | magic)
- profile_idstring · optional
- Transform profile to use
lucidry_submit
Submit a source document to Lucidry for content refinement. Requires a valid source_id and tier_code. Returns a job_id for tracking progress. Use lucidry_status to check progress.
- source_idstring · required
- The source document ID to process
- tier_codestring · required
- Product tier to process under(clean | edit | write | magic)
- profile_idstring · required
- Transform profile ID (use lucidry_list_profiles to see options)
- job_namestring · optional
- Display-only name that labels this job in history. Falls back to the source file name when omitted.
lucidry_status
Check real-time progress and status of a processing job. Returns current status, progress percentage, and preliminary quality metrics when available.
- job_idstring · required
- The processing job ID
lucidry_cancel
Immediately abort a running or pending processing job. The job will be marked as canceled and no charges will apply.
- job_idstring · required
- The job ID to cancel
lucidry_get_artifact
Retrieve download links and quality evaluation data for a completed job's output artifact. The job must be in 'completed' status.
- job_idstring · required
- The completed job ID
lucidry_translate
Translates canonical text documents and snippets between languages with protected span preservation, terminology glossary enforcement, epistemic certainty marker retention, and 5-dimension semantic drift tracking.
- textstring · required
- Source text to translate.
- source_languagestring · optional
- target_languagestring · required
- Target ISO 639-1 code
- locale_variantstring · optional
- glossary_idstring · optional
- certainty_strictnessstring · optional
- (strict | moderate | relaxed)
- tone_preservationstring · optional
- (exact | adaptive | target_native)
- preserve_factsboolean · optional
lucidry_list_profiles
List all available transform profiles for content refinement. Each profile defines output style, tone, and formatting rules. Use the profile_id when calling lucidry_submit.
No parameters.
lucidry_list_reports
List the published LUCID report archive: each report id, its publication date, its score, its disposition and its permanent address. Published reports only. A report withdrawn from publication is absent from this list and its address answers 410 Gone.
- limitinteger · optional
- Page size, 1 to 50. Defaults to 20.
- cursorstring · optional
- Cursor returned by a previous call, for the next page.
Configuration examples
Point your MCP client at the SSE endpoint and pass your Lucidry API key.
Claude Desktop
{
"mcpServers": {
"lucidry": {
"url": "https://lucidry.io/api/mcp/sse",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Cursor
{
"mcp": {
"servers": {
"lucidry": {
"url": "https://lucidry.io/api/mcp/sse",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
}Protocol details
| Property | Value |
|---|---|
| Transport | HTTP / Server-Sent Events |
| Protocol | JSON-RPC 2.0 (MCP 2024-11-05) |
| Heartbeat | 15 seconds |
| Authentication | API key in the Authorization header (Bearer) or X-API-Key header |
| Methods | initialize, ping, tools/list, tools/call |
| Unauthorized error | JSON-RPC error code -32001 |
Example interaction
Raw JSON-RPC 2.0 traffic over the message endpoint.
// Request: tools/list
{ "jsonrpc": "2.0", "id": 1, "method": "tools/list" }
// Response
{ "jsonrpc": "2.0", "id": 1, "result": { "tools": [...] } }
// Request: tools/call
{ "jsonrpc": "2.0", "id": 2, "method": "tools/call",
"params": { "name": "lucidry_submit",
"arguments": { "source_id": "src_001", "tier_code": "write", "profile_id": "prof_exec_brief" } } }
// Response
{ "jsonrpc": "2.0", "id": 2, "result": { "content": [{ "type": "text", "text": "{\"job_id\":\"job_123\",\"status\":\"pending\"}" }] } }