Labsco
TuttoOne logo

sp-mcp

from TuttoOne

An MCP server that allows you to control SharePoint and power automate through Claude

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedPaid serviceAdvanced setup

SharePoint Bridge for Claude

Control SharePoint with natural language through Claude's Model Context Protocol (MCP).

SharePoint Bridge is an open-source MCP server that connects Claude to your SharePoint environment via the Microsoft Graph API. Ask questions, create lists, update items, query data, and trigger Power Automate flows β€” all through conversation.

What It Does

Instead of clicking through SharePoint's UI, you talk to Claude:

Copy & paste β€” that's it
You: "Show me all active projects with a deadline in the next two weeks"
Claude: [queries SharePoint β†’ synthesises results β†’ presents actionable summary]

You: "Create a new task for Sarah on the Henderson case, due Friday"
Claude: [creates item in SharePoint β†’ confirms with link]

You: "What's the compliance status across all our open investigations?"
Claude: [queries multiple lists β†’ cross-references lookups β†’ produces briefing]

Claude reads your SharePoint schema, understands relationships between lists, and works across your entire site β€” not just one list at a time.

Features

  • Read & Write β€” Query, create, update, and delete list items
  • Schema-Aware β€” Understands your column types, lookups, and relationships
  • Multi-List Intelligence β€” Cross-references data across related lists in a single conversation
  • Audit & Restructure β€” Claude can audit your entire SharePoint environment, diagnose structural problems, and rebuild it for optimal AI use
  • Power Automate Integration β€” List, inspect, and trigger flows
  • Microsoft Learn Integration β€” Built-in documentation search for accurate Graph API guidance
  • Full Column Support β€” Text, number, date, choice, lookup, calculated, boolean, currency, person
  • Dual Transport β€” HTTP mode for Claude.ai / remote connections, stdio mode for Claude Code / local use

Start Here: Audit Your SharePoint

Once the bridge is connected, try this as your first conversation with Claude:

Copy & paste β€” that's it
"Audit my SharePoint site. List every list, inspect every schema, and tell me:
1. What's well-structured and what's messy
2. Where I'm missing lookup relationships between related lists
3. Which columns should be choice fields instead of free-text
4. What data quality issues you can see
5. How you'd restructure it to work better with AI"

Claude will use the bridge tools to scan your entire site and come back with a detailed assessment. This is the fastest way to understand the value of AI-powered SharePoint β€” and to see exactly what's holding your data back.

If you want help acting on the recommendations, see Custom Solutions below.

Available Tools (15)

SharePoint Lists (8 tools)

ToolDescription
sp_list_listsList all lists and document libraries on a site
sp_list_getGet a list's full schema including column definitions, types, and relationships
sp_list_createCreate a new list (add columns separately via sp_column_add)
sp_column_addAdd columns: text, number, dateTime, choice, lookup, calculated, boolean, currency, personOrGroup
sp_items_queryQuery items with OData filtering, sorting, field selection, and pagination
sp_item_createCreate new items with field values (supports lookup IDs)
sp_item_updateUpdate existing item fields
sp_item_deleteDelete items

Power Automate (4 tools)

ToolDescription
pa_flows_listList all flows in an environment
pa_flow_getGet full flow definition including triggers and actions
pa_flow_runsView run history with status and error details
pa_flow_triggerManually trigger a flow

Microsoft Learn Documentation (3 tools)

ToolDescription
ms_docs_searchSearch Microsoft Learn docs (Graph API, Power Automate, SharePoint)
ms_docs_fetchFetch full content of a documentation page
ms_docs_contextBuild comprehensive API reference for a topic (combines search + fetch)

Example Use Cases

Private Investigation Firms

Case management, evidence chain of custody, subject tracking, compliance (GDPR/DPA), expense tracking β€” all queryable by Claude across related lists.

Legal Practices

Matter management, document tracking, court deadlines, billing, conflict checks, client relationship management.

Property Management

Tenancy records, compliance certificates, contractor management, maintenance scheduling, rent tracking.

Professional Services

Project tracking, resource allocation, time logging, client deliverables, knowledge management.

Architecture

