sharepoint-mcp

sharepoint-mcp is a skill for Codex from icemage001/local_sharepoint_mcp. It costs 84 tokens per session (896 once invoked), scanned A, original, MIT.

A set of instructions for operating SharePoint Online through a local MCP server and Chromium extension. SharePoint Online is Microsoft's web service for team sites, lists, documents, and pages.

In plain words
What is it for?
Inspecting or changing SharePoint lists, items, columns, views, formatting, permissions, groups, pages, document libraries, files, folders, and the recycle bin.
Why use it?
It sets checks and approval steps that help prevent changes being made to the wrong site or without a matching preview.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Inspecting or changing SharePoint lists, items, columns, views, formatting, permissions, groups, pages, document libraries, files, folders, and the recycle bin.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/icemage001/local_sharepoint_mcp/sharepoint-mcp
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 icemage001/local_sharepoint_mcp --skill sharepoint-mcp
Clone the repo
git clone --depth 1 https://github.com/icemage001/local_sharepoint_mcp

Made for: Codex.

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 sharepoint-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/icemage001/local_sharepoint_mcp/sharepoint-mcp/github.svg)](https://agentmods.dev/skills/icemage001/local_sharepoint_mcp/sharepoint-mcp)
Your own site
<a href="https://agentmods.dev/skills/icemage001/local_sharepoint_mcp/sharepoint-mcp"><img src="https://agentmods.dev/badge/skills/icemage001/local_sharepoint_mcp/sharepoint-mcp/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 sharepoint-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/icemage001/local_sharepoint_mcp/sharepoint-mcp"><img src="https://agentmods.dev/badge/skills/icemage001/local_sharepoint_mcp/sharepoint-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 896 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.
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.00084 $0.00896
Opus 5 $0.00042 $0.00448
Sonnet 5 $0.00017 $0.00179
Haiku 4.5 $0.00008 $0.00090

Measured 11d ago against content hash 9624bdc1512d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

sharepoint-mcp 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 11d 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/sharepoint-mcp/SKILL.md · 55 lines

How it starts

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

SharePoint MCP

Use only the tools provided by the sharepoint-local MCP server. Do not issue direct HTTP requests, use browser automation as a substitute, expose the local bridge, or reveal a bearer token.

Establish context

Before every write, call get_health and get_active_site. Confirm the active site's siteId and siteUrl match the user’s explicit target. If no matching site is locked:

  1. Call list_captured_sites.
  2. With a valid Graph token, call resolve_site for the requested URL.
  3. Lock the returned identity using set_active_site, then call get_active_site again.

Use set_active_site_from_tab only after checking that the captured tab is the requested site and has a resolved site ID. Never reuse a lock just because its hostname looks similar.

Select the API surface

  • Prefer a valid Graph token for lists, list items, columns, and modern pages; these tools can fall back to SharePoint REST v2 with a valid SharePoint token. Drives/files remain Graph-only.
  • Require a valid SharePoint REST token for groups, permissions, views, and column/view formatting.
  • Treat the two token audiences as non-interchangeable. If the required token is missing, ask the user to refresh or navigate the SharePoint page, then re-check get_health.

See references/tool-catalog.md for every available tool, its input, and its safe use.

Read workflow

Lock the site first, then use the applicable list_*, get_*, search_site_users, get_*_formatting, list_role_definitions, or list_recycle_bin tool. Return the active site and IDs used with the result so the user can verify scope.

Write workflow

Require an explicit target and user approval for every real-site write. For operations that change existing content, permissions, formatting, or delete anything:

  1. Re-read the target when a get_* tool is available.
  2. Call the exact matching preview_* tool immediately before applying.
  3. Inspect the returned previewId, target.siteId, target.siteUrl, object ID, riskLevel, and summary.
  4. Apply only that returned previewId using its paired apply_* or delete_* tool. Never invent, alter, reuse after expiry, or substitute a preview ID.
  5. Read back through the relevant API and report the result.

Read the full file on GitHub · 55 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 55 lines · 84 tokens per session scan A 9624bdc1512d

Subscribe to this mod's changes

sharepoint-mcp is a skill published in the GitHub repository icemage001/local_sharepoint_mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 84 tokens to every session and 896 once invoked, about $0.0004 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-31.