201 lines
10 KiB
PHP
201 lines
10 KiB
PHP
@extends('docs.layout')
|
|
|
|
@section('title', 'FiveM MCP Server')
|
|
|
|
@section('content')
|
|
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
|
|
<!-- Hero Section -->
|
|
<div class="text-center mb-12">
|
|
<h1 class="text-4xl font-extrabold text-gray-900 sm:text-5xl sm:tracking-tight lg:text-6xl">
|
|
FiveM Development MCP Server
|
|
</h1>
|
|
<p class="mt-5 max-w-xl mx-auto text-xl text-gray-500">
|
|
A comprehensive Model Context Protocol server for FiveM development with 5 tools, 3 resources, and 5 prompts.
|
|
</p>
|
|
</div>
|
|
|
|
<!-- Features Grid -->
|
|
<div class="mt-12">
|
|
<h2 class="text-3xl font-extrabold text-gray-900 mb-8">Features</h2>
|
|
<div class="grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3">
|
|
<!-- Documentation Search -->
|
|
<div class="bg-white overflow-hidden shadow rounded-lg">
|
|
<div class="px-4 py-5 sm:p-6">
|
|
<div class="flex items-center">
|
|
<div class="shrink-0 bg-indigo-500 rounded-md p-3">
|
|
<svg class="h-6 w-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
|
|
</svg>
|
|
</div>
|
|
<div class="ml-5">
|
|
<h3 class="text-lg font-medium text-gray-900">Documentation Search</h3>
|
|
</div>
|
|
</div>
|
|
<div class="mt-4">
|
|
<p class="text-sm text-gray-500">
|
|
Search FiveM documentation by topic and category. Get direct links to relevant documentation.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Native Functions -->
|
|
<div class="bg-white overflow-hidden shadow rounded-lg">
|
|
<div class="px-4 py-5 sm:p-6">
|
|
<div class="flex items-center">
|
|
<div class="shrink-0 bg-indigo-500 rounded-md p-3">
|
|
<svg class="h-6 w-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"></path>
|
|
</svg>
|
|
</div>
|
|
<div class="ml-5">
|
|
<h3 class="text-lg font-medium text-gray-900">Native Functions</h3>
|
|
</div>
|
|
</div>
|
|
<div class="mt-4">
|
|
<p class="text-sm text-gray-500">
|
|
Look up GTA5/FiveM native functions with signatures, parameters, and code examples.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Manifest Generator -->
|
|
<div class="bg-white overflow-hidden shadow rounded-lg">
|
|
<div class="px-4 py-5 sm:p-6">
|
|
<div class="flex items-center">
|
|
<div class="shrink-0 bg-indigo-500 rounded-md p-3">
|
|
<svg class="h-6 w-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path>
|
|
</svg>
|
|
</div>
|
|
<div class="ml-5">
|
|
<h3 class="text-lg font-medium text-gray-900">Manifest Generator</h3>
|
|
</div>
|
|
</div>
|
|
<div class="mt-4">
|
|
<p class="text-sm text-gray-500">
|
|
Generate fxmanifest.lua files automatically for any framework and scripting language.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Event Reference -->
|
|
<div class="bg-white overflow-hidden shadow rounded-lg">
|
|
<div class="px-4 py-5 sm:p-6">
|
|
<div class="flex items-center">
|
|
<div class="shrink-0 bg-indigo-500 rounded-md p-3">
|
|
<svg class="h-6 w-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
|
|
</svg>
|
|
</div>
|
|
<div class="ml-5">
|
|
<h3 class="text-lg font-medium text-gray-900">Event Reference</h3>
|
|
</div>
|
|
</div>
|
|
<div class="mt-4">
|
|
<p class="text-sm text-gray-500">
|
|
Complete database of FiveM events including core, ESX, and QBCore events with examples.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Boilerplate Generator -->
|
|
<div class="bg-white overflow-hidden shadow rounded-lg">
|
|
<div class="px-4 py-5 sm:p-6">
|
|
<div class="flex items-center">
|
|
<div class="shrink-0 bg-indigo-500 rounded-md p-3">
|
|
<svg class="h-6 w-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"></path>
|
|
</svg>
|
|
</div>
|
|
<div class="ml-5">
|
|
<h3 class="text-lg font-medium text-gray-900">Boilerplate Generator</h3>
|
|
</div>
|
|
</div>
|
|
<div class="mt-4">
|
|
<p class="text-sm text-gray-500">
|
|
Generate complete resource structures with client, server, config, and optional NUI files.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Framework Support -->
|
|
<div class="bg-white overflow-hidden shadow rounded-lg">
|
|
<div class="px-4 py-5 sm:p-6">
|
|
<div class="flex items-center">
|
|
<div class="shrink-0 bg-indigo-500 rounded-md p-3">
|
|
<svg class="h-6 w-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z"></path>
|
|
</svg>
|
|
</div>
|
|
<div class="ml-5">
|
|
<h3 class="text-lg font-medium text-gray-900">Framework Support</h3>
|
|
</div>
|
|
</div>
|
|
<div class="mt-4">
|
|
<p class="text-sm text-gray-500">
|
|
Full support for Standalone, ESX, and QBCore frameworks in both Lua and JavaScript.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Quick Actions -->
|
|
<div class="mt-16 bg-indigo-700 rounded-lg shadow-xl overflow-hidden">
|
|
<div class="px-6 py-12 sm:px-12">
|
|
<div class="text-center">
|
|
<h2 class="text-3xl font-extrabold text-white">Ready to get started?</h2>
|
|
<p class="mt-4 text-lg text-indigo-100">
|
|
Set up the MCP server in just 5 minutes with our quick start guide.
|
|
</p>
|
|
<div class="mt-8 flex justify-center space-x-4">
|
|
<a href="{{ route('docs.quickstart') }}" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-indigo-700 bg-white hover:bg-indigo-50">
|
|
Quick Start Guide
|
|
</a>
|
|
<a href="{{ route('docs.documentation') }}" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-500 hover:bg-indigo-600">
|
|
Full Documentation
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Resources -->
|
|
<div class="mt-16">
|
|
<h2 class="text-3xl font-extrabold text-gray-900 mb-8">Resources</h2>
|
|
<div class="grid grid-cols-1 gap-6 sm:grid-cols-2">
|
|
<div class="bg-white shadow rounded-lg p-6">
|
|
<h3 class="text-lg font-medium text-gray-900 mb-4">Testing</h3>
|
|
<p class="text-sm text-gray-500 mb-4">
|
|
Test the MCP server locally using the inspector:
|
|
</p>
|
|
<pre class="bg-gray-50 rounded p-4 text-sm overflow-x-auto"><code>php artisan mcp:inspector fivem</code></pre>
|
|
</div>
|
|
<div class="bg-white shadow rounded-lg p-6">
|
|
<h3 class="text-lg font-medium text-gray-900 mb-4">External Links</h3>
|
|
<ul class="space-y-2 text-sm">
|
|
<li>
|
|
<a href="https://docs.fivem.net/docs/" class="text-indigo-600 hover:text-indigo-500">FiveM Documentation</a>
|
|
</li>
|
|
<li>
|
|
<a href="https://docs.fivem.net/natives/" class="text-indigo-600 hover:text-indigo-500">FiveM Natives Reference</a>
|
|
</li>
|
|
<li>
|
|
<a href="https://laravel.com/docs/mcp" class="text-indigo-600 hover:text-indigo-500">Laravel MCP Documentation</a>
|
|
</li>
|
|
<li>
|
|
<a href="https://modelcontextprotocol.io/" class="text-indigo-600 hover:text-indigo-500">Model Context Protocol</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|