create_project
Create a new tracked project by providing a domain and brand name. Optionally include industry and country for improved analysis quality.
Instructions
Create a new tracked project. Requires domain (the root URL without scheme) and brandName. industry and country are optional but improve analysis quality.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Root domain, e.g. "example.com" | |
| brandName | Yes | Human-readable brand name | |
| industry | No | Industry vertical (optional) | |
| country | No | Primary country (ISO-2), optional |
Implementation Reference
- src/tools/projects.js:28-44 (handler)The 'create_project' tool definition including its name, description, inputSchema, and handler. The handler sends a POST request to '/projects' with the input (domain, brandName, optional industry, country).
{ name: 'create_project', description: 'Create a new tracked project. Requires `domain` (the root URL without scheme) and ' + '`brandName`. `industry` and `country` are optional but improve analysis quality.', inputSchema: { type: 'object', properties: { domain: { type: 'string', description: 'Root domain, e.g. "example.com"' }, brandName: { type: 'string', description: 'Human-readable brand name' }, industry: { type: 'string', description: 'Industry vertical (optional)' }, country: { type: 'string', description: 'Primary country (ISO-2), optional' }, }, required: ['domain', 'brandName'], }, handler: async (input) => api.post('/projects', input), }, - src/tools/projects.js:33-42 (schema)Input schema for create_project: requires 'domain' (string) and 'brandName' (string); optional 'industry' and 'country' (strings).
inputSchema: { type: 'object', properties: { domain: { type: 'string', description: 'Root domain, e.g. "example.com"' }, brandName: { type: 'string', description: 'Human-readable brand name' }, industry: { type: 'string', description: 'Industry vertical (optional)' }, country: { type: 'string', description: 'Primary country (ISO-2), optional' }, }, required: ['domain', 'brandName'], }, - src/index.js:23-23 (registration)Import of projectTools (which includes create_project) into the main server file.
import { projectTools } from './tools/projects.js'; - src/index.js:31-32 (registration)projectTools spread into ALL_TOOLS array, registering create_project as an available MCP tool.
const ALL_TOOLS = [ ...projectTools, - src/client.js:78-83 (helper)The api.post method used by the create_project handler to make the HTTP POST request to '/projects'.
export const api = { get: (path, query) => request('GET', path, { query }), post: (path, body) => request('POST', path, { body }), patch: (path, body) => request('PATCH', path, { body }), delete: (path) => request('DELETE', path), };