Documentation Index
Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt
Use this file to discover all available pages before exploring further.
Building Your Own MCP Server
LaunchMyStore provides a built-in HTTP MCP server at
https://api.launchmystore.io/mcp. Most users don’t need to build their own — see the MCP Overview for the standard setup.This guide is for developers who want to build a custom MCP server with specialized logic, combine multiple data sources, or run locally.When to Build Custom
Build your own MCP server when you need to:- Combine LaunchMyStore data with other APIs
- Add custom business logic before returning data
- Run locally for development/testing
- Create a white-labeled integration
Prerequisites
- Node.js 18+
- A LaunchMyStore MCP token (see the overview — generate one under Settings → AI Connector (MCP) in the admin).
- Familiarity with TypeScript
Project Setup
Basic Server Structure
Createsrc/index.ts:
Build and Run
Claude Desktop Configuration
For custom MCP servers using stdio transport:Adding Custom Logic
You can add business logic that the built-in server doesn’t have:Testing
Test your server locally with the MCP inspector:Publishing
Package your server for distribution:Built-in vs Custom
| Feature | Built-in HTTP Server | Custom Server |
|---|---|---|
| Setup | Just add token to config | Build & deploy code |
| Tools | 50+ pre-built tools | Define your own |
| Logic | Standard API responses | Custom business logic |
| Maintenance | Automatic updates | You maintain it |
| Combine APIs | LaunchMyStore only | Any data source |