You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 14, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+55-14Lines changed: 55 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
1
# DeepSource MCP Server
2
2
3
-
A TypeScript-based server implementation for DeepSource MCP (Mission Control Panel).
3
+
A Model Context Protocol server implementation for DeepSource integration. This server allows AI models to interact with DeepSource's API to list projects and retrieve issues.
4
4
5
5
## Prerequisites
6
6
7
7
- Node.js (v16 or higher recommended)
8
8
- pnpm (v10.7.0 or higher)
9
+
- DeepSource API Key
9
10
10
11
## Installation
11
12
@@ -20,6 +21,11 @@ cd deepsource-mcp-server
20
21
pnpm install
21
22
```
22
23
24
+
3. Set up your environment variables:
25
+
```bash
26
+
export DEEPSOURCE_API_KEY=your_api_key_here
27
+
```
28
+
23
29
## Development
24
30
25
31
To start the development server with hot-reload:
@@ -52,24 +58,59 @@ To run the compiled version:
52
58
pnpm run start
53
59
```
54
60
55
-
## Project Structure
61
+
## Server Endpoints
62
+
63
+
The server exposes two HTTP endpoints:
56
64
65
+
-`GET /sse` - Server-Sent Events endpoint for MCP clients to connect
66
+
-`POST /messages` - Endpoint for MCP clients to send messages
67
+
68
+
## Available Tools
69
+
70
+
### list-projects
71
+
72
+
Lists all DeepSource projects accessible with your API key.
73
+
74
+
Example usage:
75
+
```typescript
76
+
const result =awaitclient.callTool({
77
+
name: "list-projects",
78
+
arguments: {}
79
+
});
57
80
```
58
-
deepsource-mcp-server/
59
-
├── src/ # Source files
60
-
├── dist/ # Compiled files (generated)
61
-
├── node_modules/ # Dependencies
62
-
├── package.json # Project configuration
63
-
├── tsconfig.json # TypeScript configuration
64
-
└── README.md # This file
81
+
82
+
### get-project-issues
83
+
84
+
Retrieves all issues for a specific DeepSource project.
85
+
86
+
Example usage:
87
+
```typescript
88
+
const result =awaitclient.callTool({
89
+
name: "get-project-issues",
90
+
arguments: {
91
+
projectKey: "your-project-key"
92
+
}
93
+
});
65
94
```
66
95
67
-
## Scripts
96
+
## Available Prompts
68
97
69
-
-`pnpm run dev` - Run the TypeScript code directly using ts-node
70
-
-`pnpm run build` - Compile TypeScript to JavaScript
71
-
-`pnpm run start` - Run the compiled JavaScript
72
-
-`pnpm run watch` - Watch for changes and recompile automatically
98
+
-`list-projects` - Prompt for listing all projects
99
+
-`get-project-issues` - Prompt for getting issues from a specific project
0 commit comments