Planview MCP Server
Provides Planview Enterprise One API access with Okta passwordless authentication, enabling work item and project management, and automated timesheet completion.
README
Planview MCP Server
MCP server for Planview Enterprise One with Okta passwordless authentication and automated timesheet completion.
What This Does
- 🔐 Authenticate to Planview using Okta Verify (no passwords)
- 📊 Access Planview API (work items, projects, users)
- 🤖 Auto-complete timesheets with
/complete-timesheetscommand
Quick Start
Step 1: Clone and Install
git clone <your-repo-url>
cd planview-mcp
npm install
npx playwright install chromium
Step 2: Configure
Linux/macOS:
cp .mcp.json.example .mcp.json
nano .mcp.json # or use any text editor
Windows:
copy .mcp.json.windows.example .mcp.json
notepad .mcp.json # or use any text editor
Edit the env section in .mcp.json with your Planview details:
PLANVIEW_BASE_URL: Your company's Planview URLOKTA_USERNAME: Your email address
Step 3: Authenticate
npm run okta-login
This opens a browser and waits for you to approve the Okta Verify notification on your phone.
Step 4: Build and Restart Claude
npm run build
Then restart Claude Code to load the MCP server.
Usage
Available Commands
| Command | Description |
|---|---|
/complete-timesheets |
Auto-fills all overdue timesheets (8h/day, 40h/week) |
Available Tools
Use these directly in Claude:
planview_get_work_items- List work itemsplanview_get_projects- List projectsplanview_get_current_user- Get your user infoplanview_update_work_item- Update a work itemplanview_execute_request- Make custom API calls
More Examples
See EXAMPLES.md for detailed usage examples including:
- Timesheet automation workflows
- Work item management
- Custom API requests
- Creating your own commands
- Troubleshooting tips
How It Works
This setup uses two MCP servers:
- Planview MCP (this repo) - Handles Planview API and authentication
- Playwright MCP (auto-installed) - Handles browser automation for timesheets
Both are configured in your .mcp.json file. Playwright MCP downloads automatically when Claude starts.
Authentication flow:
- You run
npm run okta-loginonce - Creates
planview-auth.jsonwith your session - Both MCP servers use this session file
- Re-authenticate when session expires
Troubleshooting
| Problem | Solution |
|---|---|
| "Authentication error" | Run npm run okta-login |
| "Can't see browser during login" | Add HEADLESS=true before npm run okta-login |
| Windows npx warning | Use .mcp.json.windows.example (has cmd /c wrapper) |
| "Timesheet automation fails" | Check .mcp.json has both planview and playwright servers |
| "Missing PLANVIEW_BASE_URL" | Check the env section in .mcp.json |
Configuration
Local Setup (Recommended)
Use .mcp.json in this repo directory.
Linux/macOS: Uses npx directly
{
"mcpServers": {
"planview": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"PLANVIEW_BASE_URL": "https://yourcompany.pvcloud.com/planview",
"PLANVIEW_STORAGE_STATE": "planview-auth.json",
"OKTA_USERNAME": "your.email@company.com"
}
},
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest"]
}
}
}
Windows: Requires cmd /c wrapper
{
"mcpServers": {
"planview": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"PLANVIEW_BASE_URL": "https://yourcompany.pvcloud.com/planview",
"PLANVIEW_STORAGE_STATE": "planview-auth.json",
"OKTA_USERNAME": "your.email@company.com"
}
},
"playwright": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@playwright/mcp@latest"]
}
}
}
Global Setup (All Projects)
Add to Claude Code MCP settings with absolute paths.
Linux/macOS:
{
"mcpServers": {
"planview": {
"command": "node",
"args": ["/full/path/to/planview-mcp/dist/index.js"],
"env": {
"PLANVIEW_BASE_URL": "https://yourcompany.pvcloud.com/planview",
"PLANVIEW_STORAGE_STATE": "/full/path/to/planview-mcp/planview-auth.json",
"OKTA_USERNAME": "your.email@company.com"
}
},
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest"]
}
}
}
Windows:
{
"mcpServers": {
"planview": {
"command": "node",
"args": ["C:\\full\\path\\to\\planview-mcp\\dist\\index.js"],
"env": {
"PLANVIEW_BASE_URL": "https://yourcompany.pvcloud.com/planview",
"PLANVIEW_STORAGE_STATE": "C:\\full\\path\\to\\planview-mcp\\planview-auth.json",
"OKTA_USERNAME": "your.email@company.com"
}
},
"playwright": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@playwright/mcp@latest"]
}
}
}
Why Clone Instead of Direct Install?
This MCP requires cloning because:
- Authentication creates
planview-auth.jsonlocally - Both MCP servers need access to the same auth file
- Each company has different Planview URLs
- Configuration is set in
.mcp.json(committed to repo)
Direct GitHub URL installation won't work due to these local file requirements.
Development
npm run dev # Watch mode (auto-rebuild)
npm run build # Build once
npm start # Run server manually
API Documentation
View Planview API docs at: https://yourcompany.pvcloud.com/planview/swagger/index.html
Security
Never commit these files (already in .gitignore):
.mcp.json- Your configuration with credentialsplanview-auth.json- Your session
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。