Agent skill

MCP Gateway

by tmustier in tmustier/pi-for-excel

Discover and call tools from configured MCP servers. An agent skill from tmustier/pi-for-excel.

MITAuto-check passedDocuments & Office

Install MCP Gateway

skills CLI
$ npx skills add tmustier/pi-for-excel --skill mcp-gateway -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tmustier/pi-for-excel mcp-gateway --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tmustier/pi-for-excel.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mcp-gateway .claude/skills/mcp-gateway && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mcp-gateway
GitHub stars
434
Token cost
~241 tokens
SKILL.md length
79 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Discover and call tools from configured MCP servers. An agent skill from tmustier/pi-for-excel.

  • Works in 4 steps: Open /tools (or /extensions →… → Enable external tools. → Add one or more MCP servers. → …
  • External capabilities are needed beyond built-in workbook tools
  • SKILL.md covers Mapping, Usage notes and Excel-specific setup
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

MCP Gateway is an agent skill from tmustier/pi-for-excel. Discover and call tools from configured MCP servers. Use when external capabilities are needed beyond built-in workbook tools.

Its SKILL.md is about 240 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires Pi for Excel integration "mcptools" to be enabled and at least one MCP server configured.

It sits in Documents & Office, covering MCP servers and Excel spreadsheets. It works with Model Context Protocol and Microsoft Excel. The repository describes itself as: Experimental Excel sidebar agent add-in. Multi-model. Powered by Pi. The licence is MIT.

When your agent uses it

  • External capabilities are needed beyond built-in workbook tools
  • Tasks that involve MCP servers
  • Tasks that involve Excel spreadsheets

Example prompts

  • “/mcp-gateway”

Requirements

  • Compatibility (from SKILL.md): Requires Pi for Excel integration "mcp_tools" to be enabled and at least one MCP server configured.

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Open /tools (or /extensions → Connections tab).
  2. Enable external tools.
  3. Add one or more MCP servers.
  4. Enable MCP Gateway for session and/or workbook scope.

What it can do on your machine

Read from SKILL.md and the folder at commit a3cea8f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires Pi for Excel integration "mcp_tools" to be enabled and at least one MCP server configured.

    From compatibility in the SKILL.md frontmatter.

Context cost

MCP Gateway loads about 241 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 79 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~241

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from tmustier/pi-for-excel at commit a3cea8f, republished under its MIT licence (© tmustier). 79 words, ~241 tokens.

Download SKILL.mdSave it as .claude/skills/mcp-gateway/SKILL.md (or your agent's skills folder).
name
mcp-gateway
description
Discover and call tools from configured MCP servers. Use when external capabilities are needed beyond built-in workbook tools.
compatibility
Requires Pi for Excel integration "mcp_tools" to be enabled and at least one MCP server configured.
metadata.integration-id
mcp_tools
metadata.tool-name
mcp
metadata.docs
docs/agent-skills-interop.md

MCP Gateway

This repository exposes MCP access as a built-in integration in the Excel add-in.

Mapping

  • Agent Skill name: mcp-gateway
  • Excel integration ID: mcp_tools
  • Tool name: mcp

Usage notes

  • Prefer listing/describing tools before invocation.
  • Clearly report which server and tool were used.
  • Treat MCP servers as external, potentially high-impact systems.

Excel-specific setup

  1. Open /tools (or /extensions → Connections tab).
  2. Enable external tools.
  3. Add one or more MCP servers.
  4. Enable MCP Gateway for session and/or workbook scope.

© tmustier, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/mcp-gateway of tmustier/pi-for-excel.

Open the folder on GitHubat commit a3cea8f

Compare with similar skills

MCP Gateway next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

MCP Gateway compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
MCP Gateway this skilltmustier/pi-for-excel434—~241Automated safety check: PassMIT
Bilig Workpapersickn33/agentic-awesome-skills47k1 repos~1.3kAutomated safety check: PassMIT
DatalionHybridAIOne/hybridclaw158—~2.8kAutomated safety check: PassMIT
Autocad Tianzheng Hvachashgraph-online/awesome-codex-plugins1.3k—~762Automated safety check: PassApache-2.0
Ot Cost Analysisaiskillstore/marketplace430—~4.4kAutomated safety check: PassNone
Bilig Workpaperagent-skills-hub/agent-skills-hub111—~931Automated safety check: PassMIT

Similar skills

  • Bilig Workpaper

    sickn33/agentic-awesome-skills

    Use formula-backed WorkPaper JSON and MCP tools for agent spreadsheet tasks without driving Excel or a browser UI.

    47k GitHub starsUsed in 1 repo~1.3k tokens
    Documents & OfficeAuto-check passed
  • Datalion

    HybridAIOne/hybridclaw

    A skill your agent uses for DataLion workflows such as listing, reading, creating, or editing projects, inspecting data sources, importing Excel or CSV data, working with reports and report tabs and…

    158 GitHub stars~2.8k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Autocad Tianzheng Hvac

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when controlling AutoCAD 2026 with Tianzheng HVAC T30 through the autocadtianzheng MCP server, including connecting the THvac30V1 profile, reading or creating DWG engineering…

    1.3k GitHub stars~762 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Ot Cost Analysis

    aiskillstore/marketplace

    Trigger for: Other Transaction or OT should-cost, cost estimate, cost-share analysis, milestone pricing, funding profile, proposed-price comparison, prototype price analysis, research OT budget…

    430 GitHub stars~4.4k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Bilig Workpaper

    agent-skills-hub/agent-skills-hub

    Formula WorkPaper runtime and MCP server for AI agents and Node.js services.

    111 GitHub stars~931 tokensUpdated 7 days ago
    Documents & OfficeAuto-check passed
  • Datapack Builder

    w95/awesome-claude-corporate-skills

    Build professional financial services data packs from various sources including CIMs, offering memorandums, SEC filings, web search, or MCP servers.

    239 GitHub starsUsed in 1 repo~6k tokens
    Business, Finance & HRAuto-check passed

More from tmustier/pi-for-excel

  • Excel Background Verification

    tmustier/pi-for-excel

    Run model-driven end-to-end tests in real local Excel while keeping it in the background.

    434 GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed
  • Wps Windows Smoke

    tmustier/pi-for-excel

    Provision or reuse a local Windows 11 ARM VM as a reusable test harness for validating pi-for-excel inside real China-domestic WPS Spreadsheets.

    434 GitHub stars~4.7k tokensUpdated yesterday
    Auto-check passed
  • Python Bridge

    tmustier/pi-for-excel

    Native Python execution via the local Python bridge. An agent skill from tmustier/pi-for-excel.

    434 GitHub stars~820 tokensUpdated yesterday
    Auto-check passed
  • Tmux Bridge

    tmustier/pi-for-excel

    Local terminal access via the tmux bridge. An agent skill from tmustier/pi-for-excel.

    434 GitHub stars~819 tokensUpdated yesterday
    Auto-check passed
  • Extending Pi

    tmustier/pi-for-excel

    Plan and build Pi for Excel extensions safely: choose skill vs extension plugin vs connection, create flat SKILL.md skills, and handle API keys without asking users to paste secrets in chat.

    434 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Web Search

    tmustier/pi-for-excel

    Search the public web for up-to-date facts. An agent skill from tmustier/pi-for-excel.

    434 GitHub stars~410 tokensUpdated yesterday
    Auto-check passed

Questions about MCP Gateway

What does MCP Gateway do?

Discover and call tools from configured MCP servers. An agent skill from tmustier/pi-for-excel. MCP Gateway is an agent skill from tmustier/pi-for-excel. Discover and call tools from configured MCP servers.

When should I use MCP Gateway?

MCP Gateway fits situations like: external capabilities are needed beyond built-in workbook tools; tasks that involve MCP servers; tasks that involve Excel spreadsheets.

How do I install MCP Gateway in Claude Code?

Run `npx skills add tmustier/pi-for-excel --skill mcp-gateway -a claude-code`. Or copy the skill folder (skills/mcp-gateway in tmustier/pi-for-excel) into .claude/skills/mcp-gateway in your project. Claude Code loads it when a task matches its description.

How do I install MCP Gateway in Codex?

Run `npx skills add tmustier/pi-for-excel --skill mcp-gateway -a codex`. Or copy the skill folder (skills/mcp-gateway in tmustier/pi-for-excel) into .agents/skills/mcp-gateway in your project. Codex loads it when a task matches its description.

Can I use MCP Gateway in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tmustier/pi-for-excel --skill mcp-gateway -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mcp-gateway, .gemini/skills/mcp-gateway, .github/skills/mcp-gateway and .opencode/skills/mcp-gateway in your project.

What does MCP Gateway need to run?

SKILL.md names no scripts, command-line tools or credentials: MCP Gateway is instructions for the agent only. Compatibility (from SKILL.md): Requires Pi for Excel integration "mcp_tools" to be enabled and at least one MCP server configured..

Does MCP Gateway access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is MCP Gateway safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does MCP Gateway use?

MCP Gateway is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does MCP Gateway use?

About 241 tokens (SKILL.md is roughly 964 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to MCP Gateway?

Skills that share tags, products or a category with MCP Gateway: Bilig Workpaper (sickn33/agentic-awesome-skills, 47k stars), Datalion (HybridAIOne/hybridclaw, 158 stars), Autocad Tianzheng Hvac (hashgraph-online/awesome-codex-plugins, 1.3k stars) and Ot Cost Analysis (aiskillstore/marketplace, 430 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains MCP Gateway?

tmustier (a GitHub user) maintains it in tmustier/pi-for-excel, which has 434 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 8, 2026.

Source: tmustier/pi-for-excel on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.