@anaella/mcp 0.2.1 → 0.2.2

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.
@@ -62,8 +62,13 @@ function buildTools(client) {
62
62
  text: z.string().optional().describe("Post text / caption"),
63
63
  when: z.string().optional().describe('"now" | "draft" | ISO-8601 timestamp'),
64
64
  media: z.array(z.object({ url: z.string().url() })).optional().describe("Public media URLs"),
65
- type: z.enum(["post", "reel", "thread", "story"]).optional().describe('Defaults to "post"'),
66
- firstComment: z.string().max(2e3).optional()
65
+ type: z.enum(["post", "reel", "thread", "story", "article"]).optional().describe('Defaults to "post"'),
66
+ firstComment: z.string().max(2e3).optional(),
67
+ title: z.string().max(512).optional().describe('Article title (type: "article")'),
68
+ markdown: z.string().optional().describe('Article body in Markdown (type: "article")'),
69
+ excerpt: z.string().max(1024).optional().describe('Article excerpt (type: "article")'),
70
+ tags: z.array(z.string().max(64)).max(50).optional().describe('Article tags (type: "article")'),
71
+ canonicalUrl: z.string().max(2048).optional().describe('Article canonical URL (type: "article")')
67
72
  }
68
73
  },
69
74
  handler: wrap(
package/dist/http.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  buildServer,
4
4
  loadConfig
5
- } from "./chunk-UVDX2Y2D.js";
5
+ } from "./chunk-JE54FATF.js";
6
6
 
7
7
  // src/http.ts
8
8
  import http from "http";
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  buildServer,
4
4
  loadConfig
5
- } from "./chunk-UVDX2Y2D.js";
5
+ } from "./chunk-JE54FATF.js";
6
6
 
7
7
  // src/index.ts
8
8
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
package/package.json CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "name": "@anaella/mcp",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "MCP server for anaella.com — schedule and publish social posts via the /v1 API.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "anaella-mcp": "dist/index.js"
8
8
  },
9
- "files": ["dist"],
9
+ "files": [
10
+ "dist"
11
+ ],
10
12
  "publishConfig": {
11
13
  "access": "public"
12
14
  },
@@ -18,7 +20,7 @@
18
20
  "smoke": "bun run src/smoke.ts"
19
21
  },
20
22
  "dependencies": {
21
- "@anaella/client": "^0.1.7",
23
+ "@anaella/client": "^0.1.8",
22
24
  "@modelcontextprotocol/sdk": "^1.29.0",
23
25
  "zod": "^3.25.76"
24
26
  },