Programmatic MCP Skill — AI skill for Claude Code
Claude Code skill for calling MCP server tools programmatically from scripts - no AI agent required.
How to install Programmatic MCP Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open grandamenium/programmatic-mcp-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Programmatic MCP Skill does
Claude Code skill for calling MCP server tools programmatically from scripts - no AI agent required.
Alternatives in AI
- Zen MCP Server — The power of Claude Code + Gemini / OpenAI / Grok / OpenRouter / Ollama / Custom Model working as one 11.3k ★
- Hexstrike AI — HexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomousl 8.2k ★
- Cursor Talk To Figma MCP — TalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to c 7k ★
README
Programmatic MCP Tool Calling
A Claude Code skill that teaches you how to convert MCP server tools (normally called by an AI agent) into programmatically callable scripts - no AI in the loop required.
What This Solves
When you connect an MCP server to Claude Code, tools are only accessible through the AI agent. This skill shows you how to call those same tools directly from Python/Node.js scripts, enabling:
- Batch operations - Call tools in loops without burning tokens
- Chained pipelines - Pass output from one tool as input to another
- Scheduled automation - Run MCP tools from cron jobs
- Testing - Validate MCP server behavior without an AI agent
Quick Start
- Install the skill in Claude Code
- Run
/programmatic-mcpand follow the guided workflow - Choose your MCP server and transport method
- Get a working script that calls tools programmatically
Installation
As a Claude Code Skill
# Clone into your global skills directory
git clone https://github.com/jamesgoldbach/programmatic-mcp-skill.git ~/.claude/skills/programmatic-mcp
Or copy `SKILL.md` into `~/.claude/skills/programmatic-mcp/SKILL.md`.
Helper Scripts
The `scripts/` directory contains ready-to-use templates:
scripts/call_tool.py- Python MCP client for calling toolsscripts/call_tool.js- Node.js MCP client for calling toolsscripts/chain_tools.py- Python example of chaining multiple tool callsscripts/discover_tools.py- List all tools from an MCP server
How It Works
MCP servers communicate via JSON-RPC 2.0 over stdio or HTTP. Normally, Claude Code acts as the MCP client. These scripts act as their own MCP client, connecting directly to the server process and calling tools programmatically.
Normal: Claude Code -> MCP Client -> MCP Server -> Tool
Programmatic: Your Script -> MCP Client -> MCP Server -> Tool
Requirements
- Python 3.11+ with
mcppackage, OR Node.js 18+ with@modelcontextprotocol/sdk
Related Skills
Vllm Mlx
High-performance OpenAI and Anthropic compatible LLM inference server for Apple Silicon. Native MLX, continuou
Qiaomu Markdown Proxy
Fetch any URL as clean Markdown via proxy services (r.jina.ai / defuddle.md) or built-in scripts. Works with l
Hn MCP
Hacker News MCP server for Claude Desktop & AI assistants. Browse HN stories, search posts, read comments, ana
Weppy Roblox MCP
Roblox Studio MCP server & plugin for Claude Code, Cursor, Codex, and Gemini. AI-powered scripts, terrain, ass
MCP Notebooklm Go
Unofficial Go API and agentic skill for Google NotebookLM. Full programmatic access to NotebookLM's features—i
LexFlow
LexFlow is an open-source framework for building graph-based AI agent systems powered by FastAPI and MCP tools
Related Agents
Unity Coder
Implements Unity features — gameplay systems, components, managers. Identifies required subsystems, loads rele
LinkedIn Login
Specialized agent for LinkedIn authentication using Playwright MCP server. Use proactively when LinkedIn login
Video Producer MCP
Role: You are the Video Producer (Higgsfield MCP variant) — an additive, non-destructive alternative to the vi