flutter-mcp-toolkit-intentcall-migration

flutter-mcp-toolkit-intentcall-migration is a skill for Claude Code from Arenukvern/mcp_flutter. It costs 58 tokens per session (1,126 once invoked), scanned A, original, MIT.

A migration guide and command-line tool for changing Flutter code from the removed MCPCallEntry type to AgentCallEntry after upgrading the MCP toolkit.

In plain words
What is it for?
Use it to preview or apply changes across Dart files, migrate custom tools and resources, and update handlers to return the newer result type.
Why use it?
It helps fix compile errors caused by a breaking toolkit upgrade and updates older tool and resource registrations to the new API.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the flutter-mcp-toolkit plugin — 14 skills, 1 agent shipped together

Good fit Use it to preview or apply changes across Dart files, migrate custom tools and resources, and update handlers to return the newer result type.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arenukvern/mcp_flutter/flutter-mcp-toolkit-intentcall-migration
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.

Any agent
npx skills add Arenukvern/mcp_flutter --skill flutter-mcp-toolkit-intentcall-migration
Clone the repo
git clone --depth 1 https://github.com/Arenukvern/mcp_flutter

Made for: Claude Code.

Or install flutter-mcp-toolkit, the plugin that ships this one along with the rest of its 14 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for flutter-mcp-toolkit-intentcall-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/arenukvern/mcp_flutter/flutter-mcp-toolkit-intentcall-migration/github.svg)](https://agentmods.dev/skills/arenukvern/mcp_flutter/flutter-mcp-toolkit-intentcall-migration)
Your own site
<a href="https://agentmods.dev/skills/arenukvern/mcp_flutter/flutter-mcp-toolkit-intentcall-migration"><img src="https://agentmods.dev/badge/skills/arenukvern/mcp_flutter/flutter-mcp-toolkit-intentcall-migration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for flutter-mcp-toolkit-intentcall-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/arenukvern/mcp_flutter/flutter-mcp-toolkit-intentcall-migration"><img src="https://agentmods.dev/badge/skills/arenukvern/mcp_flutter/flutter-mcp-toolkit-intentcall-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,126 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00058 $0.01126
Opus 5 $0.00029 $0.00563
Sonnet 5 $0.00012 $0.00225
Haiku 4.5 $0.00006 $0.00113

Measured 6d ago against content hash 5a8ac9dcca8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

flutter-mcp-toolkit-intentcall-migration 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 6d 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.

plugin/skills/flutter-mcp-toolkit-intentcall-migration/SKILL.md · 127 lines

How it starts

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

IntentCall migration — MCPCallEntry → AgentCallEntry

MCPCallEntry is removed from mcp_toolkit. App code must use AgentCallEntry (from intentcall_core, re-exported by mcp_toolkit).

Canonical migration doc: migration_mcp_call_entry_to_agent_call_entry.md

When to use this skill

  • dart analyze reports undefined MCPCallEntry after upgrading mcp_toolkit
  • User asks to migrate custom tools/resources to the new API
  • Before shipping a major mcp_toolkit bump to consumers

CLI (preferred)

# Preview (exit 1 if changes pending)
flutter-mcp-toolkit migrate agent-entries --check lib/

# Apply
flutter-mcp-toolkit migrate agent-entries --write lib/
flutter-mcp-toolkit migrate agent-entries --write --namespace my_app lib/main.dart

Alias: migrate mcp-call-entry (same behavior).

After migration — registration

  • MCPToolkitBinding.addEntries(entries: Set<AgentCallEntry>)
  • bootstrapFlutter(additionalEntries: { ... })
  • addMcpTool(AgentCallEntry) — still a shortcut for a single entry

Handlers should return AgentResult (AgentResult.success / AgentResult.failure). For legacy MCPCallResult + MCPToolDefinition handlers, use mcpToolkitTool / mcpToolkitResource (see flutter-mcp-toolkit-custom-tools).

Legacy pattern (before — do not ship new code)

// BEFORE (removed in Phase 6b)
final tool = MCPCallEntry.tool(
  handler: (request) async => MCPCallResult(
    message: 'ok',
    parameters: {'n': request['n']},
  ),
  definition: MCPToolDefinition(
    name: 'my_tool',
    description: 'Example',
    inputSchema: {'type': 'object', 'properties': {}},
  ),
);

Target pattern (after)

import 'package:mcp_toolkit/mcp_toolkit.dart';

final tool = AgentCallEntry.tool(
  namespace: 'app',
  name: 'my_tool',
  description: 'Example',
  inputSchema: const {
    'type': 'object',
    'additionalProperties': false,
    'properties': {'n': {'type': 'string'}},
    'required': ['n'],
  },
  handler: (final args) async {
    final n = args['n']?.toString() ?? '';
    return AgentResult.success(
      message: 'ok',
      data: {'n': n},
    );
  },
);

await MCPToolkitBinding.instance.addEntries(entries: {tool});

Read the full file on GitHub · 127 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. 6d ago First seen · 127 lines · 58 tokens per session scan A 5a8ac9dcca8d

Subscribe to this mod's changes

flutter-mcp-toolkit-intentcall-migration is a skill published in the GitHub repository Arenukvern/mcp_flutter (376 stars, last pushed yesterday), licensed MIT. It adds 58 tokens to every session and 1,126 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-09-03.