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

agentforce-reliable-server

v1.1.5

Published

Reliable MCP-compliant AgentForce API Server with fallback modes

Readme

AgentForce Reliable Server

A reliable MCP-compliant server for Salesforce AgentForce API integration.

Features

  • Connects Claude AI to Salesforce AgentForce API
  • Implements the Model Context Protocol (MCP) for tool use
  • Direct mode for avoiding MCP SDK compatibility issues
  • Simple configuration and setup

Quick Start

Installation

# Install globally
npm install -g agentforce-reliable-server

# Or run directly with npx
npx agentforce-reliable-server

Configuration

# Run the configuration wizard
npx agentforce-reliable-server configure

You'll be prompted to:

  • Set the server port (default: 3000)
  • Generate a new API key (or keep existing one)
  • Set the environment (production/development)

Running the Server

Standard Method (Node.js)

# Run in direct mode (recommended)
npx agentforce-reliable-server --direct

Fix Configuration and Start (For JSON Config Issues)

If you encounter JSON configuration errors, use the fix-and-start script:

# Fix configuration and start server
npx agentforce-reliable-server fix:start

You can also fix the configuration separately:

# Only fix configuration issues
npx agentforce-reliable-server fix

Using Docker

The server can be run in a Docker container for easy deployment and isolation:

# Run with Docker support
npx agentforce-reliable-server start:docker

This command will:

  1. Check if Docker is installed
  2. Run the configuration if needed
  3. Build a Docker image if it doesn't exist
  4. Start the server in a container with proper volume mounts for configuration

Using with AgentForce MCP Tool

After starting the server, install and configure the AgentForce MCP Tool:

npx agentforce-mcp-tool@latest

When prompted, enter:

  • Server URL: http://localhost:3000 (or your configured port)
  • API Key: (The key shown in the configuration output)

API Endpoints

  • GET /: Server info
  • GET /health: Health check
  • GET /mcp/resources: List available resources
  • GET /mcp/tools: List available tools
  • POST /mcp/call-tool: Execute a tool

Advanced Configuration

The configuration is stored in:

  • ~/.agentforce-mcp-server/config.json

You can manually edit this file if needed.

Docker Support

The package includes a Dockerfile and docker-compose.yml for containerized deployment:

# Build the image
docker build -t agentforce-reliable-server .

# Run with Docker directly
docker run -p 3000:3000 -v ~/.agentforce-mcp-server:/root/.agentforce-mcp-server agentforce-reliable-server

# Or use docker-compose
docker-compose up -d

License

MIT