mcpgraphtoolkit

Instructions for building tools from directed workflows in mcpGraph, a configuration format where steps can call other tools, transform data, or choose conditional paths.

In plain words
What is it for?
Creating, testing, debugging, running, and managing graph tools that combine multiple MCP tool calls with JSONata data transformations and JSON Logic decisions.
Why use it?
It explains how to discover available tools and connect them into repeatable workflows without manually handling each file operation.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/teamsparkai/mcpgraph/mcpgraphtoolkit
Any agent
npx skills add TeamSparkAI/mcpGraph --skill mcpgraphtoolkit
Clone the repo
git clone --depth 1 https://github.com/TeamSparkAI/mcpGraph

Made for: Claude Code, Codex.

Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,930 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00068 $0.06930
Opus 5 $0.00034 $0.03465
Sonnet 5 $0.00014 $0.01386
Haiku 4.5 $0.00007 $0.00693

Measured 2d ago against content hash 7effa7c3230e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcpgraphtoolkit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mcpgraphtoolkit/SKILL.md · 879 lines

How it starts

The opening of the file, as written. The whole thing — 879 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Building mcpGraph Tools with mcpGraphToolkit

This skill teaches you how to use the mcpGraphToolkit MCP server to build, debug, test, run, and manage graph tools in an mcpGraph.

What is an mcpGraph

An mcpGraph is a declarative configuration that defines an MCP (Model Context Protocol) server and its tools, where those tools are implemented as directed graphs. We call those exported tools "graph tools". Each graph tool executes a sequence of nodes that can:

  • Call other MCP tools (that are available to the mcpGraph)
  • 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 need to compose complex workflows from simpler MCP tools

Using the mcpGraphToolkit

What you should do:

  • ✅ DO use listMcpServers and listMcpServerTools to discover available MCP servers and tools
  • ✅ DO use getMcpServerTool to get MCP server tool details and schemas
  • ✅ DO use addGraphTool to add graph tools to the mcpGraph (it handles file operations automatically)
  • ✅ DO use updateGraphTool and deleteGraphTool to manage graph tools
  • ✅ DO use runGraphTool to run a graph tool or to test a graph tool before adding it
  • ✅ DO use listGraphTools and getGraphTool to discover and examine existing graph tools, especially when considering creating a new graph tool

⚠️ CRITICAL: Use Only the Provided Tools to interact with an mcpGraph

DO NOT create, edit, or read configuration files directly. mcpGraphToolkit uses configuration files internally (such as graph configuration files and MCP server configuration files), but you should never attempt to create, edit, or read directly from these files. The toolkit tools provide all the functionality you need to understand and manipulate the state of the mcpGraph.

Read the full file on GitHub · 879 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 879 lines · 68 tokens per session scan A 7effa7c3230e

Subscribe to this mod's changes

mcpgraphtoolkit is a skill published in the GitHub repository TeamSparkAI/mcpGraph (21 stars, last pushed 7mo ago), licensed MIT. It adds 68 tokens to every session and 6,930 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.