@last9/mcp-server 0.1.0 → 0.1.1

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 +49 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,18 +1,24 @@
1
1
  # Last9 MCP Server
2
2
 
3
- A [Model Context Protocol](https://modelcontextprotocol.io/) server implementation for [Last9](https://last9.io) that enables AI agents to query your data using Last9.
3
+ ![last9 mcp demo](mcp-demo.gif)
4
+
5
+ A [Model Context Protocol](https://modelcontextprotocol.io/) server implementation for [Last9](https://last9.io/mcp/) that enables AI agents to seamlessly bring real-time production context — logs, metrics, and traces — into your local environment to auto-fix code faster.
6
+
7
+ - [View demo](https://www.youtube.com/watch?v=AQH5xq6qzjI)
8
+ - Read our [announcement blog post](https://last9.io/blog/launching-last9-mcp-server/)
4
9
 
5
10
  ## Status
6
11
 
7
- Works with Claude desktop app. Implements two MCP [tools](https://modelcontextprotocol.io/docs/concepts/tools):
12
+ Works with Claude desktop app, or Cursor, Windsurf, and VSCode (Github Copilot) IDEs. Implements two MCP [tools](https://modelcontextprotocol.io/docs/concepts/tools):
8
13
 
9
- - get_exceptions: Get list of execeptions
10
- - get_servicegraph: Get Service graph for an endpoint from the exception
14
+ - `get_exceptions`: Get list of execeptions
15
+ - `get_servicegraph`: Get Service graph for an endpoint from the exception
16
+ - `get_logs`: Get logs filtered by service name and/or severity level
11
17
 
12
18
 
13
19
  ## Installation
14
20
 
15
- You can install the Last9 MCP server using either
21
+ You can install the Last9 Observability MCP server using either:
16
22
 
17
23
  ### Homebrew
18
24
  ```
@@ -24,7 +30,6 @@ brew install last9-mcp
24
30
  ```
25
31
 
26
32
  ### NPM
27
-
28
33
  ```bash
29
34
  # Install globally
30
35
  npm install -g @last9/mcp-server
@@ -42,10 +47,18 @@ The service requires the following environment variables:
42
47
  - `LAST9_AUTH_TOKEN`: Authentication token for Last9 MCP server (required)
43
48
  - `LAST9_BASE_URL`: Last9 API URL (required)
44
49
 
50
+ Signup at [Last9](https://app.last9.io/) and get your env variable keys [here](https://app.last9.io/integrations?integration=OpenTelemetry).
51
+
45
52
  ## Usage with Claude Desktop
46
53
 
47
54
  Configure the Claude app to use the MCP server:
48
55
 
56
+ 1. Open the Claude Desktop app
57
+ 2. Go to Settings, then Developer, click Edit Config
58
+ 3. Open the `claude_desktop_config.json` file
59
+ 4. Copy and paste the server config to your existing file, then save
60
+ 5. Restart Claude
61
+
49
62
  ```bash
50
63
  code ~/Library/Application\ Support/Claude/claude_desktop_config.json
51
64
  ```
@@ -68,10 +81,36 @@ code ~/Library/Application\ Support/Claude/claude_desktop_config.json
68
81
 
69
82
  Configure Cursor to use the MCP server:
70
83
 
71
- 1. Open Cursor settings
72
- 2. Navigate to MCP
73
- 3. Click Add New Global Configuration
74
- 4. Add following stanza. If you already have a MCP server configured, only add the last9 stanza.
84
+ 1. Navigate to Settings, then Cursor Settings
85
+ 2. Select MCP on the left
86
+ 3. Click Add new global MCP server at the top right
87
+ 4. Copy and paste the server config to your existing file, then save
88
+ 5. Restart Cursor
89
+
90
+ ```json
91
+ {
92
+ "mcpServers": {
93
+ "last9": {
94
+ "command": "/opt/homebrew/bin/last9-mcp",
95
+ "env": {
96
+ "LAST9_AUTH_TOKEN": "your_auth_token",
97
+ "LAST9_BASE_URL": "https://otlp.last9.io"
98
+ }
99
+ }
100
+ }
101
+ }
102
+ ```
103
+
104
+ ## Usage with Windsurf
105
+
106
+ Configure Cursor to use the MCP server:
107
+
108
+ 1. Open Windsurf
109
+ 2. Go to Settings, then Developer
110
+ 3. Click Edit Config
111
+ 4. Open the `windsurf_config.json` file
112
+ 5. Copy and paste the server config to your existing file, then save
113
+ 6. Restart Windsurf
75
114
 
76
115
  ```json
77
116
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@last9/mcp-server",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Last9 MCP Server - Model Context Protocol server implementation for Last9",
5
5
  "bin": {
6
6
  "last9-mcp": "./bin/cli.js"