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
Copy file name to clipboardExpand all lines: home/modules/ROOT/pages/mcp-setup.adoc
+47-3Lines changed: 47 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ Add the following to your `.cursor/mcp.json` file:
20
20
{
21
21
"mcpServers": {
22
22
"redpanda": {
23
+
"type": "http",
23
24
"url": "https://docs.redpanda.com/mcp"
24
25
}
25
26
}
@@ -98,6 +99,7 @@ Add this configuration:
98
99
{
99
100
"mcpServers": {
100
101
"redpanda": {
102
+
"type": "http",
101
103
"url": "https://docs.redpanda.com/mcp"
102
104
}
103
105
}
@@ -110,6 +112,26 @@ For more details, see the https://support.anthropic.com/en/articles/9487310-desk
110
112
--
111
113
====
112
114
115
+
== Intended use
116
+
117
+
This public MCP endpoint is designed for:
118
+
119
+
* Evaluation and testing
120
+
* IDE-based assistance and ad-hoc queries
121
+
* Individual developer productivity
122
+
123
+
*Not suitable for:*
124
+
125
+
* High-volume automation or batch processing
126
+
* Production services or runbooks
127
+
* CI/CD pipelines or scheduled jobs
128
+
129
+
=== Technical specifications
130
+
131
+
* *Transport*: HTTP with Server-Sent Events (SSE) streaming support
132
+
* *Rate limit*: 60 requests per 15-minute window per client
133
+
* *Authentication*: None required for public endpoint
134
+
113
135
== Other AI tools
114
136
115
137
Any tool that supports MCP servers can connect using the following URL:
@@ -134,14 +156,23 @@ Once connected, you can ask context-aware questions about Redpanda from within y
134
156
135
157
== Usage limits
136
158
137
-
To ensure fair use and performance, the server enforces a rate limit of **60 questions per 15-minute window**.
159
+
To ensure fair use and performance for all users, the public MCP endpoint enforces a rate limit of **60 requests per 15-minute window** per client.
160
+
161
+
This limit is suitable for:
138
162
139
-
If you exceed the limit, you receive an HTTP 429 response. Wait a few minutes before retrying.
163
+
* Individual developer IDE usage
164
+
* Ad-hoc documentation queries
165
+
* Evaluation and testing
140
166
141
-
.Expected response
167
+
If you exceed the limit, you receive an HTTP 429 response with rate limit headers. Wait until the reset time before retrying.
168
+
169
+
.Rate limit exceeded response
142
170
[source,text]
143
171
----
144
172
HTTP 429 Too Many Requests
173
+
RateLimit-Limit: 60
174
+
RateLimit-Remaining: 0
175
+
RateLimit-Reset: <timestamp>
145
176
----
146
177
147
178
== Troubleshooting
@@ -160,6 +191,19 @@ HTTP 429 Too Many Requests
160
191
* Try running **MCP: Reset Cached Tools** from the Command Palette.
161
192
* Check the Output panel (*View* > *Output* > *MCP*) for error messages.
162
193
194
+
=== Configuration issues
195
+
196
+
* Ensure `"type": "http"` is specified in your configuration for HTTP-based MCP servers.
197
+
* Some MCP clients may have issues with SSE streaming. If you experience connection problems, verify that your client supports HTTP-based MCP servers with Server-Sent Events (SSE).
198
+
* Check that your client's Accept headers include both `application/json` and `text/event-stream`.
199
+
200
+
=== Rate limiting
201
+
202
+
If you're building automation or high-volume integrations and hitting rate limits frequently:
203
+
204
+
* The public endpoint's rate limits (60 requests per 15 minutes) are intentionally restrictive for fair use.
205
+
* Consider implementing caching on your side to reduce duplicate queries.
206
+
163
207
=== Other issues
164
208
165
209
Check the https://github.com/modelcontextprotocol/servers[MCP GitHub repository^] for additional troubleshooting guidance or https://github.com/redpanda-data/docs-site/issues[report an issue^] with our documentation.
description: 'Search the official Redpanda documentation and return the most relevant sections from it for a user query. Each returned section includes the url and its actual content in markdown. Use this tool to for all queries that require Redpanda knowledge.',
83
-
inputSchema: {question: z.string()},
82
+
description: 'Search the official Redpanda documentation and return the most relevant sections from it for a user query. Each returned section includes the url and its actual content in markdown. Use this tool for all queries that require Redpanda knowledge. Results are ordered by relevance, with the most relevant result returned first. Returns up to 5 results by default to manage token usage. Use top_k parameter (1-15) to request more or fewer results.',
83
+
inputSchema: {
84
+
question: z.string(),
85
+
top_k: z.number().int().min(1).max(15).optional().describe('Number of results to return (1-15). Defaults to 5 for optimal token usage.')
86
+
},
84
87
},
85
88
async(args)=>{
86
89
constq=(args?.question??'').trim();
@@ -89,6 +92,9 @@ server.registerTool(
89
92
content: [{type: 'text',text: JSON.stringify({error: 'missing_query',message: 'Provide a non-empty "question".'})}]
90
93
};
91
94
}
95
+
// Extract top_k parameter with default of 5, clamped to valid range
0 commit comments