@thecorporation/mcp-server 26.3.21 → 26.3.22

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/README.md +13 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -70,7 +70,16 @@ Set credentials explicitly in your MCP client config:
70
70
  }
71
71
  ```
72
72
 
73
- ### Option 3: Self-hosted
73
+ ### Option 3: Local mode
74
+
75
+ Run `corp setup` and choose "Local". The MCP server automatically picks up the local-mode config from `~/.corp/` — no additional env vars needed. All requests go through the Rust binary directly (no network).
76
+
77
+ ```bash
78
+ npx @thecorporation/cli setup # choose "Local"
79
+ # MCP server now works automatically
80
+ ```
81
+
82
+ ### Option 4: Self-hosted
74
83
 
75
84
  Point to your own API server:
76
85
 
@@ -92,9 +101,9 @@ Point to your own API server:
92
101
 
93
102
  | Env var | Description | Default |
94
103
  |---|---|---|
95
- | `CORP_API_URL` | API base URL | `https://api.thecorporation.ai` |
96
- | `CORP_API_KEY` | API key | from `~/.corp/config.json` |
97
- | `CORP_WORKSPACE_ID` | Workspace ID | from `~/.corp/config.json` |
104
+ | `CORP_API_URL` | API base URL (`process://` for local) | `https://api.thecorporation.ai` |
105
+ | `CORP_API_KEY` | API key | from `~/.corp/auth.json` |
106
+ | `CORP_WORKSPACE_ID` | Workspace ID | from `~/.corp/auth.json` |
98
107
 
99
108
  ## Tools
100
109
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecorporation/mcp-server",
3
- "version": "26.3.21",
3
+ "version": "26.3.22",
4
4
  "description": "MCP server for agent-native corporate operations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@modelcontextprotocol/sdk": "^1.12.0",
16
- "@thecorporation/corp-tools": "26.3.21",
16
+ "@thecorporation/corp-tools": "26.3.22",
17
17
  "zod": "^3.24.0"
18
18
  },
19
19
  "devDependencies": {