Copy & paste β€” that's it
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     MCP Protocol      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     Graph API     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Claude.ai   β”‚ ◄──────────────────► β”‚  SharePoint Bridge  β”‚ ◄───────────────► β”‚  SharePoint  β”‚
β”‚  Claude Code β”‚  (HTTP or stdio)      β”‚  (Node.js/TS MCP)   β”‚    (REST/HTTP)    β”‚  Online      β”‚
β”‚  Claude      β”‚                       β”‚  Port 3500          β”‚                   β”‚              β”‚
β”‚  Desktop     β”‚                       β”‚                     β”‚                   β”‚              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                              β”‚         β”‚
                                              β”‚         β–Ό
                                              β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                              β”‚  β”‚   Power Automate    β”‚
                                              β”‚  β”‚   (Flow Management) β”‚
                                              β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                              β–Ό
                                       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                       β”‚   Microsoft Learn   β”‚
                                       β”‚   (Live doc search) β”‚
                                       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The bridge authenticates with Microsoft Graph using the OAuth 2.0 client credentials flow (via MSAL). It translates Claude's MCP tool calls into Graph API requests and returns structured responses that Claude can reason about.

Important Notes

Lookup Columns

Lookup columns are not indexed by default. OData filters on lookup fields ({ColumnName}LookupId) will return 400 errors on large lists. For small-to-medium lists (< 5,000 items), Claude can pull all items and filter client-side. For larger lists, index the lookup column in SharePoint's list settings.

List Creation & Columns

When creating lists via sp_list_create, column types are limited to: text, number, dateTime, choice, boolean, currency. For lookup, calculated, and personOrGroup columns, create the list first, then add columns separately using sp_column_add.

Permissions

The app registration requires Application permissions (not Delegated) for the client credentials flow. Sites.ReadWrite.All provides read and write access to all sites in the tenant. For tighter security, use Sites.Selected and grant per-site access via PowerShell.

Token Caching

The bridge caches access tokens for their full lifetime (typically 1 hour). If you change permissions in Azure, restart the bridge to force a token refresh:

Copy & paste β€” that's it
pm2 restart sp-mcp

Known Limitations

  • Power Automate flow creation/editing is not supported β€” the Flow API supports listing, triggering, and inspecting, but not authoring flow definitions programmatically.
  • Lookup columns return as {ColumnName}LookupId (integer), not display values. Cross-reference with a second query to resolve.
  • Address is a reserved column name in SharePoint β€” use alternatives like ClientAddress.
  • Hyperlink columns may return 500 errors when creating items (known Microsoft Graph bug).

Custom Solutions

This open-source bridge is the foundation. Tutto.one offers a full service ladder built on top of it:

  • SharePoint AI Readiness Audit β€” We connect the bridge and Claude audits your entire SharePoint environment. You get a detailed report on what's working, what's broken, and exactly what to fix. Free self-service, or guided with a walkthrough call.
  • SharePoint Cleanup & Restructure β€” Claude diagnosed the problems; now we fix them. We restructure your lists, retype your columns, create proper lookup relationships, and migrate your data. Your SharePoint goes from messy to AI-ready.
  • Industry-specific data architectures β€” Pre-built SharePoint schemas for PI firms, legal practices, property management, professional services, and recruitment. Proven structures with demo data and Claude prompt templates.
  • Custom software for your organisation β€” Not just industry templates, but bespoke systems designed for exactly how your organisation operates. Custom MCP tools, custom workflows, custom integrations β€” built around your specific processes, terminology, and requirements.
  • Power Automate integration β€” Automated workflows triggered by Claude: notifications, approvals, document generation, cross-system orchestration.
  • Multi-system integration β€” Connect Claude to SharePoint AND your other tools (Gmail, Calendar, Slack, Linear) through MCP. One conversation, multiple systems.
  • Managed service β€” We host the bridge, monitor it, keep it updated, and provide ongoing support. You focus on your business.

Contact Tutto.one β€” the team that built this bridge.

Email: daniel@tutto.one

Contributing

Contributions welcome. Please see CONTRIBUTING.md for guidelines.

We especially welcome industry template contributions β€” if you've built a SharePoint architecture for a specific sector and want to share the schema, open an issue and let's collaborate.

License

MIT β€” see LICENSE for details.


Built by Tutto.one | Powered by Anthropic's MCP