Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Steven Chou

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

### 让 AI 写出老板看得懂、能决策的中文职场汇报

[![npm](https://img.shields.io/npm/v/manage-up-mcp?style=flat-square)](https://www.npmjs.com/package/manage-up-mcp)
[![MCP](https://img.shields.io/badge/MCP-ready-blueviolet?style=flat-square)](https://modelcontextprotocol.io/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)](./LICENSE)
[![Website](https://img.shields.io/badge/website-live-brightgreen?style=flat-square)](https://stevenchouai.github.io/manage-up/)

**[🇨🇳 中文](#manageup)** | **[🇺🇸 English](#english)**

> 大模型写的报告为什么不好?因为它没有你的数据,也不知道中文职场里“老板需要拿它做决策”。ManageUp 的核心思路:**先收集事实,再组织成结论、进展、风险、需要决策**。
Expand Down
2 changes: 1 addition & 1 deletion mcp-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
} from "@modelcontextprotocol/sdk/types.js";

const SERVER_NAME = "manage-up-mcp";
const SERVER_VERSION = "1.1.0";
const SERVER_VERSION = "1.1.1";
const DEFAULT_LOG_DIR = path.join(os.homedir(), ".manage-up-mcp", "logs");
const FALLBACK_LOG_DIR = path.join(process.cwd(), ".manage-up-mcp", "logs");
const SESSION_ID = randomUUID();
Expand Down
5 changes: 1 addition & 4 deletions scripts/test-mcp-server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env node

import fs from "node:fs";
import os from "node:os";
import path from "node:path";

import { Client } from "@modelcontextprotocol/sdk/client/index.js";
Expand All @@ -11,10 +10,8 @@ import {
ListToolsResultSchema,
} from "@modelcontextprotocol/sdk/types.js";

const preferredLogDir =
process.env.MANAGE_UP_MCP_LOG_DIR ||
path.join(os.homedir(), ".manage-up-mcp", "logs");
const fallbackLogDir = path.join(process.cwd(), ".manage-up-mcp", "logs");
const preferredLogDir = process.env.MANAGE_UP_MCP_LOG_DIR || fallbackLogDir;
const defaultEntry = path.resolve("mcp-server.js");
const command = process.env.MANAGE_UP_MCP_COMMAND || process.execPath;
const args = process.env.MANAGE_UP_MCP_COMMAND
Expand Down
Loading