1. Conduid
  2. AI
  3. Mcpmock
MCP server · AI

Mcpmock

https://mcpmock.ai/ docs and samples.

Unclaimed Custom license last commit 11 months ago ai
57Fair

Scored 12 days ago · breakdown

About Mcpmock

Mcpmock is an MCP server published by AratoAi in the AI category: https://mcpmock.ai/ docs and samples.

The repository has 11 stars and 1 forks, with the last commit 11 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/AratoAi/mcpmock

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Mcpmock

Powered by Claude · Grounded in docs

I know everything about Mcpmock. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

1 check has not been run yet.

README

MCPMock - Examples & Showcase

Welcome to the MCPMock Examples Repository! This repository showcases the capabilities of mcpmock.ai, a powerful mock server implementing the Model Context Protocol (MCP).

🌟 What is MCPMock?

MCPMock is a full-featured Model Context Protocol (MCP) mock server used for developing, testing, and debugging MCP clients and AI agents. It provides mock MCP tools, mock responses, and dynamic tool simulations for developers building LLM-based applications, agent frameworks, or MCP integrations.

MCPMock helps you:

  • Test AI integrations without depending on real services
  • Develop MCP clients with realistic mock responses
  • Create dynamic mock tools with templates, sequences, and functions
  • Prototype quickly with configurable mock behaviors

Try it live: https://www.mcpmock.ai

🚀 Quick Start

1. Sign Up

Visit mcpmock.ai and sign up using Google, GitHub, or GitLab OAuth.

2. Get Your API Token

After logging in, navigate to the Settings tab to find your API token.

3. Get Your MCP Server Endpoint

Your unique MCP server endpoint URL is available in:

  • The Dashboard in the MCPMock UI
  • Or via API call: GET https://api.mcpmock.ai/me/endpoint (requires authentication)

The endpoint format is: https://mcp.mcpmock.ai/{your-server-id}/

Example: https://mcp.mcpmock.ai/0123456-1234-5678-90ab-1234567890ab/

4. Create Your First Mock Tool

curl -X POST https://api.mcpmock.ai/tools \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "get_weather",
    "description": "Get weather information for a location",
    "inputSchema": {
      "type": "object",
      "properties": {
        "location": {"type": "string"}
      },
      "required": ["location"]
    },
    "mockResponse": {
      "type": "static",
      "data": {
        "temperature": 72,
        "condition": "sunny",
        "humidity": 45
      }
    }
  }'

5. Use the MCP Protocol

Note: MCP endpoints don't require authentication. Replace YOUR_MCP_SERVER_ID with your actual server ID from the dashboard.

# Initialize the connection
curl -X POST https://mcp.mcpmock.ai/YOUR_MCP_SERVER_ID/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "initialize",
    "params": {
      "protocolVersion": "2024-11-05",
      "clientInfo": {"name": "test-client", "version": "1.0.0"}
    }
  }'

# List available tools
curl -X POST https://mcp.mcpmock.ai/YOUR_MCP_SERVER_ID/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/list"
  }'

# Call your tool
curl -X POST https://mcp.mcpmock.ai/YOUR_MCP_SERVER_ID/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 3,
    "method": "tools/call",
    "params": {
      "name": "get_weather",
      "arguments": {"location": "San Francisco"}
    }
  }'

📚 Examples Library

Basic Examples

Advanced Examples

Integration Examples

🎓 Tutorials

  1. Getting Started - Complete walkthrough for new users
  2. Creating Dynamic Tools - Build tools that respond intelligently
  3. Testing AI Applications - Use MCPMock in your test suite
  4. Building MCP Clients - Develop clients using MCPMock

🎯 Use Cases

  • AI Agent Development: Test your agents against controlled mock services
  • MCP Client Testing: Validate protocol implementation without real servers
  • API Prototyping: Mock APIs before backend implementation
  • Integration Testing: Reliable test fixtures for CI/CD pipelines
  • Training & Demos: Consistent environments for workshops and demos

📖 Documentation

For comprehensive documentation, visit the main repository.

🛠️ Mock Response Types

MCPMock supports four powerful mock response types:

Static

Fixed responses that never change:

{
  "type": "static",
  "data": {"result": "Hello, World!"}
}

Template

Dynamic responses using input parameters:

{
  "type": "template",
  "template": "Hello, {{name}}! Temperature is {{input.temp}}°F"
}

Sequence

Different responses for each call:

{
  "type": "sequence",
  "responses": [
    {"data": {"status": "pending"}},
    {"data": {"status": "processing"}},
    {"data": {"status": "complete"}}
  ]
}

Function

JavaScript functions for complex logic:

{
  "type": "function",
  "code": "function(input) { return { result: input.a + input.b }; }"
}

🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

📝 License

This examples repository is licensed under the MIT License. See LICENSE for details.

The MCPMock platform itself is proprietary software. Visit mcpmock.ai for terms of service.

🔗 Resources

⭐ Show Your Support

If you find MCPMock useful, please star this repository and share it with others!


Built with ❤️ by Arato AI

README fetched from the repository 5 days ago. The original is authoritative.

Questions

About Mcpmock

How do I install Mcpmock?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Mcpmock safe to use with an AI agent?

Its trust score is 57 out of 100 (fair). It passes 2 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Mcpmock still maintained?

The last commit was 11 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.