mcpgraph
БесплатноБез исполняемых скриптовНе проверенBuild no-code MCP servers with tools that compose and orchestrate other MCP tools, with data transformation and conditional logic.
Об этом скилле
Building mcpGraphs
This skill teaches you how to build mcpGraph configurations - declarative YAML files that define MCP tools as directed graphs of nodes.
What is an mcpGraph?
An mcpGraph is a declarative YAML configuration file that defines MCP (Model Context Protocol) tools as directed graphs. Each tool executes a sequence of nodes that can:
- Call other MCP tools (on internal or external MCP servers)
- Transform data using JSONata expressions
- Make routing decisions using JSON Logic
When to use mcpGraph:
- You need to orchestrate multiple MCP tool calls in sequence
- You want to transform data between tool calls
- You need conditional routing based on data
- You want declarative, observable configurations (no embedded code)
- You need to compose complex workflows from simpler MCP tools
Why use mcpGraph:
- Declarative: All logic expressed in YAML using standard expression languages
- Observable: Every transformation and decision is traceable
- No Embedded Code: Uses JSONata and JSON Logic instead of full programming languages
- Standard-Based: Built on MCP, JSONata, and JSON Logic standards
- Composable: Build complex tools from simpler MCP tools
How to Use mcpGraph
This skill assumes mcpGraph is installed in your local environment and available as the mcpgraph command.
To use mcpGraph as an MCP server (e.g., in Claude Desktop), add it to your MCP client configuration:
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"mcpgraph": {
"command": "mcpgraph",
"args": ["-g", "/path/to/your/config.yaml"]
}
}
}
The -g (or --graph) flag specifies the path to your YAML configuration file.
File Structure
An mcpGraph configuration file is a YAML file with the following structure:
version: "1.0"
# MCP Server Metadata
server:
name: "serverName" # Required: unique identifier
version: "1.0.0" # Required: server version
title: "Display Name" # Optional: display name (defaults to name)
instructions: "..." # Optional: server usage instructions
# MCP Servers used by the graph
mcpServers:
serverName:
command: "command" # For stdio servers
args: ["arg1", "arg2"] # Command arguments
# OR for HTTP servers:
# httpServer:
# type: "streamableHttp"
# url: "https://api.example.com/mcp"
# headers:
# Authorization: "Bearer token"
# Tool Definitions for tools implemented by this graph and available as part of this MCP server
tools:
- name: "toolName"
description: "Tool description"
inputSchema:
type: "object"
properties:
paramName:
type: "string"
description: "Parameter description"
required:
- paramName
outputSchema:
type: "object"
properties:
result:
type: "string"
description: "Result description"
nodes:
# Node definitions here
MCP Server Metadata
The server section defines metadata for the MCP server that will expose these tools:
name(required): Unique identifier for the serverversion(required): Server version (semantic versioning)title(optional): Display name (defaults tonameif not provided)instructions(optional): Instructions for using this server
MCP Servers
The mcpServers section defines the MCP servers that the graph will call. Each server can be:
- stdio server: Uses
commandandargsto run a command-line program - streamableHttp server: Uses
type: "streamableHttp",url, and optionalheaders
Tools
The tools array defines the MCP tools exposed by this server. Each tool has:
name: Tool identifierdescription: Tool descriptioninputSchema: JSON Schema defining input parameters (standard MCP tool schema)outputSchema: JSON Schema defining output structurenodes: Array of node definitions that form the execution graph
Graph Structure and Flow
A graph is a directed sequence of nodes that execute in order. Execution flow:
- Starts at the entry node (receives tool arguments)
- Executes nodes sequentially based on
nextfields - switch nodes can conditionally route to different nodes
- Continues until the exit node is reached
- Exit node returns the final result
Node Connections
Nodes are connected using the next field, which specifies the ID of the next node to execute:
- id: "node1"
type: "transform"
next: "node2" # Executes node2 after node1
Switch nodes use conditions with next fields (each condition specifies its own next node), plus a top-level next field as the default:
- id: "switch_node"
type: "switch"
conditions:
- rule: { ">": [{ var: "entry.value" }, 10] }
next: "high_path"
next: "default_path" # Default case if no conditions match
Установить mcpgraph в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mcpgraph?
Build no-code MCP servers with tools that compose and orchestrate other MCP tools, with data transformation and conditional logic.
Как установить скилл mcpgraph?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mcpgraph запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic