Synap

v0.1.3
com.synap402/synap-mcp Checked 1 day ago Published 24 days ago

Open-model LLM inference for agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

chat Chat with a Synap model

Send a chat conversation to a Synap model and get the reply. OpenAI-style messages.

ParameterTypeDescription
messages *arrayConversation so far, oldest first.
max_tokensintegerReply length cap (default 2048).
modelstringModel id from list_models. Omit to use the router (synap-v1) or SYNAP_MODEL.
temperaturenumber

list_models List Synap models

Live list of Synap model ids with capability, context window and per-token price, read from /v1/models.

ParameterTypeDescription
filterstringCase-insensitive text to match against id or capability, e.g. 'vision' or 'coder'.

summarize_url Summarize a web page

Fetch a public web page and summarize it with a Synap model. Page text is treated as data, never as instructions.

ParameterTypeDescription
url *stringhttp(s) URL of the page.
focusstringWhat to focus on, e.g. 'pricing and limits'.
lengthstringSummary length (default medium).
modelstringModel id from list_models. Omit to use the router (synap-v1) or SYNAP_MODEL.

review_diff Review a code diff

Code review of a unified diff (git diff output): bugs, security issues and missing edge cases, with severity, location and fix.

ParameterTypeDescription
diff *stringUnified diff text, e.g. the output of `git diff`.
contextstringWhat the change is meant to do.
focusstringExtra attention area, e.g. 'security' or 'concurrency'.
modelstringModel id from list_models. Omit to use the router (synap-v1) or SYNAP_MODEL.

extract_json Extract JSON from text

Extract structured data from text into JSON matching a JSON Schema (validated, with one automatic repair attempt).

ParameterTypeDescription
schema *JSON Schema object for the output, or a plain-language description of the wanted shape.
text *stringSource text to extract from.
instructionsstring
modelstringModel id from list_models. Omit to use the router (synap-v1) or SYNAP_MODEL.

describe_image Describe an image

Describe or answer a question about an image (screenshot, chart, photo, scanned page) with a Synap vision model.

ParameterTypeDescription
image *stringLocal file path (png/jpg/gif/webp), http(s) URL, or data: URI.
detailstring
modelstringVision model id. Omit to use the cheapest vision model listed.
promptstringQuestion about the image. Default: full description with transcribed text.