Skills and decision-tree workflows your AI agent can find and run, with a record of each run
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Your mcpforx token. Create a free account at https://mcpforx.com and copy it from the Connect page.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Create a new expertise in your mcpforx library. Can produce a skill (single node), sequence (linear nodes), or decision tree (conditional edges) depending on the structure you provide. Canvas layout is computed automatically — do not specify coordinates. WORKFLOW: design the expertise → call validate_expertise → fix any errors → call create_expertise. Returns the expertise name and code. EXECUTION MODEL When an agent runs this expertise, each step node's instruction is sent as a prompt to the executing agent. The executing agent must return a JSON object whose keys match the node's expected_output fields — those field values are what edge conditions evaluate for routing. Design instructions to explicitly tell the executing agent what to decide and what to put in each output field. Example: 'Assess the proposal and return verdict as one of: approved, rejected, escalate.' DESIGN PRINCIPLES - Entry node: one step node with is_entry:true. Collects the input or classifies it. - Branch nodes: step nodes that score/assess and output a rollup field used for routing. - Terminal nodes: end nodes with no outgoing edges. Produce final output. - Route edges off a single rollup field (one eq/contains condition per edge). For compound logic, encode it in the node instruction as a rollup, then route off that. - Fan-out: multiple conditional edges from one node ALL fire when matched — extras queue and run sequentially. Use this for parallel branches (e.g. per cap size). - Every step node needs a default edge as a fallback (is_default:true). - BE PARSIMONIOUS. Every step an agent passes through is a separate round trip: a full agent turn (several seconds) that also re-reads the growing conversation. Use the fewest steps that still need to be steps. A step earns its place only if (a) it routes the run to different next steps, (b) the agent must complete it before it is allowed to see what comes next (a deliberate gate or checkpoint), or (c) its instructions are too large or too situational to give up front. Otherwise merge consecutive steps that do not route into ONE step with a numbered list of what to do. Do not add a step only to 'gather input' that the entry step can ask for, or a final 'summarise' step the last terminal can do. Included skills are injected in full at the step that lists them, so list only the skills that step needs; when a step would carry several skills the agent will mostly not use, route to a step that carries just the relevant ones instead. - As few nodes as work: 3–8 is typical and more than about 10 is rarely justified. Instructions should be explicit: define terms, give decision rules, end with 'if X → output A; if Y → output B' blocks. HOW-TO EXAMPLES (strongly recommended) Include a how_to object with 2-3 example prompts so users know how to invoke the expertise. Each scenario should cover a distinct path through the tree (e.g. one per major branch). Format: { intro: '1-sentence overview', scenarios: [{ label, description, prompt }] }. The prompt should be a ready-to-paste message a user would send to their AI agent.
The complete expertise definition. Same schema as validate_expertise.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http mcpforx https://api.mcpforx.com/mcp \ --header 'Authorization: YOUR_CREDENTIALS'
Headers
Authorization (required): Your mcpforx token. Create a free account at https://mcpforx.com and copy it from the Connect page.Create a new expertise in your mcpforx library. Can produce a skill (single node), sequence (linear nodes), or decision tree (conditional edges) depending on the structure you provide. Canvas layout is computed automatically — do not specify coordinates. WORKFLOW: design the expertise → call validate_expertise → fix any errors → call create_expertise. Returns the expertise name and code. EXECUTION MODEL When an agent runs this expertise, each step node's instruction is sent as a prompt to the executing agent. The executing agent must return a JSON object whose keys match the node's expected_output fields — those field values are what edge conditions evaluate for routing. Design instructions to explicitly tell the executing agent what to decide and what to put in each output field. Example: 'Assess the proposal and return verdict as one of: approved, rejected, escalate.' DESIGN PRINCIPLES - Entry node: one step node with is_entry:true. Collects the input or classifies it. - Branch nodes: step nodes that score/assess and output a rollup field used for routing. - Terminal nodes: end nodes with no outgoing edges. Produce final output. - Route edges off a single rollup field (one eq/contains condition per edge). For compound logic, encode it in the node instruction as a rollup, then route off that. - Fan-out: multiple conditional edges from one node ALL fire when matched — extras queue and run sequentially. Use this for parallel branches (e.g. per cap size). - Every step node needs a default edge as a fallback (is_default:true). - BE PARSIMONIOUS. Every step an agent passes through is a separate round trip: a full agent turn (several seconds) that also re-reads the growing conversation. Use the fewest steps that still need to be steps. A step earns its place only if (a) it routes the run to different next steps, (b) the agent must complete it before it is allowed to see what comes next (a deliberate gate or checkpoint), or (c) its instructions are too large or too situational to give up front. Otherwise merge consecutive steps that do not route into ONE step with a numbered list of what to do. Do not add a step only to 'gather input' that the entry step can ask for, or a final 'summarise' step the last terminal can do. Included skills are injected in full at the step that lists them, so list only the skills that step needs; when a step would carry several skills the agent will mostly not use, route to a step that carries just the relevant ones instead. - As few nodes as work: 3–8 is typical and more than about 10 is rarely justified. Instructions should be explicit: define terms, give decision rules, end with 'if X → output A; if Y → output B' blocks. HOW-TO EXAMPLES (strongly recommended) Include a how_to object with 2-3 example prompts so users know how to invoke the expertise. Each scenario should cover a distinct path through the tree (e.g. one per major branch). Format: { intro: '1-sentence overview', scenarios: [{ label, description, prompt }] }. The prompt should be a ready-to-paste message a user would send to their AI agent.
| Argument | Type | Description |
|---|---|---|
| tree* | object | The complete expertise definition. Same schema as validate_expertise. |
{
"type": "object",
"required": [
"tree"
],
"properties": {
"tree": {
"type": "object",
"required": [
"name",
"nodes"
],
"properties": {
"name": {
"type": "string",
"description": "Unique name in your library (max 200 chars)."
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Search tags (e.g. ['finance', 'investing'])."
},
"edges": {
"type": "array",
"items": {
"type": "object"
}
},
"nodes": {
"type": "array",
"items": {
"type": "object"
}
},
"how_to": {
"type": "object",
"required": [
"intro",
"scenarios"
],
"properties": {
"intro": {
"type": "string",
"description": "One sentence describing what the expertise does and how to invoke it."
},
"scenarios": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"prompt"
],
"properties": {
"label": {
"type": "string",
"description": "Short name for this scenario (e.g. 'Basic use', 'Edge case')."
},
"prompt": {
"type": "string",
"description": "Ready-to-paste prompt the user would send to their AI agent to trigger this path."
},
"description": {
"type": "string",
"description": "One sentence explaining what this scenario demonstrates."
}
}
}
}
},
"description": "Example prompts shown to users in the 'How to' panel. Strongly recommended."
},
"description": {
"type": "string",
"description": "1-2 sentence description shown on the library card."
}
},
"description": "The complete expertise definition. Same schema as validate_expertise."
}
}
}Read or update an existing expertise in your mcpforx library. Do NOT call this during a tree run — use find_expertise and next_step for that. READ MODE: call with code only (no tree argument). Returns the full tree in create_expertise schema format, with node ids as database UUIDs. Use these UUIDs in edge from/to fields when referencing existing nodes. New nodes you add can use any string id. WRITE MODE: call with code and tree. The tree atomically replaces all nodes and edges. The expertise code, creator, scope, and run history are preserved. Omit name/description/tags to keep existing values. Runs validate_expertise logic internally — fix any errors before calling. TYPICAL WORKFLOW: edit_expertise(code) → modify the returned tree → edit_expertise(code, modified_tree).
| Argument | Type | Description |
|---|---|---|
| code* | string | The 6-character expertise code (e.g. 'OMYF0S'). |
| tree | object | The updated expertise definition. Omit to read the current tree. Same schema as create_expertise. name/description/tags are optional — omit to keep existing values. |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The 6-character expertise code (e.g. 'OMYF0S')."
},
"tree": {
"type": "object",
"required": [
"nodes"
],
"properties": {
"name": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"edges": {
"type": "array",
"items": {
"type": "object"
}
},
"nodes": {
"type": "array",
"items": {
"type": "object"
}
},
"description": {
"type": "string"
}
},
"description": "The updated expertise definition. Omit to read the current tree. Same schema as create_expertise. name/description/tags are optional — omit to keep existing values."
}
}
}Call this FIRST, before starting any non-trivial task (writing, analysis, code or security review, planning, incident or customer work, anything with a repeatable process). Searches the user's library of vetted skills and decision-tree workflows and returns the best match for the task. Pass a short natural-language description of what you are about to do. A skill comes back as guidance to apply directly (nothing more to call). A workflow returns a run_id and the first step; after completing each step, call next_step to continue. If nothing relevant is found, carry on with the task normally.
| Argument | Type | Description |
|---|---|---|
| query | string | One sentence naming the KIND of work you are about to do, in general terms, e.g. 'Debug a failing unit test', 'Plan the implementation of a feature', 'Draft an email to a vendor' or 'Write a weekly status update'. Name the activity, not the subject-matter details: the library is matched on the type of work. |
| category | string | Optional. Only consider expertises filed under this category (including its sub-categories), e.g. 'actuarial' or 'actuarial/medicare-advantage'. list_skills shows the available categories. |
{
"type": "object",
"required": [],
"properties": {
"query": {
"type": "string",
"description": "One sentence naming the KIND of work you are about to do, in general terms, e.g. 'Debug a failing unit test', 'Plan the implementation of a feature', 'Draft an email to a vendor' or 'Write a weekly status update'. Name the activity, not the subject-matter details: the library is matched on the type of work."
},
"category": {
"type": "string",
"description": "Optional. Only consider expertises filed under this category (including its sub-categories), e.g. 'actuarial' or 'actuarial/medicare-advantage'. list_skills shows the available categories."
}
}
}Read-only. For an expertise the user authored, returns evidence of how its runs actually went: where runs stop, steps whose branches don't match what agents return, searches that nearly found it, feedback counts, and template suggestions. Use it when the user asks to improve an expertise, then propose edits and apply them with edit_expertise only if the user agrees. Authors only.
| Argument | Type | Description |
|---|---|---|
| code* | string | The expertise code, from list_skills. |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The expertise code, from list_skills."
}
}
}Record whether a finished (or in-progress) run's result was right. Call this when the user tells you the outcome was good, needs work, or was wrong, or after they correct you, so the expertise's author can see which steps need improving. Use the run_id from find_expertise. Rate the whole run, or one step by passing its step number. Only runs the user started can be rated.
| Argument | Type | Description |
|---|---|---|
| note | string | Optional. What was good or bad, in a sentence or two. |
| step | integer | Optional. The step number to rate; omit to rate the whole run. |
| rating* | string | good = correct as is; needs_work = partly right; wrong = incorrect. |
| run_id* | string | The run_id returned by find_expertise. |
| correction | string | Optional. What the right answer or action should have been. |
{
"type": "object",
"required": [
"run_id",
"rating"
],
"properties": {
"note": {
"type": "string",
"description": "Optional. What was good or bad, in a sentence or two."
},
"step": {
"type": "integer",
"description": "Optional. The step number to rate; omit to rate the whole run."
},
"rating": {
"enum": [
"good",
"needs_work",
"wrong"
],
"type": "string",
"description": "good = correct as is; needs_work = partly right; wrong = incorrect."
},
"run_id": {
"type": "string",
"description": "The run_id returned by find_expertise."
},
"correction": {
"type": "string",
"description": "Optional. What the right answer or action should have been."
}
}
}List all expertises available for this mcpforx session.
No arguments.
{
"type": "object",
"required": [],
"properties": {}
}Report the result of the current expertise step and receive the next instruction. Pass the run_id from find_expertise and your result as a JSON object matching the expected_output fields shown in the previous step. IMPORTANT: when a step's response says you're 'Entering sub-expertise ...', it hands you a DIFFERENT run_id for a nested run — always call next_step with whichever run_id the most recent response gave you, not the original one. When the sub-expertise completes, the response will say 'Resuming parent run' and automatically continue the original run in the same reply — you don't need to do anything special, just keep calling next_step with the current run_id as usual.
| Argument | Type | Description |
|---|---|---|
| result* | object | Your result as a JSON object with the fields specified in the previous step instruction. |
| run_id* | string | The run_id returned by find_expertise. |
{
"type": "object",
"required": [
"run_id",
"result"
],
"properties": {
"result": {
"type": "object",
"description": "Your result as a JSON object with the fields specified in the previous step instruction."
},
"run_id": {
"type": "string",
"description": "The run_id returned by find_expertise."
}
}
}Dry-run validation of an expertise definition. No data is written. Returns blocking errors and non-blocking warnings (routing mistakes, and design notes such as steps that could be merged: every step is a separate agent round trip, so prefer fewer steps). Always call this before create_expertise to catch schema errors early. SCHEMA REFERENCE Each node needs: id (local string ref), title, type (step|terminal|invoke), instruction, and optionally expected_output, is_entry (bool), included_skills, and (for type invoke) invoke_expertise_code. expected_output format: {"field_name": {"hint": "boolean|string|number", "values": ["opt1", "opt2"]}}. Example: {"verdict": {"hint": "string", "values": ["approved", "rejected", "escalate"]}}. IMPORTANT: field names in expected_output must exactly match the condition.field values on outgoing edges — mismatches silently fall to the default edge at runtime. included_skills format: array of node-id strings, each the node ID of an existing single-node "skill" expertise (one you or someone else already created). That skill's instruction gets injected as shared context when this node runs — use it to reuse a maintained skill across many trees instead of copy-pasting its instructions. To find a skill's node ID, call edit_expertise(code="SKILLCODE") in read mode (omit tree) and use the returned node's id. invoke node type — COMPOSABILITY: a node of type 'invoke' runs a whole OTHER expertise as this step, not just its text. Set invoke_expertise_code to that expertise's code (e.g. 'ABC123'). At runtime the executing agent is transparently handed the sub-expertise's entry-node prompt under a NEW run_id; it keeps calling next_step exactly as usual (same mental model as any other run) until the sub-expertise reaches a terminal, at which point its result automatically folds back and the ORIGINAL run resumes in the same reply. CRITICAL: an invoke node's own outgoing edge conditions must match the field names from the SUB-EXPERTISE'S EXIT TERMINAL's expected_output — not the invoke node's own expected_output (nothing is ever submitted 'for' the invoke node itself). Any expertise you invoke remains fully runnable standalone, unchanged — composing it into a bigger tree never affects that. Avoid designing a sub-expertise whose entry can fan out to multiple terminals at once if it will be used as an invoke target — only the first terminal reached actually returns a result to the caller (validate_expertise warns about this shape). Each edge needs: from (node id), to (node id), and either a condition object {field, operator, value} or is_default: true. Valid operators: eq, neq, gt, gte, lt, lte, in, contains, exists, is_null. Rules: exactly one node must have is_entry:true. Every step and invoke node must have at least one outgoing edge and one default edge. Terminals have no outgoing edges. Fan-out (multiple matching edges from one node) is supported and queued automatically.
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 27, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
| Argument | Type | Description |
|---|---|---|
| tree* | object | The expertise definition to validate. Same schema as create_expertise. |
{
"type": "object",
"required": [
"tree"
],
"properties": {
"tree": {
"type": "object",
"required": [
"name",
"nodes"
],
"properties": {
"name": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"edges": {
"type": "array",
"items": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string"
},
"from": {
"type": "string"
},
"label": {
"type": "string"
},
"priority": {
"type": "integer",
"description": "Higher = evaluated first. Conditional edges: 10–50. Default edge: 0–10."
},
"condition": {
"type": "object",
"description": "{field, operator, value}. operator must be one of: eq neq gt gte lt lte in contains exists is_null"
},
"is_default": {
"type": "boolean",
"description": "Fallback when no condition matches. Required on at least one edge per step node."
}
}
}
},
"nodes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"type",
"instruction"
],
"properties": {
"id": {
"type": "string",
"description": "Local reference id used in edges (e.g. 'entry', 'micro_screener'). Not stored in DB."
},
"type": {
"enum": [
"step",
"terminal",
"invoke"
],
"type": "string"
},
"title": {
"type": "string"
},
"is_entry": {
"type": "boolean"
},
"instruction": {
"type": "string"
},
"expected_output": {
"type": "object",
"description": "Fields the executing agent must return. Format: {\"field\": {\"hint\": \"boolean|string|number\", \"values\": [\"opt1\",\"opt2\"]}}. Example: {\"verdict\": {\"hint\": \"string\", \"values\": [\"approved\",\"rejected\"]}}. Field names must exactly match condition.field values on outgoing edges. Omit or use {} for terminals. For type 'invoke', outgoing edge conditions must match the SUB-EXPERTISE's exit terminal's expected_output, not this field."
},
"included_skills": {
"type": "array",
"items": {
"type": "string"
},
"description": "Node IDs of existing single-node 'skill' expertises to inject as shared context when this node runs. Find a skill's node ID via edit_expertise(code) in read mode."
},
"email_checkpoint": {
"type": "boolean",
"description": "If true, the expertise owner is emailed (with this node's instruction and the result reported at it, plus a link to the run's audit trail) every time a run's execution reaches this node. Off by default. Useful on a node that catches a failure/data-issue, or on a terminal that marks successful completion — not intended for routine intermediate steps."
},
"invoke_expertise_code": {
"type": "string",
"description": "Required when type is 'invoke'. Code of an existing expertise to run as this step — see the invoke node type explanation above."
}
}
}
},
"description": {
"type": "string"
}
},
"description": "The expertise definition to validate. Same schema as create_expertise."
}
}
}