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
Reorder testing docs (MCPJam first, Postman second) and minimize instructions
- Reorder sections to put MCPJam Inspector before Postman
- Minimize instructions and reference official documentation
- Verify all claims against official sources
- Update CORS section to correctly list MCPJam as browser-based
- Reduce MCPJam section from ~40 to ~15 lines
- Reduce Postman section from ~65 to ~25 lines
Co-authored-by: Bill Easton <strawgate@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/deployment/http.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,9 +154,9 @@ CORS (Cross-Origin Resource Sharing) is needed when JavaScript running in a web
154
154
155
155
Browser-based MCP clients that need CORS include:
156
156
157
+
-**MCPJam Inspector** - Local browser-based tool for testing MCP servers (see [Testing guide](/patterns/testing#testing-with-mcpjam-inspector))
157
158
-**MCP Inspector** - Browser-based debugging tool for testing MCP servers
158
-
-**MCPJam Inspector** - Browser-based tool for testing and debugging MCP servers (see [Testing guide](/patterns/testing#testing-with-mcpjam-inspector))
159
-
-**Custom browser-based MCP clients** - If you're building a web app that directly connects to MCP servers
159
+
-**Custom browser-based MCP clients** - Web apps that directly connect to MCP servers
160
160
161
161
For these scenarios, add CORS middleware with the specific headers required for MCP protocol:
The [FastMCP Repository contains thousands of tests](https://github.com/jlowin/fastmcp/tree/main/tests) for the FastMCP Client and Server. Everything from connecting to remote MCP servers, to testing tools, resources, and prompts is covered, take a look for inspiration!
104
104
</Tip>
105
105
106
-
## Testing with Postman
107
-
108
-
Postman now provides native support for the Model Context Protocol, allowing you to interactively test and debug your FastMCP servers through its visual interface. This is particularly useful for manual testing, exploring your server's capabilities, and validating behavior during development.
109
-
110
-
### Prerequisites
111
-
112
-
To test your FastMCP server with Postman, you'll need:
113
-
114
-
1.**A running FastMCP server over HTTP** - Postman connects to servers via HTTP transport. See the [HTTP Deployment guide](/deployment/http) for setup instructions.
115
-
116
-
2.**Postman desktop application** - MCP support is available in the Postman desktop app. [Download Postman](https://www.postman.com/downloads/) if you haven't already.
Your server is now accessible at `http://localhost:8000/mcp`.
142
-
143
-
### Making MCP Requests
144
-
145
-
Postman's MCP request feature allows you to:
146
-
147
-
-**List available tools, resources, and prompts** - Discover what your server exposes
148
-
-**Call tools with arguments** - Test tool execution with different inputs
149
-
-**Read resources** - Verify resource content and templates
150
-
-**Execute prompts** - Test prompt responses
151
-
-**Debug server responses** - Inspect request/response details and error messages
152
-
153
-
In Postman, create a new MCP request and point it to your server's URL (`http://localhost:8000/mcp`). Use the Postman interface to interact with your server's capabilities.
154
-
155
-
For detailed instructions on using Postman's MCP features, see [Postman's MCP documentation](https://learning.postman.com/docs/postman-ai/mcp-requests/overview).
156
-
157
-
### When to Use Postman vs Pytest
158
-
159
-
**Use Postman when:**
160
-
- Exploring your server's capabilities interactively
161
-
- Manually testing specific scenarios during development
162
-
- Debugging unexpected behavior or error messages
163
-
- Demonstrating server functionality to team members
164
-
- Working on a server that's already deployed remotely
165
-
166
-
**Use Pytest when:**
167
-
- Building automated test suites for CI/CD pipelines
168
-
- Testing multiple scenarios with parameterized inputs
169
-
- Ensuring consistent behavior across code changes
170
-
- Writing regression tests for bug fixes
171
-
- Validating complex assertions on response data
172
-
173
-
Both approaches are complementary. Use Postman for interactive exploration and debugging, and Pytest for automated, repeatable testing as part of your development workflow.
174
-
175
106
## Testing with MCPJam Inspector
176
107
177
-
MCPJam Inspector is a local-first developer tool that provides a visual interface for testing, debugging, and inspecting MCP servers. It functions like "Postman for MCP" and is particularly useful for exploring server capabilities, testing tools with different parameters, and debugging protocol-level interactions.
178
-
179
-
### Prerequisites
180
-
181
-
To test your FastMCP server with MCPJam Inspector, you'll need:
108
+
[MCPJam Inspector](https://www.mcpjam.com/) is a browser-based developer tool for testing and debugging MCP servers locally. It supports all transport protocols (STDIO, HTTP, and SSE), provides protocol-level inspection, and includes an LLM Playground for testing your server with real AI models.
182
109
183
-
1.**A running FastMCP server** - MCPJam Inspector supports all transport protocols (STDIO, HTTP, and SSE). See the [HTTP Deployment guide](/deployment/http) for HTTP transport setup.
110
+
### Getting Started
184
111
185
-
2.**MCPJam Inspector running locally** - The inspector runs as a local web application at `http://127.0.0.1:6274` in your browser. Visit [MCPJam](https://www.mcpjam.com/) to get started.
112
+
Install and run MCPJam Inspector locally:
186
113
187
-
### Setting Up MCPJam Inspector
188
-
189
-
Deploy your FastMCP server with your preferred transport. For HTTP:
Your server is now accessible at `http://localhost:8000/mcp`.
118
+
The inspector runs at `http://127.0.0.1:6274` and requires Node.js 20+. For detailed setup and usage instructions, see the [official MCPJam documentation](https://docs.mcpjam.com/).
119
+
120
+
### Key Features
211
121
212
-
### Connecting to Your Server
122
+
-**Protocol Support** - Connect via STDIO, HTTP, or SSE transport
123
+
-**Server Testing** - Browse and execute tools, resources, and prompts
124
+
-**LLM Playground** - Test your server integrated with real AI models (Claude, GPT, Ollama)
125
+
-**OAuth Debugging** - Debug OAuth flows with detailed protocol inspection
126
+
-**JSON-RPC Logs** - View real-time protocol messages for debugging
213
127
214
-
In MCPJam Inspector:
128
+
## Testing with Postman
215
129
216
-
1. Navigate to the local dashboard at `http://127.0.0.1:6274`
217
-
2. Click the "Add Server" button
218
-
3. Select your connection type (STDIO, HTTP, or SSE)
219
-
4. Enter your server name and connection details (URL, credentials if needed)
220
-
5. Confirm to establish the connection
130
+
[Postman](https://www.postman.com/) provides native support for the Model Context Protocol, allowing you to test MCP servers through its visual interface. Postman is particularly useful when integrating MCP servers into API workflows or collaborating with teams already using Postman for API testing.
221
131
222
-
For HTTP servers with authentication, include your credentials in the connection setup. MCPJam Inspector supports OAuth debugging for OAuth-protected servers.
132
+
### Getting Started
223
133
224
-
### Testing Server Capabilities
134
+
1. Open Postman and create a new workspace
135
+
2. Select **New** > **MCP**
136
+
3. Choose your transport (STDIO or HTTP)
137
+
4. Enter your server connection details
138
+
5. Click **Load Methods** to discover available capabilities
225
139
226
-
MCPJam Inspector provides several testing features:
140
+
For complete instructions, see [Postman's MCP documentation](https://learning.postman.com/docs/postman-ai/mcp-requests/overview).
227
141
228
-
-**Tools Tab** - Browse available tools, fill in parameter values, execute calls, and review structured response data
229
-
-**Resources Tab** - Inspect and browse available resources and resource templates
230
-
-**Prompts Tab** - Test prompt templates with different inputs
231
-
-**LLM Playground** - Connect your server to real AI models (Claude, GPT, Ollama) and test full conversational flows
232
-
-**JSON-RPC Logs** - View real-time protocol messages between the inspector and your server for low-level debugging
142
+
### Key Features
233
143
234
-
The LLM Playground is particularly powerful—it lets you test how your MCP server behaves when integrated with actual language models, helping you validate tool descriptions, parameter schemas, and response formats in realistic scenarios.
144
+
-**Interactive Testing** - Browse and execute tools, resources, and prompts
145
+
-**Collection Support** - Save and organize MCP requests in collections
146
+
-**Export Configurations** - Export server configs for Claude Desktop, VS Code, or Cursor
147
+
-**Team Collaboration** - Share MCP requests and collections with your team
235
148
236
-
### When to Use MCPJam Inspector vs Other Tools
149
+
### When to Use Each Tool
237
150
238
151
**Use MCPJam Inspector when:**
239
-
- Testing protocol-level interactions and debugging JSON-RPC messages
240
-
- Validating server behavior across different transport protocols (STDIO, HTTP, SSE)
241
-
- Testing OAuth authentication flows and debugging authorization issues
242
-
- Exploring how your server integrates with different LLM models
243
-
- Working locally without deploying to a remote environment
152
+
- Testing locally with protocol-level debugging
153
+
- Validating OAuth flows and authentication
154
+
- Testing with real LLM models in the playground
155
+
- Working with any transport (STDIO, HTTP, SSE)
244
156
245
157
**Use Postman when:**
246
-
- Testing remote HTTP servers that are already deployed
247
-
- Sharing test requests with team members via Postman collections
248
-
- Working in an environment where you're already using Postman for API testing
158
+
- Integrating MCP testing into existing API workflows
159
+
- Collaborating with teams using Postman
160
+
- Managing MCP requests in collections
161
+
- Exporting configurations for MCP clients
249
162
250
163
**Use Pytest when:**
251
-
- Building automated test suites for CI/CD pipelines
164
+
- Building automated test suites for CI/CD
252
165
- Testing multiple scenarios with parameterized inputs
253
-
- Ensuring consistent behavior across code changes
254
166
- Writing regression tests for bug fixes
167
+
- Ensuring consistent behavior across code changes
255
168
256
-
All three approaches are complementary. Use MCPJam Inspector for local, protocol-level testing and LLM integration validation; Postman for remote HTTP testing and collaboration; and Pytest for automated, repeatable testing in your development workflow.
169
+
All three approaches are complementary. Use MCPJam Inspector for local protocol-level testing, Postman for API workflow integration, and Pytest for automatedtesting.
0 commit comments