outline-mcp-server 5.3.1 → 5.4.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 +3 -1
- package/build/index.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -78,7 +78,8 @@ Add the following MCP definition to your configuration:
|
|
78
78
|
"env": {
|
79
79
|
"OUTLINE_API_KEY": "<REPLACE_ME>",
|
80
80
|
"OUTLINE_API_URL": "https://app.getoutline.com/api",
|
81
|
-
"OUTLINE_MCP_PORT": "6060"
|
81
|
+
"OUTLINE_MCP_PORT": "6060",
|
82
|
+
"OUTLINE_MCP_HOST": "127.0.0.1"
|
82
83
|
}
|
83
84
|
}
|
84
85
|
}
|
@@ -89,6 +90,7 @@ Add the following MCP definition to your configuration:
|
|
89
90
|
- `OUTLINE_API_KEY` (_required_): your API key for outline, duh
|
90
91
|
- `OUTLINE_API_URL` (_optional_): Alternative URL for your outline API (if using an alt domain/self-hosting)
|
91
92
|
- `OUTLINE_MCP_PORT` (_optional_): Specify the port on which the server will run (default: 6060)
|
93
|
+
- `OUTLINE_MCP_HOST` (_optional_): Host/IP to bind the server to (default: 127.0.0.1). Use 0.0.0.0 to bind to all network interfaces
|
92
94
|
|
93
95
|
### Usage
|
94
96
|
|
package/build/index.js
CHANGED
@@ -85,7 +85,8 @@ app.post('/messages', async (req, res) => {
|
|
85
85
|
await sseTransport.handlePostMessage(req.raw, res.raw, req.body);
|
86
86
|
});
|
87
87
|
const PORT = process.env.OUTLINE_MCP_PORT ? parseInt(process.env.OUTLINE_MCP_PORT, 10) : 6060;
|
88
|
-
|
88
|
+
const HOST = process.env.OUTLINE_MCP_HOST || '127.0.0.1';
|
89
|
+
app.listen({ port: PORT, host: HOST }, (err, address) => {
|
89
90
|
if (err) {
|
90
91
|
console.error(err);
|
91
92
|
process.exit(1);
|