foundationworks-mcp 0.1.1 → 0.1.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.
- package/README.md +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -119,7 +119,7 @@ AI: "I've noted that we're using JWT instead of sessions as specified.
|
|
|
119
119
|
| Variable | Required | Default | Description |
|
|
120
120
|
|----------|----------|---------|-------------|
|
|
121
121
|
| `FOUNDATION_TOKEN` | Yes | — | Your agent token from Foundation |
|
|
122
|
-
| `FOUNDATION_API_URL` | No | `https://
|
|
122
|
+
| `FOUNDATION_API_URL` | No | `https://api.foundationworks.io/api/v1/mcp` | API base URL |
|
|
123
123
|
|
|
124
124
|
## Why use this?
|
|
125
125
|
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
|
|
|
14
14
|
import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
15
15
|
// Configuration
|
|
16
16
|
const FOUNDATION_TOKEN = process.env.FOUNDATION_TOKEN;
|
|
17
|
-
const FOUNDATION_API_URL = process.env.FOUNDATION_API_URL || "https://
|
|
17
|
+
const FOUNDATION_API_URL = process.env.FOUNDATION_API_URL || "https://api.foundationworks.io/api/v1/mcp";
|
|
18
18
|
if (!FOUNDATION_TOKEN) {
|
|
19
19
|
console.error("Error: FOUNDATION_TOKEN environment variable is required");
|
|
20
20
|
console.error("Get your token from Foundation Settings → Agent Tokens");
|