Command Palette

Search for a command to run...

UnylyUnyly
Browse all

ADMINV2MCP

FreeNot checked

Exposes AdminV2 backend API operations as discoverable, callable tools for AI agents, enabling natural language or structured API interactions.

GitHubEmbed

About

Exposes AdminV2 backend API operations as discoverable, callable tools for AI agents, enabling natural language or structured API interactions.

README

A Model Context Protocol (MCP) server that exposes AdminV2 backend API operations as discoverable, callable tools for AI agents. Built with Laravel and AWS Bedrock (Claude).

Prerequisites

  • Docker & Docker Compose
  • An external Docker network named vpc_rms_cde
  • Access to the AdminV2 backend API
  • One of the following LLM providers:
    • AWS Bedrock — requires AWS credentials with Bedrock access
    • OpenAI — requires OpenAI API key
    • Anthropic — requires Anthropic API key
    • OpenRouter — free (limited), requires OpenRouter API key (access to 100+ models)
    • Ollama — free, self-hosted, no API key needed

Quick Start

1. Clone the repository

git clone <your-gitlab-repo-url>
cd ADMINV2MCP

2. Create the external Docker network (if not exists)

docker network create vpc_rms_cde

3. Configure environment

cp .env.example .env

Edit .env and fill in the required values:

Variable Description
APP_KEY Run php artisan key:generate after container starts
API_BASE_URL AdminV2 backend API URL (e.g. https://admin-backend-api)
LLM_PROVIDER LLM provider to use: bedrock, openai, anthropic, openrouter, or ollama

LLM Provider Configuration

Set LLM_PROVIDER in .env and fill in the corresponding credentials:

Provider Variable Description
bedrock AWS_ACCESS_KEY_ID AWS access key
AWS_SECRET_ACCESS_KEY AWS secret key
AWS_BEDROCK_REGION AWS region (default: us-east-1)
AWS_BEDROCK_MODEL Model ID or inference profile ARN
openai OPENAI_API_KEY OpenAI API key
OPENAI_MODEL Model name (default: gpt-4o-mini)
OPENAI_BASE_URL API base URL (default: https://api.openai.com/v1)
anthropic ANTHROPIC_API_KEY Anthropic API key
ANTHROPIC_MODEL Model name (default: claude-sonnet-4-20250514)
ollama OLLAMA_BASE_URL Ollama server URL (default: http://localhost:11434)
OLLAMA_MODEL Model name (default: llama3)
openrouter OPENROUTER_API_KEY OpenRouter API key
OPENROUTER_MODEL Model name (default: qwen/qwen-2.5-72b-instruct)
OPENROUTER_BASE_URL API base URL (default: https://openrouter.ai/api/v1)

Note: Ollama is free and runs locally. No API key needed — just install Ollama and pull a model. OpenRouter gives access to 100+ models (Qwen, Claude, GPT, Llama, etc.) with a single API key. OpenRouter's free tier has limited rate and model access but is more than enough for our usage.

4. Start containers

docker compose up -d

This starts 2 containers:

  • adminv2mcp — Laravel MCP server on port 9896
  • adminv2mcp-mysql — MySQL 8.4 on port 3308

5. Generate app key

docker compose exec adminv2mcp php artisan key:generate

6. Run migrations

docker compose exec adminv2mcp php artisan migrate

7. Verify

curl http://localhost:9896/api/health

Should return:

{"success": true, "service": "ADMINV2MCP"}

Usage

Login

curl -X POST http://localhost:9896/api/auth/login \
  -H "Content-Type: application/json" \
  -d '{"email": "[email protected]", "password": "pass", "mfa": "123456"}'

Call a tool (natural language)

curl -X POST http://localhost:9896/api/tools/call \
  -H "Content-Type: application/json" \
  -d '{"message": "yo mcp, show me all applications with processing status. just give me first 2 records, order the recs by submission id"}'

Call a tool (structured)

curl -X POST http://localhost:9896/api/tools/call \
  -H "Content-Type: application/json" \
  -d '{"tool": "get_bulk_application_submission", "arguments": {"filter": {"channel": "MB2U_QRPay-Push"}}}'

Documentation

See docs/MCP_TOOLS.md for full API documentation including:

  • All available tools and their parameters
  • How MCP works (architecture diagrams)
  • Self-learning mechanism
  • Restrictions and limitations
  • Code examples (JavaScript, Python)

Containers

Container Image Port Purpose
adminv2mcp Custom (PHP 8.4) 9896 MCP Laravel server
adminv2mcp-mysql mysql:8.4 3308 Self-learning storage

Stopping

docker compose down

To also remove the database volume:

docker compose down -v

from github.com/hensem/mcp

Installing ADMINV2MCP

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/hensem/mcp

FAQ

Is ADMINV2MCP MCP free?

Yes, ADMINV2MCP MCP is free — one-click install via Unyly at no cost.

Does ADMINV2MCP need an API key?

No, ADMINV2MCP runs without API keys or environment variables.

Is ADMINV2MCP hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install ADMINV2MCP in Claude Desktop, Claude Code or Cursor?

Open ADMINV2MCP on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare ADMINV2MCP with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs