Locket MCP Server
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Locket
Locket is a demo application to show Laravel MCP capabilities.
It combines a read-later app with a link sharing social feed.
Locket allows users to share interesting links, manage their 'to read' list of links, and bookmark links shared by others. Locket allows users to do this through the web, API, and MCP.

Important Files
To learn the most from Locket and Laravel MCP, take a look at these directories & files:
routes/ai.phpapp/Mcp/Servers/Locket.phpapp/Mcp/Tools/app/Mcp/Actions/routes/api.php
Related MCP server: Reddit MCP Server
API
Locket provides a REST API for programmatic access. See the API Documentation for detailed endpoint information and usage examples.
Getting an API Token
Log in to your Locket account
Go to Settings → Profile (
/settings/profile)Create a new personal access token in the API Tokens section
Use the token in the
Authorization: Bearer YOUR_TOKENheader for API requests
Auth
This app uses Laravel Passport for both MCP OAuth authentication and API token authentication.
Users can manage their API tokens in the user profile settings area (/settings/profile).
MCP
Locket comes with an MCP server located at http://locket.test/mcp, with tools, a resource, and a prompt.
Laravel MCP 1.x supports protocol revision 2026-07-28 through server/discover. Modern requests include the protocol version and client capabilities in params._meta, with matching MCP-Protocol-Version and Mcp-Method HTTP headers. Tool, prompt, and resource calls also require a matching Mcp-Name header. Legacy clients using initialize remain supported. See the MCP upgrade guide for request examples.
Requests with an Origin header must match APP_URL exactly, excluding its trailing slash. Set APP_URL to the application's public origin, including the scheme and any non-default port. Native MCP clients that omit Origin remain supported. GET requests accepting text/event-stream return HTTP 405; browser requests still show the MCP information page.
Setup
The application requires PHP 8.4 or later and Node.js 22.12 or later.
composer install
cp .env.example .env
php artisan passport:keys
npm install
npm run buildTypeScript remains on 6.0 because typescript-eslint does not yet support TypeScript 7. ESLint remains on 9 because eslint-plugin-react does not yet support ESLint 10.
HTTP Notes
Many AI agents use Node which comes with its own certificate store, meaning they'll fail to connect to an MCP server on https://. We recommend leaving Locket on http:// locally for testing with AI agents, and using https:// on production.
This server cannot be deployed
Maintenance
Related MCP Connectors
Browse and manage Reddit posts, comments, and threads. Fetch user activity, explore hot/new/rising…
Find, read and organize the links, videos and posts you saved in SavedIt.
Save, search and organize bookmarks, highlights, feeds and knowledge cards in a Linkflare library.
Read your Savee saves, boards and home feed, and search its public library. Read-only.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables interaction with Reddit through a comprehensive API interface supporting both read-only operations (browsing posts, comments, user profiles) and authenticated actions (posting, commenting, voting) via OAuth2 authentication.7MIT
- FlicenseNot gradedqualityCmaintenanceEnables interaction with Reddit through the Reddit API, allowing users to search posts, retrieve saved content, fetch comments, reply to comments, and access detailed post information with comment trees.4-
- AlicenseNot gradedqualityDmaintenanceEnables Claude and other MCP clients to manage Instapaper accounts by reading, saving, organizing, and analyzing articles through natural language. It supports comprehensive bookmark management, bulk operations, folder organization, and full-text content retrieval for research and synthesis.26MIT
- AlicenseNot gradedqualityDmaintenanceEnables integration with Readwise Reader API to save, retrieve, update, and manage documents, tags, and filtering in your Readwise Reader account.MIT