@jaimeng168/applykit-mcp 0.0.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.
package/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # @jaimeng168/applykit-mcp
2
+
3
+ Local MCP server for ApplyKit — gives AI agents tools to extract job postings from any URL.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install -g @jaimeng168/applykit-mcp
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ Add to your `.mcp.json`:
14
+
15
+ ```json
16
+ {
17
+ "mcpServers": {
18
+ "applykit": {
19
+ "command": "applykit-mcp"
20
+ }
21
+ }
22
+ }
23
+ ```
24
+
25
+ ## Tools
26
+
27
+ ### `extract_job`
28
+
29
+ Extracts a job posting from a URL and returns the markdown content.
30
+
31
+ ```
32
+ url: string — the job posting URL
33
+ ```
@@ -0,0 +1 @@
1
+ export { };
package/dist/index.js ADDED
@@ -0,0 +1,25 @@
1
+ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
+ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
3
+ import { extractJob } from "@jaimeng168/applykit-core";
4
+ import { z } from "zod";
5
+ //#region src/index.ts
6
+ const server = new McpServer({
7
+ name: "applykit",
8
+ version: "0.0.0"
9
+ });
10
+ server.registerTool("extract_job", {
11
+ title: "Extract Job",
12
+ description: "Extract a job posting from a URL and return the markdown content",
13
+ inputSchema: { url: z.string().describe("The job posting URL") }
14
+ }, async ({ url }) => {
15
+ return { content: [{
16
+ type: "text",
17
+ text: (await extractJob({ url })).markdown
18
+ }] };
19
+ });
20
+ const transport = new StdioServerTransport();
21
+ await server.connect(transport);
22
+ //#endregion
23
+ export {};
24
+
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport { StdioServerTransport } from \"@modelcontextprotocol/sdk/server/stdio.js\";\nimport { extractJob } from \"@jaimeng168/applykit-core\";\nimport { z } from \"zod\";\n\nconst server = new McpServer({\n name: \"applykit\",\n version: \"0.0.0\",\n});\n\nserver.registerTool(\n \"extract_job\",\n {\n title: \"Extract Job\",\n description: \"Extract a job posting from a URL and return the markdown content\",\n inputSchema: { url: z.string().describe(\"The job posting URL\") },\n },\n async ({ url }) => {\n const result = await extractJob({ url });\n return {\n content: [{ type: \"text\", text: result.markdown }],\n };\n },\n);\n\nconst transport = new StdioServerTransport();\nawait server.connect(transport);\n"],"mappings":";;;;;AAKA,MAAM,SAAS,IAAI,UAAU;CAC3B,MAAM;CACN,SAAS;AACX,CAAC;AAED,OAAO,aACL,eACA;CACE,OAAO;CACP,aAAa;CACb,aAAa,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,EAAE;AACjE,GACA,OAAO,EAAE,UAAU;CAEjB,OAAO,EACL,SAAS,CAAC;EAAE,MAAM;EAAQ,OAAM,MAFb,WAAW,EAAE,IAAI,CAAC,EAAA,CAEE;CAAS,CAAC,EACnD;AACF,CACF;AAEA,MAAM,YAAY,IAAI,qBAAqB;AAC3C,MAAM,OAAO,QAAQ,SAAS"}
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@jaimeng168/applykit-mcp",
3
+ "version": "0.0.0",
4
+ "type": "module",
5
+ "bin": {
6
+ "applykit-mcp": "./dist/index.js"
7
+ },
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "main": "./dist/index.js",
12
+ "module": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "import": "./dist/index.js"
18
+ }
19
+ },
20
+ "publishConfig": {
21
+ "access": "public"
22
+ },
23
+ "scripts": {
24
+ "build": "tsdown",
25
+ "pack:dry": "bun run build && bun pm pack --dry-run",
26
+ "prepublishOnly": "bun run build"
27
+ },
28
+ "dependencies": {
29
+ "@jaimeng168/applykit-core": "0.0.1",
30
+ "@modelcontextprotocol/sdk": "^1.29.0",
31
+ "zod": "^4.4.3"
32
+ }
33
+ }