PeakMojo Server
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Supports containerized deployment with multi-platform support for Linux/amd64, Linux/arm64, and Linux/arm/v7, allowing easy configuration via environment variables or command line arguments.
PeakMojo Server
A Python server implementation for integrating with the PeakMojo API.
Features
- Full integration with PeakMojo API endpoints
- Bearer token authentication
- Resource and tool-based access to PeakMojo functionality
- Automatic fallback to mock responses during development
Installation
Configuration
The server requires the following environment variables:
PEAKMOJO_API_KEY
: Your PeakMojo API key for authenticationPEAKMOJO_BASE_URL
(optional): PeakMojo API base URL (defaults to https://api.staging.readymojo.com)
You can also configure these via command line arguments:
Available Resources
The server provides access to the following PeakMojo resources:
- Users (
peakmojo://users
) - Personas (
peakmojo://personas
,peakmojo://personas/tags
,peakmojo://personas/search
) - Scenarios (
peakmojo://scenarios
) - Job Scenarios (
peakmojo://job_scenarios
) - Jobs (
peakmojo://jobs
) - Applications (
peakmojo://applications
) - Practices (
peakmojo://practices
) - Skills (
peakmojo://skills
) - Certificates (
peakmojo://certificates
)
Available Tools
The server provides the following tools for interacting with the PeakMojo API:
User Management
get_peakmojo_users
: Get list of all usersget_peakmojo_user
: Get user details by IDget_peakmojo_user_stats
: Get user statisticsupdate_peakmojo_user_stats
: Update user statistics
Persona Management
get_peakmojo_personas
: Get list of personasget_peakmojo_persona_tags
: Get persona tagssearch_peakmojo_personas
: Search for personascreate_peakmojo_persona
: Create a new persona
Scenario Management
get_peakmojo_scenarios
: Get list of scenarioscreate_peakmojo_job_scenario
: Create a new job scenario
Workspace Management
get_workspace_personas
: Get personas for a workspace
Job Management
get_job
: Get job details
Application Management
get_application
: Get application details
Practice Management
get_practice_messages
: Get practice messages
Skill Management
get_user_skills
: Get user skills
Certificate Management
get_certificates
: Get list of certificatesget_certificate_skills
: Get skills for a certificateissue_user_certificate
: Issue a certificate to a useradd_certificate_skill_courses
: Add courses to a certificate skill
Development
During development, if the API is not accessible, the server will automatically fall back to mock responses for each endpoint. This allows for development and testing without requiring a live API connection.
Error Handling
The server implements comprehensive error handling:
- Invalid API keys are logged with warnings
- Failed API requests fall back to mock responses
- HTTP errors are properly caught and logged
- All errors are returned as JSON responses with appropriate error messages
Docker Support
Prerequisites
The Docker image is built for multiple platforms:
- Linux/amd64
- Linux/arm64
- Linux/arm/v7
Option 1: Pull from Docker Hub
Option 2: Build Locally
Running the Container
Basic usage with API key:
Cross-Platform Publishing
To publish the Docker image for multiple platforms:
- Create a new builder instance (if you haven't already):Copy
- Build and push the image for multiple platforms:Copy
- Verify the image is available for the specified platforms:Copy
Usage with Claude Desktop
Configure the MCP server in your Claude Desktop settings:
Example running from source
If you want to run directly from the source code:
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This server cannot be installed
A Python server implementation that enables integration with the PeakMojo API, providing access to various resources like users, personas, scenarios, and tools for managing PeakMojo functionality.
- Features
- Installation
- Configuration
- Available Resources
- Available Tools
- Development
- Error Handling
- Docker Support
- Contributing