OSMOS Marketing API MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OSMOS Marketing API MCP ServerCreate a new SPA campaign 'Summer Sale' with budget 5000"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OSMOS Marketing API MCP Server
Model Context Protocol server that exposes the OSMOS Marketing API registry as callable tools, so an AI agent can discover endpoints and make real API calls.
Structure
api_mcp/
├── server.mjs # MCP server (stdio transport)
├── package.json
├── registry/
│ ├── index.json # Root registry (lists services)
│ ├── service/
│ │ └── service.json # Service definition (base URL, auth, hierarchy)
│ └── endpoints/
│ ├── index.json # Endpoint index (15 endpoints)
│ └── *.json # One file per endpoint (OpenAPI-derived)Related MCP server: aman-mcp
How it works
server.mjsloads the registry JSON files at startup.It registers a tool for every endpoint in
registry/endpoints/index.json(named by convertingidto snake_case, e.g.create-spa-campaign→create_spa_campaign).Each endpoint tool accepts path params, query params, an optional
body, plusx_tokenandx_retailer_idauth headers.Calling a tool performs the real HTTP request against
https://apiv2.onlinesales.ai/marketing/v1/advertiserand returns status + parsed response.
Built-in tools
list_endpoints— list all endpoints (method, path, summary)get_service_details— service definition (base URL, auth, hierarchy)get_endpoint_definition— full schema for one endpoint by id
Resources
osmos://service— service definitionosmos://endpoints— endpoint index
Prompt
campaign-hierarchy— explains the campaign hierarchy before acting
Run
npm install
npm startThe server speaks MCP over stdio. Connect it from any MCP client (e.g. Claude Desktop, opencode) using:
{
"mcpServers": {
"osmos-marketing": {
"command": "node",
"args": ["/absolute/path/to/api_mcp/server.mjs"]
}
}
}Auth
Every API call requires both headers — they are passed as x_token and x_retailer_id tool arguments:
x-token: Authentication token
x-retailer-id: Retailer identifierWithout both, the tool returns a clear error explaining they are required.
Adding a new endpoint
Add
registry/endpoints/<endpoint-id>.jsonfollowing the existing schema pattern (fields:endpoint.id,method,path,operationId,summary,description,parameters,requestBody,responses,deprecated).Add an entry to
registry/endpoints/index.json.Restart the server — the new endpoint tool is registered automatically.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceExposes OpenAPI specifications as MCP tools, enabling AI assistants to explore and understand API structures, endpoints, schemas, and documentation through semantic queries.8MIT
- Alicense-qualityBmaintenanceExposes identity, tools, workflows, guardrails, and evaluation as MCP tools — so any AI agent can read and write your ecosystem programmatically.27MIT
- AlicenseCqualityCmaintenanceWraps all Tencent Ads Marketing API v3.0 endpoints as MCP tools, enabling AI assistants to directly manage ads, creatives, reports, and more via natural language.4262Apache 2.0
- Flicense-qualityDmaintenanceProvides 35 MCP tools for automated marketing campaigns, integrating event management, booking, and email marketing into a deterministic pipeline for AI agents.
Related MCP Connectors
Free public MCP for AI agents — 193 tools, 44 workflows. No API key.
100+ MCP tools for AI agents: content metadata, trade intelligence, business-expertise analysis.
Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mdkulkarni2005/osmos-marketing-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server