portflow-mcp
Click on "Deploy 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., "@portflow-mcp Upload ~/Documents/Ontwerpdocument_v2.pdf as a new version of my Ontwerpdocument evidence."
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.
portflow-mcp
Unofficial MCP server that lets Claude read and add to your Drieam Portflow portfolio (Fontys ICT): collections, evidence, goals, feedback and progress reviews, plus uploading evidence and new versions, writing descriptions and posting comments.
Disclaimer: not affiliated with, endorsed by or supported by Drieam or Fontys. Use it only on your own portfolio, at your own risk, and in line with your school's acceptable-use rules. It uses Portflow's internal API (see API.md), which can change without notice.
Once it's set up you can ask Claude things like:
"What's in my Challenge 3 collection, and which evidence has no feedback yet?"
"Upload ~/Documents/Ontwerpdocument_v2.pdf as a new version of my Ontwerpdocument evidence."
"Write a reflection for my research document and put it in the evidence description."
Setup guide
About 10 minutes, once. Tested on macOS.
What you need
Node.js 18 or newer: check with
node --version. Install from nodejs.org orbrew install node.Claude Code and/or the Claude desktop app.
A Canvas account where Portflow opens from the Canvas menu (Fontys ICT by default; for other schools see Other schools).
Step 1: Download and install
git clone https://github.com/christianchill/portflow-mcp.git
cd portflow-mcp
npm install
npm linknpm link adds the portflow-token command to your terminal. Check it with:
portflow-token --helpNote the full path of the folder, you need it in step 3:
pwdStep 2: Turn on automatic login
Portflow only lets you in through Canvas, and its login lasts 8 hours. With a Canvas access token, the server logs in through Canvas by itself whenever it needs to, so you never have to copy Portflow tokens by hand.
In Canvas go to Account → Settings.
Under Approved integrations click + New access token.
Purpose:
Portflow MCPExpires: pick a date, e.g. the end of the semester
Click Generate token and copy it. Canvas shows it only once.
Run:
portflow-token canvasIt reads the token from your clipboard, checks it, saves it privately in
~/.canvas-token, clears your clipboard and tests a Portflow login. You should see:✓ Canvas token saved for <your name> … ✓ signed in as <your name>. Portflow token valid until … (8h 0m left).
Don't paste the Canvas token into a chat with Claude. The command's output is safe to share.
No Canvas token, or not allowed to make one? See Manual login.
Step 3: Connect it to Claude
Replace /FULL/PATH/portflow-mcp with the path from pwd in step 1.
Claude Code (terminal, VS Code/JetBrains, or the desktop app's Code tab):
claude mcp add portflow --scope user -- node /FULL/PATH/portflow-mcp/server.js--scope user makes it available in every project.
Claude desktop app, Chat tab:
Find the full path of
node:which nodeOpen the config file (Claude → Settings → Developer → Edit Config), or:
open -e ~/Library/Application\ Support/Claude/claude_desktop_config.jsonAdd
portflowinside"mcpServers", using the paths from above. Keep any servers already listed:{ "mcpServers": { "portflow": { "command": "/opt/homebrew/bin/node", "args": ["/FULL/PATH/portflow-mcp/server.js"] } } }Use the full
nodepath: the desktop app doesn't see your terminal'sPATH.Quit Claude completely (
Cmd+Q) and open it again.
Step 4: Check it works
Start a new chat or Claude Code session. Already-open ones don't see new servers.
Ask: "Check my Portflow token", then "List my Portflow collections".
Allow the
portflowtools when Claude asks.
In Claude Code you can also run claude mcp get portflow. It should say ✔ Connected.
That's it. 🎉
Related MCP server: Canvas MCP
Everyday use
Nothing to do day-to-day. The server renews the Portflow login by itself.
Write actions ask first. Claude asks your permission before every upload, edit or comment.
When your Canvas token expires (the date you picked): make a new one (step 2) and run
portflow-token canvasagain.Updating to a newer version:
cd /FULL/PATH/portflow-mcp && git pull && npm installThen start a new chat, or restart the desktop app.
portflow-token commands
Command | What it does |
| one-time setup: save a Canvas token for automatic login |
| is automatic login on, and how long the current Portflow login lasts |
| get a fresh Portflow login now |
| manual mode: save a Portflow token from your clipboard |
| delete the saved Portflow token |
Troubleshooting
Problem | Fix |
| Run |
Claude doesn't show any Portflow tools | Start a new chat/session. For the Chat tab: check the JSON is valid and uses full paths, then |
"Canvas rejected the Canvas API token (401)" | The Canvas token expired or was deleted. Make a new one and run |
"Automatic Portflow login failed …" | Run |
"Couldn't work out your portfolio id" | Turn on automatic login (step 2), or set |
Errors after Portflow had an update | Portflow's internal API may have changed. Open an issue on GitHub. |
To remove it: claude mcp remove portflow -s user, delete the portflow block from the desktop config,
delete the token in Canvas → Settings, and run rm ~/.canvas-token ~/.portflow-token ~/.portflow-portfolio-id.
Tools
Read
Tool | What it returns |
| whether automatic login is on and how long the current login lasts |
| your profile + portfolio id |
| all collections grouped by section |
| description, goals, evidence per goal, feedback |
| all evidence, newest first |
| details, latest version, history, goals, feedback |
| short-lived link to an attached file |
| goals and goal sets |
| progress reviews |
Write
Tool | What it does | Tested live |
| uploads local files as a new evidence item, optionally into collections/goals | ✅ |
| uploads a new version (V2, V3…) like the "Add new version" button; old versions stay | ✅ |
| replaces an evidence item's description/reflection | ✅ |
| posts in an evidence item's feedback thread | ✅ |
| posts in a collection's feedback thread (teachers may get notified) | ⚠️ not yet |
| replaces a collection's description | ⚠️ not yet |
Text can be plain (paragraphs become
<p>) or HTML.Nothing deletes anything. Deleting and moving to the trash bin stay manual in Portflow.
Linking to goals when creating evidence hasn't been checked live yet. If a goal link doesn't show up, link it in Portflow by hand.
Manual login (without a Canvas token)
You can also copy the Portflow login from your browser. You have to repeat this about every 8 hours.
In Chrome open Canvas → Portfolio.
Cmd+Option+I→ Network tab → typeapi/v1in the filter.Click anything in Portflow, then right-click any
api/v1/...request → Copy → Copy as cURL.Run:
portflow-token
It finds the token in what you copied, checks it, saves it in ~/.portflow-token and clears
your clipboard. There's no restart needed; the server reads the file on every call.
Security notes
The Portflow token gives access to your Portflow account for 8 hours. It's stored in
~/.portflow-token(only you can read it). Never commit it or paste it into a chat.The Canvas access token is more powerful: it acts as you in all of Canvas until it expires. Give it an expiry date, keep it only in
~/.canvas-token, and delete it in Canvas → Settings if your laptop is lost. The server uses it only to open a Canvas web session and launch Portflow; it never calls other Canvas APIs.The server only talks to Portflow (
https://portfolio.drieam.app), Portflow's file storage, and your Canvas site (to log in). It refuses any other host for API calls and uploads.
Config
All optional. Set them with -e NAME=value in claude mcp add, in an "env": {} block
in the desktop config, or in your shell for portflow-token.
Env var | Default | Purpose |
|
| your Canvas site |
|
| Canvas link that opens Portflow |
| – / | Canvas access token for automatic login |
| auto-detected on first login (saved in | your portfolio id |
| – | a fixed Portflow token (turns off auto-renewal) |
|
| where the Portflow token is stored |
|
| Portflow host |
Other schools
The defaults are for Fontys ICT. For another school that uses Canvas + Portflow:
CANVAS_BASE_URL: your Canvas address, e.g.https://yourschool.instructure.com.PORTFLOW_LTI_TOOL_PATH: in Canvas, right-click the Portfolio menu item → Copy link, and use the part after the domain (starting with/accounts/…).
Set both when you register the server, and in your shell when running portflow-token:
claude mcp add portflow --scope user \
-e CANVAS_BASE_URL=https://yourschool.instructure.com \
-e "PORTFLOW_LTI_TOOL_PATH=/accounts/1/external_tools/12345?launch_type=global_navigation" \
-- node /FULL/PATH/portflow-mcp/server.jsLicense
MIT, see LICENSE.
Available Tools
15 toolsadd_collection_commentA
Post a comment in a collection's 'Collection feedback' thread, as you (role: student). Teachers/coaches the collection is shared with will see it and may be notified. Not live-tested yet. Confirm the text with the user first.
Inputs: text (required), collection_id (required).
add_evidence_commentA
Post a comment in the 'Evidence feedback' thread of an evidence item (on its latest version), as you (role: student). People the evidence is shared with can see it. Confirm the text with the user first.
Inputs: text (required), evidence_id (required).
add_evidence_versionA
Upload a NEW VERSION of an existing evidence item (like the 'Add new version' button). Old versions stay in the history. By default the new version contains only the new files; set keep_existing_files to carry over files from the latest version (all of them, or only the names you list). Optionally add a version note describing what changed. Confirm the evidence, files and note with the user before calling.
Inputs: evidence_id (required), file_paths, version_note, keep_existing_files.
create_evidenceA
Upload one or more local files to Portflow as a NEW piece of evidence (like 'Add evidence → File upload'). Optionally link it to collections (ids from list_collections) and goals (goal ids from list_goals / get_collection → goals[].goal.id), and set a description/reflection. Always confirm the name, files, collections and goals with the user before calling.
Inputs: name (required), file_paths (required), goal_ids, description, +1 more.
get_collectionARead-only
Full view of one collection: description, its goals, the evidence under each goal, evidence not in a goal, and collection feedback/comments.
Inputs: collection_id (required).
get_evidenceARead-only
Full view of one evidence item: details, latest version (with file ids), version history, linked goals and collections, and feedback/comments.
Inputs: evidence_id (required).
get_evidence_file_urlARead-only
Get a short-lived download/preview URL for a file attached to an evidence version (file id comes from get_evidence → latest_version).
Inputs: file_id (required).
get_progress_reviewsBRead-only
List progress reviews on your portfolio (Goals & Progress tab).
Inputs: no named parameters.
list_collectionsARead-only
List all portfolio collections (e.g. one per project or semester) grouped by section, with evidence and goal counts.
Inputs: no named parameters.
list_evidenceARead-only
List your evidence items across the whole portfolio, newest first.
Inputs: page, per_page.
list_goalsBRead-only
List your portfolio goals and goal sets (learning outcomes).
Inputs: no named parameters.
token_statusARead-only
Check the Portflow login: whether automatic renewal (via a Canvas token) is set up, and when the current token expires. Renews the token first if it's about to expire and renewal is set up.
Inputs: no named parameters.
update_collection_descriptionADestructiveIdempotent
Replace a collection's description (the 'Collection description' text, e.g. your process write-up). This OVERWRITES the current text, so read it first with get_collection and confirm the full new text with the user. Not live-tested yet.
Inputs: description (required), collection_id (required).
update_evidence_descriptionADestructiveIdempotent
Replace the description/reflection text of an existing evidence item. This OVERWRITES the current description, so read it first with get_evidence and confirm the new text with the user.
Inputs: description (required), evidence_id (required).
whoamiBRead-only
Your Portflow user profile and portfolio id.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool targets a distinct resource+action and the read/write pairs (list_collections vs get_collection, list_evidence vs get_evidence) are clearly separated. The only mild overlap is create_evidence vs add_evidence_version, but the descriptions explicitly contrast 'new piece of evidence' with 'new version of existing evidence'. Utility tools (token_status, whoami, get_evidence_file_url) are unambiguous.
Most tools follow a clear verb_noun pattern (list_*, get_*, create_*, add_*, update_*), with consistent snake_case throughout. The two exceptions are the verbless token_status and the idiomatic whoami, which break the pattern but are small deviations.
15 tools is well within the ideal range and each one covers a distinct read, write, or auth operation. No duplicate or filler tools are present; the surface maps cleanly onto the portfolio domain.
The surface covers authentication, reading collections/evidence/goals/reviews, file download, and the core write path (create evidence, add version, edit description, comment on both evidence and collections). Gaps exist around destructive/administrative operations (no delete evidence, no create/delete collection or goal, no editing of evidence metadata beyond the description), but these are minor for a student-facing workflow.
Maintenance
Related MCP Connectors
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
- platform7nDeprecatedtech.p7n
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Give Claude only the Google Drive files you choose. Every action logged.
Read-only access to your own crypto portfolio across 11+ exchanges and 20+ chains: holdings, full history, FIFO cost basis and P&L, fees and income. Ask Claude or ChatGPT about your portfolio; the connector can never trade, move funds or act as a login.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceConnects Claude AI to your Canvas LMS account, enabling natural language interaction with coursework including assignments, grades, announcements, and calendar.-
- AlicenseBqualityCmaintenanceEnables Claude to interact with Canvas LMS, allowing natural language queries about courses, deadlines, grades, and feedback.29MIT
- AlicenseNot gradedqualityDmaintenanceConnects Claude to Canvas LMS for managing coursework through natural language, including assignments, discussions, submissions, and course browsing.28MIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude Desktop users to create, edit, and review teaching-portfolio content—documents, courses, programs, reflections, and saved commands—through natural language, with requests passed to the local desktop app over localhost.MIT