maximo-jobplan

maximo-jobplan

Enables natural language interactions for creating, querying, updating, and deleting job plans in IBM Maximo.

Category
访问服务器

README

Maximo Job Plan Management via MCP

This project uses the Model Context Protocol (MCP) to interact with IBM Maximo for job plan management.

Overview

The Maximo Job Plan MCP Server provides a seamless interface for AI assistants to interact with IBM Maximo's job plan management system. It enables natural language interactions for creating, querying, updating, and deleting job plans.

Features

  • Import Job Plans: Bulk import job plans from CSV files
  • List Job Plans: Query and filter job plans with OSLC queries
  • Get Job Plan Details: Retrieve detailed information about specific job plans
  • Delete Job Plans: Remove job plans from the system
  • Natural Language Interface: Use conversational commands through AI assistants

Available MCP Tools

The maximo-jobplan MCP server provides 4 tools for managing job plans:

1. import_jobplans

Import job plans from CSV data into Maximo.

Example usage:

"Import job plans from jobplanMaximo.csv"

CSV Format:

JPNUM,DESCRIPTION,JPDURATION,STATUS,JOBTYPE,PLUSCJPREVNUM
HVAC-PM-001,Quarterly HVAC System Inspection,4.0,ACTIVE,PM,0

2. list_jobplans

List all job plans from Maximo with optional filtering.

Example usage:

"List all job plans"
"Show me HVAC job plans"

3. get_jobplan

Get detailed information about a specific job plan.

Example usage:

"Get details of job plan HVAC-PM-001"
"Show me the BREAKINSP job plan"

4. delete_jobplan

Delete a job plan by number.

Example usage:

"Delete job plan TEST-001"

Installation

Prerequisites

  • Node.js 18 or higher
  • npm or yarn
  • Access to IBM Maximo instance
  • Maximo API key

Setup Steps

  1. Clone the repository

    git clone <repository-url>
    cd maximo-jobplan-mcp
    
  2. Install dependencies

    npm install
    
  3. Build the project

    npm run build
    
  4. Configure environment variables

    Set the following environment variables:

    • MAXIMO_BASE_URL: Your Maximo instance URL (e.g., https://your-maximo-instance.com)
    • MAXIMO_API_KEY: Your Maximo API key
  5. Configure MCP Client

    For Bob/Claude Desktop, add to your MCP settings:

    {
      "mcpServers": {
        "maximo-jobplan": {
          "command": "node",
          "args": ["C:/path/to/maximo-jobplan-server/build/index.js"],
          "env": {
            "MAXIMO_BASE_URL": "https://your-maximo-instance.com",
            "MAXIMO_API_KEY": "your-api-key-here"
          }
        }
      }
    }
    

Project Structure

maximo-jobplan-mcp/
├── src/
│   └── index.ts          # Main MCP server implementation
├── build/                # Compiled JavaScript output
├── docs/                 # Documentation files
│   ├── MCP_SETUP_GUIDE.md
│   ├── QUICK_START.md
│   └── README_MAXIMO_CONNECTION.md
├── examples/
│   └── jobplanMaximo.csv # Sample job plans
├── package.json
├── tsconfig.json
├── .gitignore
└── README.md

Usage Examples

Using with AI Assistants

Simply use natural language commands:

  • "List all job plans in Maximo"
  • "Show me details of HVAC-PM-001"
  • "Import the job plans from the CSV file"
  • "Get all PUMP job plans"
  • "Delete job plan TEST-001"

Programmatic Usage

// The MCP server handles all interactions through the protocol
// No direct API calls needed when using with MCP clients

Configuration

Maximo Connection

The server connects to Maximo using:

  • Base URL: Configured via MAXIMO_BASE_URL environment variable
  • Authentication: API key via MAXIMO_API_KEY environment variable
  • API Endpoint: /maximo/api/os/MXAPIJOBPLAN

CSV Import Format

Job plans CSV must include these columns:

  • JPNUM: Job plan number (max 12 characters)
  • DESCRIPTION: Job plan description
  • JPDURATION: Duration in hours
  • STATUS: Status (e.g., ACTIVE, INACTIVE)
  • JOBTYPE: Job type (e.g., PM, CM)
  • PLUSCJPREVNUM: Revision number

Development

Build Commands

# Build the project
npm run build

# Watch mode for development
npm run watch

# Prepare for distribution
npm run prepare

Testing

Test the MCP server connection:

node build/index.js

Troubleshooting

Connection Issues

  1. Verify environment variables are set correctly
  2. Check Maximo URL is accessible
  3. Validate API key has proper permissions
  4. Review SSL certificates (development mode disables SSL verification)

Import Failures

  1. Check CSV format matches required columns
  2. Verify job plan numbers are 12 characters or less
  3. Ensure required fields are populated
  4. Check for duplicate job plan numbers

Security Considerations

⚠️ Important Security Notes:

  1. SSL Verification: Currently disabled for development. Enable for production:

    httpsAgent: new https.Agent({
      rejectUnauthorized: true  // Enable SSL verification
    })
    
  2. API Key Storage: Store API keys securely using:

    • Environment variables
    • Secret management systems
    • Encrypted configuration files
  3. Access Control: Ensure only authorized users can access the MCP server

License

MIT License - See LICENSE file for details

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选