academy-pages-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@academy-pages-mcpcreate a new concept page titled 'New Employee Checklist'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
academy-pages-mcp (prototype)
Een kleine MCP-server waarmee Claude rechtstreeks concept-pagina's op de HTJZ Academy (SharePoint) kan maken, bijwerken en publiceren, via de Microsoft Graph API. Dus zonder de PowerShell-omweg die we nu gebruiken.
Dit is een prototype om te laten zien dat het werkt en om IT te laten beoordelen voor uitrol. Het gaat om schrijftoegang tot het kennissysteem van de firma, dus de uiteindelijke keuze (welke rechten, welke app) ligt bij Edgar en IT.
Waarom
Nu bouwt Claude Academy-pagina's via PowerShell op één Mac met een gecachete verbinding. Dat werkt, maar alleen daar, en collega's zonder die opstelling kunnen niet zelf bijdragen. Met deze tool als connector in de Cowork-omgeving kan iedereen met toegang concept-pagina's laten bouwen, net zoals de bestaande file-tools (uploaden, verplaatsen) werken.
Related MCP server: mcp-onedrive-sharepoint
Wat het doet
Vier tools voor Claude:
Tool | Wat het doet |
| Maakt een nieuwe pagina als concept (draft, niet live). Argumenten: |
| Werkt de tekst van een pagina bij (blijft concept tot publiceren). Argumenten: |
| Publiceert een pagina. Argument: |
| Lijst de pagina's op (id, naam, titel, url). |
| Toont het menu (QuickLaunch) met de id's, om een parent te kiezen. |
| Zet een gepubliceerde pagina in het menu (optioneel onder een sectie). |
Nieuwe pagina's zijn standaard concept. Dat sluit aan bij het model "iedereen levert, de eigenaar publiceert": Claude bouwt het concept, de eigenaar publiceert (of vraagt Claude dat te doen).
De echte beslissing: rechten
De tool heeft schrijftoegang tot de Academy nodig (Graph-scope Sites.ReadWrite.All). Twee smaken:
Delegated (namens de ingelogde gebruiker). Veilig en simpel. De gebruiker logt één keer in (device-code), en de tool doet alleen wat die gebruiker zelf mag. Nadeel: de gebruiker moet al bewerkrechten op de Academy hebben.
App-only (namens de app zelf). De tool kan altijd schrijven, ongeacht wie hem gebruikt. Krachtiger en echt "iedereen kan bijdragen", maar dan moet de omgeving zelf bewaken wie de tool mag aanroepen. Vraagt om governance.
Dit is de knoop die IT doorhakt. De code werkt met allebei; standaard staat delegated.
Demo draaien (zonder dat IT iets registreert)
Voor een snelle demo gebruikt de tool standaard de publieke Microsoft Graph CLI-app, zodat je geen eigen app-registratie nodig hebt. Je logt één keer in met je eigen account.
cd ~/Developer/academy-pages-mcp
npm install
npm run demo # maakt een concept-testpagina ZZ-MCP-demo.aspx
npm run demo -- publish # maakt hem en publiceert hemBij de eerste run verschijnt een device-code login (ga naar de getoonde URL, voer de code in, log in met je HTJZ-account). Daarna is het token gecached en gaat het stil.
Let op: sommige tenants vragen admin-goedkeuring voor
Sites.ReadWrite.All. Als de login zegt dat goedkeuring nodig is, moet een Entra-beheerder dat één keer goedkeuren. Dat is precies de IT-stap hieronder.
Toevoegen aan Claude (Desktop/Cowork)
Zet dit in de MCP-configuratie (bij Claude Desktop: claude_desktop_config.json):
{
"mcpServers": {
"academy-pages": {
"command": "node",
"args": ["/Users/edgarstam/Developer/academy-pages-mcp/src/index.mjs"],
"env": {
"SP_SITE_URL": "https://stamadvocaten.sharepoint.com/sites/Academy",
"GRAPH_TENANT": "stamadvocaten.onmicrosoft.com",
"GRAPH_CLIENT_ID": "646a6353-f18d-4566-84a9-73b2a8d9f23d",
"GRAPH_SCOPES": "Sites.ReadWrite.All"
}
}
}
}Daarna heeft Claude de vier tools hierboven.
Voor productie (de nette versie, IT-taak)
Registreer een eigen Entra-app "Academy Pages" (in plaats van de Graph CLI-app).
Kies de rechtenvorm:
Delegated: Graph-permissie
Sites.ReadWrite.All(delegated) + "Allow public client flows" aan (voor device-code). Gebruikers hebben eigen bewerkrechten nodig.App-only: Graph-permissie
Sites.ReadWrite.All(application) + admin consent, en een client secret of certificaat. Zet dan een gate op wie de tool mag gebruiken.
Overweeg de scope te beperken tot alleen de Academy-site met
Sites.Selectedin plaats vanSites.ReadWrite.All(schrijftoegang tot precies één site, niet alle sites). Netter en veiliger.Zet de client-id (en bij app-only de auth-gegevens) in de env van de connector.
Menu-beheer (extra permissie nodig)
De Graph-API kan geen SharePoint-menu (QuickLaunch) aanpassen, dus academy_list_menu en academy_add_menu_item praten met de SharePoint REST-API. Dat vereist een SharePoint-token, en dus een extra delegated permissie op de app: SharePoint > AllSites.Manage (naast de Graph-permissie), met admin consent. De page-acties (tekst, banner, byline, publiceren) werken op Graph; alleen het menu gebruikt SharePoint.
Beperkingen van dit prototype
Delegated device-code is bedoeld voor persoonlijk gebruik per persoon; voor de hele firma zonder per-persoon login is app-only met een gate of
Sites.Selectedde nette route.De banner verwijst naar een bestaande afbeelding in SiteAssets (de tool uploadt zelf geen banners).
Bestanden
src/index.mjs- de MCP-server en de tools.src/graph.mjs- de Graph Pages-API-aanroepen (maken/bijwerken/publiceren, banner + byline).src/sharepoint.mjs- de SharePoint REST-aanroepen voor het menu.src/auth.mjs- device-code login met tokencache (Graph- en SharePoint-scope).src/canvas.mjs- zet een HTML-fragment om in een tekst-webpart.bin/demo.mjs- losse demo buiten Claude om.
Available Tools
6 toolsacademy_create_concept_pageA
Maak een nieuwe concept-pagina (draft, niet gepubliceerd) op de HTJZ Academy. Geef name (bestandsnaam zonder pad, bv 'Mijn-onderwerp'), title en bodyHtml (een HTML-fragment met h2/p/ul). Optioneel: bannerUrl (volledige URL van een banner in SiteAssets voor de header) en ownerEmail (zet de eigenaar-byline, bv inciatar@htjz.nl).
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| title | Yes | ||
| bodyHtml | Yes | ||
| bannerUrl | No | ||
| ownerEmail | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It discloses that this creates a draft (not published) and describes the optional bannerUrl/ownerEmail behaviors. However, it doesn't disclose what happens on success/failure, whether it overwrites an existing name, or if permissions are required.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single dense sentence front-loads the core purpose (create draft page) and each parameter is explained inline with concrete examples. Slightly long, but every clause adds value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a creation tool with 5 params and no output schema or annotations, the description covers the essential behavioral and parameter details well. It could benefit from noting response behavior or idempotency, but the main gaps (what the tool does, what each param means) are filled.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description must compensate, and it does reasonably well: it explains name as filename-without-path with example 'Mijn-onderwerp', bodyHtml as an HTML fragment with h2/p/ul, bannerUrl as full URL from SiteAssets, and ownerEmail as byline with example. However, some specifics like title semantics and validation rules are not covered.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb (create), resource (concept-page/draft page on HTJZ Academy), and explicitly notes it's a draft not published. This distinguishes it from siblings like academy_publish_page and academy_update_page_text.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains this creates an unpublished draft, which implicitly positions it against academy_publish_page. While it doesn't explicitly name alternatives or exclusions, the draft-vs-published clarification provides clear usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
academy_list_pagesA
Lijst de pagina's op de Academy op (id, name, title, webUrl). Handig om te zien of iets al bestaat en om een id op te halen.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description states the tool is a read-only listing operation ('Lijst de pagina's op'), showing fields returned and its purpose (checking existence, fetching an id). With no annotations provided, the description carries the full burden, but for a simple parameterless read tool this is reasonably transparent. It doesn't describe pagination or sorting behavior, but that's minor for an id/name/title listing tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One concise sentence in Dutch that efficiently communicates what the tool returns and why it's useful. No wasted words, clear structure.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given this is a parameterless read-only tool with a clear output of listed fields (id, name, title, webUrl), the description is complete enough. It names the exact fields returned, which serves as an implicit output schema since none is provided. The stated utility (checkening existence, retrieving id) gives sufficient context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are 0 parameters with 100% schema description coverage, so the baseline is 4 for a parameterless tool. There is nothing to explain and the description correctly focuses on return values instead. The description actually captures the parameter-free nature implicitly by simple listing.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Lists a specific verb+resource ('Lijst de pagina's op de Academy op') and names the exact output fields (id, name, title, webUrl). It clearly distinguishes from siblings like academy_list_menu (listing menu items) by explicitly being about pages. Clear, specific, and differentiated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description states when it's useful: 'Handig om te zien of iets al bestaat en om een id op te halen.' This gives clear usage context. It doesn't explicitly exclude alternatives or name siblings, but for a listing tool the intended use case is well conveyed. It does not say when not to use it, but its limited role is clear from the pages vs menu distinction among siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
academy_publish_pageA
Publiceer een pagina (maakt de laatste versie live). Geef id. Doe dit als eigenaar, of na akkoord van de eigenaar.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden of behavioral disclosure. It reveals that publishing requires ownership or owner approval, which is meaningful behavioral context. However, it doesn't disclose side effects such as whether the previous live version is destroyed, whether republishing overwrites, or if there's any rollback possibility.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One sentence, front-loaded with the core action (Publiceer een pagina). Every clause earns its place. Slightly under-specified in parts but highly economical.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a single-parameter publish action with no output schema and no annotations. The description covers the action, the requirement (ownership/approval), and the parameter. However, it lacks detail on what parameters the id references, the success/failure response, and how to locate the id - gaps that are more significant given the lack of annotations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must compensate by explaining the single 'id' parameter. It does say 'Geef id' (give id), which tells the agent to provide the page identifier. However, it doesn't clarify whether id refers to a page id, version id, or concept page id, nor does it explain where to obtain the id (e.g., from list_pages).
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a clear verb+resource structure: 'Publiceer een pagina' (publish a page) and specifies the effect ('maakt de laatste versie live'). It distinguishes from siblings by focusing on publishing/making-live rather than creation or listing, though it doesn't explicitly name a sibling alternative.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description states when to use it ('doe dit als eigenaar, of na akkoord van de eigenaar'), indicating you should have owner rights or owner approval. This is clear usage context, though it doesn't explicitly explain when NOT to use it versus alternatives like update_page_text or create_concept_page.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
academy_update_page_textB
Werk de tekst van een bestaande pagina bij. De wijziging blijft concept tot je publiceert. Geef id (uit create of list) en bodyHtml.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| bodyHtml | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses one important behavior (changes stay as concept until published), which is genuinely useful. However, it does not mention whether the update overwrites the entire body, permissions required, reversibility, or what happens to unpublished vs published pages. For a mutating tool with zero annotation coverage, more behavioral disclosure is warranted.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a compact, efficient two-sentence Dutch text with no filler. Each sentence earns its place: the first states the core action, the second provides workflow and parameter guidance. Slightly more could be added about behavior, but there is zero waste here.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With only 2 simple string parameters and no output schema, the completeness burden is moderate. The description covers the core semantics (update existing page text, stays concept until publish) and parameter sourcing, which is adequate for a low-complexity tool. However, given no annotations and no output schema, it could disclose a bit more about side effects (e.g., whether bodyHtml replaces or merges content) for full completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It helpfully explains that id comes 'uit create of list' and bodyHtml is the text to set, but it adds no format details, encoding requirements, or length constraints beyond indicating bodyHtml is the text. There are only 2 params, both simple strings, so limited elaboration is needed; the description adds modest value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The Dutch description clearly states the action: 'Werk de tekst van een bestaande pagina bij' (update the text of an existing page). It specifies the resource (existing page) and verb (update text). It doesn't explicitly distinguish from siblings like academy_create_concept_page, but the focus on updating existing content is reasonably clear.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives helpful context: changes remain a concept until you publish, and instructs users to provide id (from create or list) and bodyHtml. This implicitly guides when to use the tool (update an existing concept page's text) and hints at workflow context via 'blijft concept tot je publiceert,' but doesn't explicitly exclude alternatives or name sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
6 tool updates
v0.1.0- First observed
academy_add_menu_item - First observed
academy_create_concept_page - First observed
academy_list_menu - First observed
academy_list_pages - First observed
academy_publish_page - First observed
academy_update_page_text
TDQS
Scored across 6 tools
Each tool targets a distinct action (list menu, add menu item, create concept, update text, publish, list pages) on the Academy domain. The only minor overlap is between list_menu and list_pages, but their purposes (menu structure vs. page inventory) are reasonably distinct.
All tools use a consistent academy_ prefix with verb_noun structure (academy_create_concept_page, academy_list_pages). However, 'add_menu_item' and 'create_concept_page' mix different verb phrasings, and 'update_page_text' uses a slightly different pattern than the others, though the overall convention is readable.
Six tools is a well-scoped set for a page-management server, covering the full create-to-publish workflow plus menu management. Each tool clearly earns its place without redundancy.
The lifecycle is well-covered: create concept, update text, publish, list, plus menu operations (list menu, add menu item). The main gap is the lack of a delete/archive operation for pages or menu items, which agents may need for cleanup, but the core publishing workflow is complete.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Create, edit, preview, publish, and manage web pages from MCP-capable AI clients.
Manage Microsoft 365 email, calendar, contacts and inbox rules via the Graph API with OAuth 2.0.
Permissioned access to Outlook, OneDrive and Teams via the user's own Microsoft account
Manage websites, help documents and customer-support conversations with safe, scoped tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Microsoft SharePoint sites, document libraries, and files through the Microsoft Graph API. Supports browsing, searching, uploading/downloading files, managing lists, and creating sharing links with secure OAuth authentication.2MIT
- AlicenseBqualityBmaintenanceEnables file and site management across OneDrive and SharePoint via Microsoft Graph API, with support for 33 tools and a CLI.33398MIT
- AlicenseNot gradedqualityDmaintenanceControls SharePoint through natural language via Microsoft Graph API, enabling querying, creating, updating lists/items, and triggering Power Automate flows.20MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with SharePoint Online and OneDrive content via Microsoft Graph, supporting device-code authentication for multi-account environments.1MIT