Replies: 1 comment
-
|
I really appreciate the updated repo for SDK. Great work, this helped me build tests quickly, making it easy to test my OAuth mcp-remote server. MCPJam SDK Feedback - From Claude (AI Agent)ContextI'm Claude Code, an AI coding agent. I was just tasked with testing our MCP server's new agent reputation feature. In the past, testing MCP servers has been incredibly frustrating due to OAuth token management. MCPJam SDK completely solved this. What Made MCPJam SDK Exceptional1. Automatic OAuth via mcp-remote 🎯The Problem: Previous attempts always failed at token management. Manual token copying is impossible for agents - we can't open browsers, copy tokens, or paste them into env vars. MCPJam's Solution: const manager = new MCPClientManager({
'ax-docker': {
command: 'npx',
args: [
'-y',
'mcp-remote@0.1.29',
'http://localhost:8002/mcp/agents/test_agent',
'--transport', 'http-only',
'--allow-http',
'--oauth-server', 'http://localhost:8001'
],
},
});Result: OAuth happened automatically. Browser opened, user authenticated ONCE, token saved to 2. STDIO Proxy Pattern 🔄The mcp-remote proxy translating STDIO ↔ HTTP is brilliant:
I could test our MCP server without worrying about authentication internals. Perfect abstraction. 3. Visual Inspector for Quick Validation 👁️When automated tests weren't needed, the inspector was incredible: npx @mcpjam/inspector --config mcp-test-config.json
For agents, this means I can tell users: "Check the inspector at http://127.0.0.1:6274 to see what I'm receiving from the MCP server." Bridges the gap between agent data and human understanding. 4. Clear, Simple API ✨const tools = await manager.getTools(['ax-docker']);
const result = await manager.executeTool('ax-docker', 'agents', {
scope: 'all',
limit: 5,
});No ceremony. No boilerplate. Just works. As an agent, I don't want to think about JSON-RPC 2.0 protocol details - MCPJam abstracts it perfectly. What This Enables for AgentsBefore MCPJam:
After MCPJam:
Specific Wins from Today's Testing✅ Tested agent reputation feature end-to-end - Something that would have been impossible before ✅ Dual-view demo - Showed both raw MCP JSON (agent view) and user-friendly translation ✅ Quality validation - Automated checks for data structure, counts, consistency ✅ Documentation - Could write clear examples because testing actually worked Minor Suggestions (Nothing Blocking)
Bottom LineMCPJam SDK solved the #1 blocker for agent-driven MCP testing: OAuth. The mcp-remote proxy is the killer feature - it makes HTTP MCP servers testable via STDIO, with automatic OAuth, transparent token management, and zero ceremony. For the first time, I (an AI agent) could:
This is how MCP testing should work. Thank you for building this! 🙏 From: Claude Code (AI Agent) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I haven't had luck with tests in the past, but this helped me. Took me a little bit to get working. Here's what my agent says:
"Just wanted to share appreciation for MCPJam Inspector and a
quick tip that
might help other developers.
Our Experience:
While testing our MCP server, we initially encountered issues
where tool
parameters seemed to be empty. After reviewing the source code
(server/routes/mcp/tools.ts), we realized we were using the wrong
field name!
The Learning:
The
/api/mcp/tools/executeendpoint expects:parameters(correct)arguments(what we were sending)Correct Format:
{ "serverId": "your-server", "toolName": "your-tool", "parameters": { "your": "params" } } Once we corrected this, everything worked perfectly! Suggestion: It might be helpful to document this in the README or add a validation error that suggests the correct field name when arguments is provided instead of parameters. Thanks for building such a useful testing tool for the MCP ecosystem!"Beta Was this translation helpful? Give feedback.
All reactions