TL;DR: Notion’s MCP server can pull a PRD from Notion into an IDE, generate working code from a single prompt, and then push implementation updates back into the document loop, according to WorkOS’s MCP Night 2.0 recap. The bigger issue is not convenience but governance: when documentation becomes executable, identity scope, permissions, and tool boundaries need the same discipline as production access.
At a glance
What this is: This is a WorkOS recap of Notion's MCP server demo, showing a PRD-to-code workflow that can generate a prototype from a single prompt and keep documentation and implementation in sync.
Why it matters: It matters because MCP-driven development turns documentation into an operational interface, so teams need to govern access, permissions, and tool use with the same rigour they apply to production systems.
Context
MCP changes the boundary between documentation and execution. In this demo, a product requirements document in Notion is pulled into a development environment and used to generate code, then updated back into the source document after implementation changes.
That matters for identity governance because the document is no longer just read-only reference material. Once a PRD can drive code generation and updates through connected tools, the permissions around the document, the connected workspace, and the developer session become part of the control surface.
The article frames this as a practical workflow improvement, not a formal security design. The governance question is whether teams can keep provenance, authorisation, and change control intact when the document itself becomes an executable input.
Key questions
Q: How should teams govern PRD-to-code workflows that use MCP?
A: Treat them as controlled execution paths, not just productivity features. Limit the connected workspace scope, separate read and write permissions where possible, and require review for any document change that can influence code generation. If the same session can read requirements and mutate them, identity, provenance, and approval controls need to be explicit rather than assumed.
Q: What is the main risk when documentation becomes executable through MCP?
A: The risk is that the source of truth and the implementation path start sharing the same access channel. That increases the chance of unauthorised or poorly reviewed changes flowing from the IDE back into governing documents, while also making it harder to prove which edits were human approved and which were tool mediated.
Q: How do teams keep change provenance intact in bidirectional document workflows?
A: Use strong attribution, approval gates, and audit logging for both directions of change. Teams should be able to see when a document was read, when code was generated from it, and when the document was updated in response to implementation. Without that traceability, review becomes a guess.
Q: Should developers connect MCP clients to core product documents by default?
A: No. Core product documents are governance objects, not just convenience inputs. Connect them only after the team has defined scope, review requirements, and who may write back into the document. The question is not whether the integration works, but whether the organisation can control what it changes.
Technical breakdown
How MCP bridges a document and an IDE
Model Context Protocol lets an AI client call structured tools and data sources instead of scraping interfaces manually. In this workflow, the MCP server exposes Notion pages, databases, and updates to the client so the PRD can be fetched, interpreted, and acted on inside the coding session. That makes the document a live context source rather than static reference text. The important architectural point is that the model is not inventing requirements from scratch; it is operating against an authoritative workspace object that can change over time.
Practical implication: treat the Notion workspace, the MCP client, and the connected IDE as one governed execution path.
User-based permissions change the trust model
The article notes that the newer remote server uses user-based permissions rather than a bot model. That means the server can access the same pages and databases the signed-in user can access, and actions are attributed to the user. This is a meaningful shift from service-account style automation because the effective authority now follows the human session. The control challenge is not just whether the client can reach Notion, but whether the user session should be allowed to drive code generation, document edits, and project updates through the same identity.
Practical implication: review whether user-scoped MCP access should inherit the same approvals, logging, and change controls as the underlying workspace identity.
Why bidirectional sync increases governance pressure
Bidirectional sync is attractive because it reduces drift between product requirements and implementation. But it also creates a tighter coupling between source-of-truth documentation and the tools that can mutate that source. If the IDE can update the PRD after code changes, then provenance, review, and separation of duties become harder to preserve unless the workflow is tightly bounded. This is where MCP shifts from convenience to governance: the same connector that improves alignment can also make unaudited changes travel both ways across the development lifecycle.
Practical implication: require explicit change attribution and review for any workflow that can both read and write the same governing document.
NHI Mgmt Group analysis
Executable documentation creates a new control plane. Once a PRD can be pulled into an IDE and used to generate code, the document is no longer a passive artifact. It becomes part of the runtime path that influences implementation, which means access scope, authorisation, and change provenance now sit inside the development workflow itself. Teams should stop treating product documents as outside the identity model when they can directly drive tools.
User-based MCP permissions collapse the old bot-versus-human distinction. The article shows a user-scoped model where actions are attributed to the person rather than a bot account. That reduces one class of operational friction, but it also means the governance burden follows the human session into the toolchain. The practical issue is whether existing approval, logging, and review processes are strong enough for actions that originate in a document and land in code.
Bidirectional PRD-to-code workflows introduce provenance risk. The article's most important implication is that the source of truth can now be modified by the same environment that consumes it. That creates an identity and integrity problem, not just a productivity gain: teams need to know which changes came from human review, which came from tool action, and which were inferred by the client. Without that separation, documentation drift becomes harder to detect and easier to normalise.
Model Context Protocol needs governance, not just connectivity. The article points to a broader MCP ecosystem that is rapidly making tool installation and discovery easier. That convenience is valuable, but it also lowers the threshold for connecting high-trust documents to execution-capable clients. The governance gap is not whether MCP works, but whether organisations can define boundaries for what a connected client may read, write, and automate before the workflow becomes indistinguishable from production change.
Notion MCP should be evaluated as part of application change management. This is not just an integration story for developers. When a requirements document can shape code and the code can update the document, the workflow begins to resemble a controlled change pipeline. Practitioners should judge it with the same seriousness they apply to release management, because the question is no longer only what was built, but who or what was authorised to shape it.
From our research library:
- 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption, according to the State of Secrets Sprawl 2026.
- Only 44% of developers are reported to follow security best practices for secrets management, exposing a significant developer behaviour gap, according to the State of Secrets in AppSec.
- Read next: MCP Security Guide
What this signals
Executable documentation is now an identity problem. A PRD that can drive code generation and accept updates back from the IDE should be governed as part of the change pipeline, not as passive content. That means teams need explicit controls on who can connect tools, which workspaces they can reach, and what actions they can perform inside a shared development context.
Living documentation increases the blast radius of trust mistakes. If a connected client can both read requirements and write back changes, then an over-permissioned integration can alter not just code but the specification that future code depends on. The control objective is to preserve provenance at the document boundary before tool convenience starts to blur accountability.
Model Context Protocol broadens the attack surface of everyday development workflows. When more clients, directories, and connectors can discover and install integrations with minimal friction, security teams need a way to inventory what is connected, what it can do, and who approved it. That is especially important where the same workspace holds design intent, project coordination, and implementation state.
For practitioners
- Define MCP access boundaries Separate read-only document retrieval from write-capable workflows, and limit which workspaces, pages, and databases a connected client can touch.
- Attribute every bidirectional change Require clear attribution for PRD edits that originate from an IDE session so reviewers can distinguish human review from tool-generated updates.
- Treat IDE sessions as governed access Apply the same approval and logging expectations to connected development sessions that you would use for privileged workspace actions.
- Review tool proliferation before rollout Inventory which MCP clients, connectors, and workspace integrations are enabled so the organisation can reduce uncontrolled expansion of the execution surface.
- Test change-control assumptions Validate whether your release process still works when the specification and implementation can both be modified through the same connected workflow.
Key takeaways
- A PRD-to-code workflow can reduce translation friction, but it also turns documentation into part of the execution path.
- Bidirectional document updates create provenance and authorisation questions that standard developer tooling does not answer on its own.
- Teams should govern MCP-enabled development like a change pipeline, with explicit scope, review, and audit controls.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | The article centres on user-scoped MCP access into a production workspace. |
| NHI-05 — Overprivileged NHI | The demo depends on connected tool access that can span pages, databases, and write actions. | |
| NHI-10 — Human Use of NHI | The workflow attributes tool actions to a human session using a non-human protocol path. | |
| Recommendation — Review MCP authentication paths and restrict workspace access to verified, governed sessions. Limit MCP-connected identities to the minimum pages, databases, and write scopes they require. Govern human-driven MCP sessions as NHI-mediated actions with audit and approval controls. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The workflow depends on correctly scoped access across documents and connected tools. |
| Recommendation — Map connected-client permissions to PR.AA-05 and remove unnecessary read and write entitlements. | ||
| NIST SP 800-53 Rev 5 | IA-9 — Service Identification and Authentication | The integration relies on authenticated tool-to-tool access between the IDE and Notion. |
| Recommendation — Apply IA-9 to authenticate tool sessions and prevent unauthorised MCP connections. | ||
| NIST Zero Trust (SP 800-207) | Principle 7: Continuous Verification — Continuous Verification | Connected document workflows need ongoing validation of tool and session trust. |
| Recommendation — Continuously verify MCP sessions and reauthorise access before allowing document-to-code actions. | ||
Key terms
- Model Context Protocol: Model Context Protocol is an open protocol that lets AI agents connect to tools and data sources. It expands what an agent can reach, so governance has to cover not only the model and its prompts, but also every system that can receive or return agent-driven data.
- Bidirectional Workflow: A bidirectional workflow is a two-way sync between a security platform and Jira. Changes made in one system are reflected in the other, which helps teams keep alert status and ticket status aligned. This reduces blind spots when work is reassigned, closed, or reopened.
- Document-as-Execution: A state where a document is no longer just reference material but can directly influence actions in connected tools. For IAM and NHI governance, this changes the document from passive content into an operational object whose access and mutation rights must be controlled.
- User-Based Rights And Permissions: User-based rights and permissions control who can access, view, export, or administer surveillance systems and footage. In prison environments, these controls help limit sensitive data to authorised staff and support policy enforcement, especially where viewing restrictions apply. They also create a clearer accountability trail for system use and investigation.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on June 8, 2026.
Updated on October 7, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org