Laravel Tasks
БесплатноНе проверенMCP server that connects to a Laravel Tasks API, enabling AI assistants to perform CRUD operations on tasks.
Описание
MCP server that connects to a Laravel Tasks API, enabling AI assistants to perform CRUD operations on tasks.
README
A Model Context Protocol (MCP) server that connects to your Laravel Tasks API, allowing AI assistants to interact with your task management system.
Features
- ✅ Health check endpoint
- ✅ List all tasks
- ✅ Get task by ID
- ✅ Create new tasks
- ✅ Update existing tasks
- ✅ Delete tasks
Prerequisites
- Python 3.10 or higher
- Laravel API running at
http://localhost:8000 - MCP API key from your Laravel application
Installation
Install dependencies:
pip install -r requirements.txtSet up environment variables:
cp .env.example .envThen edit
.envand add yourMCP_API_KEY.
Configuration
The server uses the following environment variables:
API_BASE_URL: Base URL for your Laravel API (default:http://localhost:8000/api/mcp)MCP_API_KEY: Your API key for authentication (required)
Running the Server
For Cursor IDE
Add this to your Cursor settings (.cursor/config.json or Cursor settings):
{
"mcpServers": {
"laravel-tasks": {
"command": "python",
"args": ["/absolute/path/to/MCP Server/server.py"],
"env": {
"MCP_API_KEY": "your-api-key-here",
"API_BASE_URL": "http://localhost:8000/api/mcp"
}
}
}
}
Testing Locally
You can test the server using the MCP Inspector or by running:
python server.py
Available Tools
The MCP server exposes the following tools:
- health_check - Check API health status
- list_tasks - Get all tasks
- get_task - Get a specific task by ID
- create_task - Create a new task (requires
title, optionaldescriptionandstatus) - update_task - Update an existing task (requires
task_id, optional fields to update) - delete_task - Delete a task by ID
API Endpoints
The server connects to these Laravel endpoints:
GET /api/mcp/health- Health checkGET /api/mcp/tasks- List tasksPOST /api/mcp/tasks- Create taskGET /api/mcp/tasks/{id}- Get taskPUT/PATCH /api/mcp/tasks/{id}- Update taskDELETE /api/mcp/tasks/{id}- Delete task
Authentication
All requests include authentication headers:
X-AI-Agent-Api-Key: <your MCP_API_KEY>Authorization: Bearer <your MCP_API_KEY>
Project Structure
MCP Server/
├── server.py # Main entry point - MCP server initialization
├── config.py # Configuration management class
├── api_client.py # Laravel API HTTP client class
├── tools.py # MCP tool definitions and handlers
├── utils.py # Utility functions
├── requirements.txt # Python dependencies
├── .env.example # Environment variables template
└── README.md # This file
Architecture
The codebase is organized into modular classes:
Config(config.py): Manages configuration and environment variablesLaravelAPIClient(api_client.py): Handles all HTTP requests to Laravel APITaskTools(tools.py): Defines MCP tools and handles tool executionLaravelTasksMCPServer(server.py): Main server class that ties everything together
Troubleshooting
- Connection errors: Ensure your Laravel API is running at
http://localhost:8000 - Authentication errors: Verify your
MCP_API_KEYis correct - Import errors: Make sure all dependencies are installed:
pip install -r requirements.txt - Module import errors: Ensure you're running from the project root directory
Установка Laravel Tasks
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/alchiebinan21/task_management_mcpFAQ
Laravel Tasks MCP бесплатный?
Да, Laravel Tasks MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Laravel Tasks?
Нет, Laravel Tasks работает без API-ключей и переменных окружения.
Laravel Tasks — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Laravel Tasks в Claude Desktop, Claude Code или Cursor?
Открой Laravel Tasks на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Laravel Tasks with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
