Planview Portfolios Actions MCP Server
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., "@Planview Portfolios Actions MCP ServerCreate a project named 'Q4 Marketing'"
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.
Planview Portfolios Actions MCP Server
A Model Context Protocol server for Planview Portfolios — the write & action companion to the read-only Planview Portfolios Beta MCP. Provides 24 tools for creating, updating, deleting, and managing projects, tasks (SOAP), financial plans (SOAP), OKRs, and work hierarchy nodes. Runs locally over stdio via the official mcp Python SDK.
Two-Server Architecture
This server is designed to run alongside the Planview-hosted Beta MCP (Planview Portfolios US). Together they cover the full Portfolios surface:
Server | Role | Tools | Transport |
Beta MCP ( | Read — portfolios, search, cross-tabs, strategies, resources, dependencies, hierarchy trees | 29 | Planview-hosted (remote) |
Local MCP ( | Write — create/update/delete projects, SOAP tasks, financial plans, OKRs, work node access | 24 | Local stdio |
Beta handles: "Show me my portfolios," "List projects in Mobility," "How many projects are in-flight?," "Search for a project by name," "What's the strategy breakdown?"
Local handles: "Create a new project," "Add tasks to this project," "Set up a financial plan," "Show me OKRs," "Update project status," "Copy a financial plan from a reference project."
Together: Beta finds → Local acts. "Find all behind-schedule projects in Mobility" (beta) → "Update their status to At Risk" (local).
All tool descriptions include [LOCAL — ...] routing hints so Claude knows which server to use without guessing.
Related MCP server: MCP DevOps Plan Server
Before You Start — Checklist
Gather these before you touch anything. You will be stuck without them.
API URL — Your Planview instance URL +
/polaris(e.g.,https://scdemo5xx.pvcloud.com/polaris) — must be lowercaseClient ID — From Administration → Users → OAuth2 credentials
Client Secret — Shown once at OAuth credential creation. If you didn't copy it, you need to create a new one.
Global Tenant ID — This is not obvious in the UI. Ask your Planview admin.
⚠️ Do not skip this step. You will get through the entire setup and hit a wall at the end if any of these are missing or wrong.
Setup — Windows
Step 1: Install Python
If you've never installed Python before, that's fine. Go to python.org/downloads and download the latest version.
When the installer opens, you'll see a checkbox at the bottom that says "Add Python to PATH". Check that box. This is the most important part of the install.
After it finishes, close any open Command Prompt windows and open a fresh one:
Press the Windows key, type
cmd, press EnterType these two commands, one at a time:
python --version
pip --versionYou should see version numbers for both. If you see "not recognized," go back and reinstall Python with the PATH checkbox checked.
Step 2: Download this repository
On the GitHub page, click the green Code button → Download ZIP
Extract the zip to
C:\portfoliosMCP
⚠️ Use a simple path like
C:\portfoliosMCP. Do NOT put this in OneDrive, your Desktop, or any folder with spaces in the name. It will cause problems later.
⚠️ Check for a folder-inside-a-folder. After unzipping, open
C:\portfoliosMCP. If you see another folder calledportfoliosMCP-maininstead of files likepyproject.toml, move everything up one level sopyproject.tomlsits directly insideC:\portfoliosMCP.
Step 3: Install the server
Open Command Prompt (Windows key → type
cmd→ Enter)Run these commands one at a time:
cd C:\portfoliosMCP
python -m venv venv
venv\Scripts\activate
pip install -e .Wait for each command to finish before running the next one. The last command will download dependencies and may take a minute or two.
ℹ️ What does this do? It creates an isolated Python environment (
venv) and installs the server into it. You must usepip install -e .— runningpip install -r requirements.txtalone is not enough and the server will fail to start.
Step 4: Get your Python path
While still in Command Prompt, run:
where pythonCopy the line that includes venv\Scripts\python.exe. It should look something like:
C:\portfoliosMCP\venv\Scripts\python.exeYou'll need this in the next step.
Step 5: Configure Claude Desktop
Open Claude Desktop
Go to Settings → Developer → Edit Config
Or: press Win+R, type %APPDATA%\Claude, press Enter, and open claude_desktop_config.json in Notepad.
If the file doesn't exist, create a new text file with that exact name.
Step 6: Paste this into the config file
{
"mcpServers": {
"planview-portfolios-actions": {
"command": "C:\\portfoliosMCP\\venv\\Scripts\\python.exe",
"args": ["-m", "planview_portfolios_mcp"],
"env": {
"PLANVIEW_API_URL": "https://your-instance.pvcloud.com/polaris",
"PLANVIEW_CLIENT_ID": "your_client_id",
"PLANVIEW_CLIENT_SECRET": "your_client_secret",
"PLANVIEW_TENANT_ID": "your_tenant_id",
"USE_OAUTH": "true"
}
}
}
}Replace:
The
commandpath with your output from Step 4All four
your_...values with your actual Planview credentials from the checklist
Two critical rules for this file:
Double every backslash in the path.
C:\portfoliosMCPmust be written asC:\\portfoliosMCP. If you don't, you'll get a "Bad escaped character" error and Claude Desktop won't start properly.API URL must be lowercase.
https://scdemo508.pvcloud.com/polaris— notSCDEMO508. Uppercase can cause authentication failures.
Step 7: Restart Claude Desktop
Close Claude Desktop completely — use File → Exit or right-click the icon in the system tray and quit. Just clicking the X may not fully close it. Then reopen it.
Step 8: Test it
In Claude Desktop, type:
Use oauth_ping to check my Planview connectionIf you see a success response, you're done. If you get an error, check the troubleshooting table below.
Setup — macOS
Step 1: Install Python
brew install python3Step 2: Clone and install
git clone https://github.com/norman2112/portfoliosMCP.git
cd portfoliosMCP
python3 -m venv venv
source venv/bin/activate
pip install -e .Step 3: Get your Python path
which python3
# Example output: /Users/yourname/portfoliosMCP/venv/bin/python3Step 4: Open the Claude Desktop config file
# Press Cmd+Shift+G in Finder and paste this path:
~/Library/Application Support/Claude/claude_desktop_config.json
# Or from terminal:
open ~/Library/Application\ Support/Claude/claude_desktop_config.jsonIf the file doesn't exist, create it.
Step 5: Paste the config
{
"mcpServers": {
"planview-portfolios-actions": {
"command": "/Users/yourname/portfoliosMCP/venv/bin/python3",
"args": ["-m", "planview_portfolios_mcp"],
"env": {
"PLANVIEW_API_URL": "https://your-instance.pvcloud.com/polaris",
"PLANVIEW_CLIENT_ID": "your_client_id",
"PLANVIEW_CLIENT_SECRET": "your_client_secret",
"PLANVIEW_TENANT_ID": "your_tenant_id",
"USE_OAUTH": "true"
}
}
}
}Replace the Python path with your output from Step 3. Fill in all four credential values.
Step 6: Quit Claude Desktop (Cmd+Q) and reopen it.
Step 7: Test it
Ask Claude: "Use oauth_ping to check my Planview connection"
Troubleshooting
What you see | What's wrong | How to fix it |
| Python isn't installed or isn't on PATH | Reinstall Python from python.org — check "Add Python to PATH" |
"Bad escaped character in JSON" | Single backslashes in the config file | Change every |
"No module named planview_portfolios_mcp" | Package not installed into the venv | Run |
OAuth 400 error | Bad credentials or uppercase API URL | Double-check all four credential values. Make sure the API URL is lowercase and ends with |
401 Unauthorized | Wrong Client ID, Secret, or Tenant ID | Re-verify all credentials. Watch for extra spaces when pasting |
Tools don't show up in Claude | Claude Desktop didn't fully restart | Quit via File → Exit (not just X), then reopen |
JSON syntax error on startup | Malformed config file | Copy your config into jsonlint.com to find the error |
Folder has no | Nested folder from GitHub zip | Look one folder deeper — move contents up so |
Getting Your Planview Credentials
Log into Planview as admin → Administration → Users → OAuth2 credentials tab
Click Create OAuth2 credentials
Name it (e.g., "MCP Server"), select Portfolios Integration
Copy the Client ID and Client Secret (⚠️ secret is only shown once)
Find your Tenant ID in the admin panel or ask your Planview admin
Tools
These sections list every MCP tool this server registers (24 total). Older drafts of this project mentioned list_resources / get_resource / allocate_resource; those helpers still exist in tools/resources.py as optional, non-exposed REST wrappers—they are not in tool_registry.py or server.py and clients will not see them.
Projects (REST) — Read & Write
Tool | Description |
| Get a single project by ID |
| Create a new project (auto-defaults dates if omitted) |
| Partial update of project fields |
| Delete a project by ID (destructive — removes project and all child data) |
| List available project attributes |
| Get project WBS as a nested tree |
| Browse writable fields by category (for create/update) |
For listing/searching projects across portfolios, use Beta MCP's
listProjectsByPortfolioId,searchProjectByName, orgetProjectsByPortfolioId.
Work Items (REST) — Read & Write
Tool | Description |
| List work items using a filter string (e.g., |
| Get a single work/hierarchy node by ID (including portfolio-level nodes) |
| Partial update of a work item |
| List available work attributes |
For portfolio-scoped project lists, use Beta MCP's
listProjectsByPortfolioId.
Tasks (SOAP) — Write-Only
Tool | Description |
| Create a task (PascalCase fields, key URI format) |
| Read a task by key ( |
| Delete a task (cascades to children) |
| Create multiple tasks in a single SOAP call |
| Delete multiple tasks (returns per-key success/failure) |
Task updates are not exposed: the SOAP Update operation does not serialize reliably with zeep. To change a task, delete and recreate it (or use the Planview UI).
For reading tasks with custom attributes, Beta MCP's
getTasksByProjectIdsorgetTasksByTaskIdsmay be richer.
Financial Plans (SOAP) — Local-Only
Tool | Description |
| Read plan structure, accounts, and periods |
| Create or update a financial plan (single-line optimized) |
| Smart discovery with reference project fallback |
| Copy account structure + values from a reference project (dry-run by default) |
Tip: Use
discover_financial_plan_infoorread_financial_planfirst to find valid account/period keys before callingupsert_financial_plan.
No Beta MCP equivalent exists for financial plans.
OKRs (REST) — Local-Only
Tool | Description |
| List objectives with pagination |
| Get key results for a specific objective |
| Bulk fetch all objectives + their key results |
No Beta MCP equivalent exists for OKRs.
Utility
Tool | Description |
| Verify OAuth credentials are working |
Authentication
Variable | Description |
| Base URL including |
| OAuth Client ID |
| OAuth Client Secret |
| Organization Tenant ID |
The Client Secret is only shown once at creation. Store it securely.
SOAP API Notes
This server uses both REST and SOAP APIs. SOAP is used for tasks (TaskService) and financial plans (FinancialPlanService).
Key things to know:
Response payloads may be incomplete — the API confirms success but doesn't always echo back full data. Use the corresponding read tool to verify.
Warnings are non-fatal —
InvalidStructureCodeandInvalidDefaultValuesindicate configuration issues but don't prevent successful operations.Field names are PascalCase —
FatherKey, notfather_key.Key URI formats:
key://2/$Plan/12345(direct),ekey://2/namespace/id(external),search://2/$Plan?description=Name(search).batch_delete_taskshas known SOAP response parsing reliability issues — verify deletions withread_task.
See SOAP_API_BEHAVIORS.md for the full rundown.
Known Limitations
list_projectswithout a filter — some instances require a filter (e.g.,project.Id .eq 3817)update_work— returns 405 on some instances. Useupdate_projectfor project-level itemsTask updates — not supported. Workaround: delete + recreate
batch_delete_tasks— SOAP response parsing is flaky. Verify withread_task
Development
python -m venv venv && source venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env # Add your credentials
# Run
python -m planview_portfolios_mcp
planview-portfolios-actions # console script (same server; MCP name planview-portfolios-actions)
# Test & lint
pytest
black src/ && ruff check src/ && mypy src/Project Structure
src/planview_portfolios_mcp/
├── server.py # MCP Server (stdio) + tool routing
├── tool_registry.py # Tool definitions, routing hints, input schemas
├── __main__.py # Entry point (python -m planview_portfolios_mcp)
├── config.py # Pydantic Settings (loads from .env)
├── client.py # Shared HTTP client with retry logic
├── soap_client.py # SOAP client (zeep) with retry logic
├── exceptions.py # Custom exception hierarchy
├── models.py # Pydantic input validation models
├── logging_config.py # Structured logging
└── tools/
├── projects.py # Project tools
├── work.py # Work hierarchy tools
├── tasks.py # Task tools (SOAP)
├── financial_plan.py # Financial plan tools (SOAP)
├── okrs.py # OKR tools
├── ping.py # OAuth ping
├── resources.py # Internal REST helpers for /resources (not MCP-exposed)
└── __init__.pyRequirements
Python 3.10+
Planview Portfolios instance with OAuth API access
mcp>=1.0.0for MCP SDK (stdio transport)httpxfor REST,zeepfor SOAP — seepyproject.toml
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/norman2112/portfoliosMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server