Api Mock Server

🌐Community
by monkey1sai · vlatest · Repository

Helps with API, server as part of agent workflows workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add monkey1sai-api-mock-server npx -- -y @trustedskills/monkey1sai-api-mock-server
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "monkey1sai-api-mock-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/monkey1sai-api-mock-server"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill provides a local API mock server. It allows you to simulate API responses without relying on external services, which is useful for development and testing purposes. The mock server can be configured with specific data to mimic real-world scenarios or edge cases.

When to use it

  • Development: Test your application's logic against a controlled API response before integrating with the actual service.
  • Testing: Create predictable test environments by mocking external dependencies.
  • Offline Development: Continue development even when internet access is unavailable.
  • Simulating Errors: Test how your application handles error conditions from an API.

Key capabilities

  • Local API server functionality
  • Configurable mock responses
  • Development and testing support

Example prompts

  • "Start the mock server on port 8080."
  • "Set a mock response for /users/123 to return {'name': 'John Doe'}"
  • "Simulate a 500 error when calling /products"

Tips & gotchas

The skill requires familiarity with API requests and responses. You will need to define the expected request paths and corresponding mock data for it to function effectively.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
monkey1sai
Installs
4

🌐 Community

Passed automated security scans.