Simple test automation for MCP server implementations #511
steviec
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
What would you like to share?
I built a few MCP servers that worked fine when when calling the tools directly, but would fail in a bunch of different ways when LLMs tried to use them. I didn't want to use a language-specific test library since I have MCP servers in a variety of languages, so I built a language-agnostic tool called
mcp-server-tester
.It's a CLI tool you can run with
npx mcp-server-tester
like the Inspector, and you define the tests in a pretty simple YAML format. I'm using it all the time for my own MCP server development now.Here's example output from one of my MCP server test suites:
Take a look at the github page for more info. Hope this helps other devs!
Relevant Links
https://github.com/steviec/mcp-server-tester
Beta Was this translation helpful? Give feedback.
All reactions