npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

optiphoenix-mcp

v1.0.2

Published

A modular Model Context Protocol (MCP) server for OptiPehoenix A/B testing

Downloads

29

Readme

OptiPhoenix MCP Server

A modular Model Context Protocol (MCP) server that provides tools for Convert.com A/B testing platform and weather data.

Installation

Global Installation (Recommended)

npm install -g optiphoenix-mcp

Local Development Installation

git clone <repository-url>
cd mcps
npm install

Usage

After Global Installation

Once installed globally, the package can be used in your MCP configuration:

{
  "mcpServers": {
    "optiphoenix-mcp": {
      "type": "stdio",
      "command": "optiphoenix-mcp",
      "env": {
        "CONVERT_APPLICATION_ID": "your-app-id",
        "CONVERT_SECRET_KEY": "your-secret-key",
        "CONVERT_BASE_URL": "https://api.convert.com",
        "CONVERT_TOKEN_EXPIRY_MINUTES": "5"
      }
    }
  }
}

Local Development

For local development and testing:

# Run the MCP inspector for testing
npx @modelcontextprotocol/inspector node index.js

# Or run directly
npm start

Configuration

Set the following environment variables or include them in your MCP configuration:

  • CONVERT_APPLICATION_ID: Your Convert.com application ID
  • CONVERT_SECRET_KEY: Your Convert.com secret key
  • CONVERT_BASE_URL: Convert API base URL (default: https://api.convert.com)
  • CONVERT_TOKEN_EXPIRY_MINUTES: Token expiry time in minutes (default: 5)

Project Structure

mcps/
├── src/
│   ├── config/
│   │   └── index.js          # Configuration management
│   ├── utils/
│   │   ├── auth.js           # Authentication utilities
│   │   └── fileUtils.js      # File system utilities
│   ├── tools/
│   │   ├── convertTools.js   # Convert API tools
│   │   └── weatherTools.js   # Weather API tools
│   └── server.js             # Main server setup
├── index.js                  # Entry point
└── package.json

Architecture Benefits

Separation of Concerns

  • Config: Centralized configuration management
  • Utils: Reusable utility functions
  • Tools: Modular tool implementations
  • Server: Clean server setup and registration

Scalability

  • Easy to add new tools by creating new modules
  • Configuration changes in one place
  • Reusable authentication and file utilities
  • Clear separation between API providers

Maintainability

  • Each module has a single responsibility
  • Easy to test individual components
  • Clear dependency structure
  • Modular imports/exports

Adding New Tools

  1. Create a new tool module in src/tools/
  2. Define tool schema and handler
  3. Export tool object
  4. Import and register in src/server.js

Example:

// src/tools/newTool.js
const newTool = {
  name: 'new-tool',
  description: 'Description of the tool',
  inputSchema: { /* zod schema */ },
  handler: async (params) => { /* implementation */ }
};

module.exports = { newTool };