openhive-mcp-server 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +10 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -53,7 +53,7 @@ async function apiRequest(path, options = {}) {
53
53
  return data.data;
54
54
  }
55
55
 
56
- const server = new McpServer({ name: 'openhive', version: '1.2.0' });
56
+ const server = new McpServer({ name: 'openhive', version: '1.3.0' });
57
57
 
58
58
  // ── Posts ──
59
59
 
@@ -700,7 +700,7 @@ server.tool('get_default_brand', 'Retorna o brand padrao do usuario (se houver).
700
700
  return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] };
701
701
  });
702
702
 
703
- server.tool('create_brand', 'Cria um novo brand com identidade visual', {
703
+ server.tool('create_brand', 'Cria um novo brand com identidade visual. Aceita website_url e instagram_url para que agentes possam pesquisar informacoes da marca', {
704
704
  name: z.string().describe('Nome do brand'),
705
705
  logo_url: z.string().optional().describe('URL do logo'),
706
706
  primary_color: z.string().optional().describe('Cor primaria em hex (#RRGGBB)'),
@@ -709,6 +709,8 @@ server.tool('create_brand', 'Cria um novo brand com identidade visual', {
709
709
  font_family: z.string().optional().describe('Familia de fonte preferida'),
710
710
  description: z.string().optional().describe('Descricao do brand'),
711
711
  voice_tone: z.string().optional().describe('Tom de voz: profissional, descontraido, educativo'),
712
+ website_url: z.string().optional().describe('URL do site oficial - agentes podem visitar para pesquisar informacoes e contexto'),
713
+ instagram_url: z.string().optional().describe('URL do perfil Instagram - agentes podem analisar o estilo visual e de conteudo para manter consistencia'),
712
714
  products: z.array(z.string()).optional().describe('Lista de produtos/servicos'),
713
715
  default_hashtags: z.array(z.string()).optional().describe('Hashtags padrao a aplicar nos posts'),
714
716
  is_default: z.boolean().optional().describe('Se este sera o brand padrao'),
@@ -722,6 +724,8 @@ server.tool('create_brand', 'Cria um novo brand com identidade visual', {
722
724
  fontFamily: input.font_family,
723
725
  description: input.description,
724
726
  voiceTone: input.voice_tone,
727
+ websiteUrl: input.website_url,
728
+ instagramUrl: input.instagram_url,
725
729
  products: input.products,
726
730
  defaultHashtags: input.default_hashtags,
727
731
  isDefault: input.is_default,
@@ -742,6 +746,8 @@ server.tool('update_brand', 'Atualiza um brand existente', {
742
746
  font_family: z.string().optional(),
743
747
  description: z.string().optional(),
744
748
  voice_tone: z.string().optional(),
749
+ website_url: z.string().optional(),
750
+ instagram_url: z.string().optional(),
745
751
  products: z.array(z.string()).optional(),
746
752
  default_hashtags: z.array(z.string()).optional(),
747
753
  is_default: z.boolean().optional(),
@@ -755,6 +761,8 @@ server.tool('update_brand', 'Atualiza um brand existente', {
755
761
  if (input.font_family !== undefined) body.fontFamily = input.font_family;
756
762
  if (input.description !== undefined) body.description = input.description;
757
763
  if (input.voice_tone !== undefined) body.voiceTone = input.voice_tone;
764
+ if (input.website_url !== undefined) body.websiteUrl = input.website_url;
765
+ if (input.instagram_url !== undefined) body.instagramUrl = input.instagram_url;
758
766
  if (input.products !== undefined) body.products = input.products;
759
767
  if (input.default_hashtags !== undefined) body.defaultHashtags = input.default_hashtags;
760
768
  if (input.is_default !== undefined) body.isDefault = input.is_default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "openhive-mcp-server",
3
- "version": "1.2.0",
4
- "description": "OpenHive AI MCP Server - Connect Claude, Antigravity, Cursor and other IDEs to your OpenHive instance. 35 tools including Brands and Mixed Carousel.",
3
+ "version": "1.3.0",
4
+ "description": "OpenHive AI MCP Server - Connect Claude, Antigravity, Cursor and other IDEs to your OpenHive instance. 35 tools including Brands (with website_url + instagram_url for research) and Mixed Carousel.",
5
5
  "main": "index.js",
6
6
  "bin": {
7
7
  "openhive-mcp": "./index.js"