- Home
- MCP servers
- MCP Server Test
MCP Server Test
- other
1
GitHub Stars
other
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"xfg-studio-mcp-server-test": {
"command": "java",
"args": [
"-Dspring.ai.mcp.server.stdio=true",
"-jar",
"/Users/fuzhengwei/Applications/apache-maven-3.8.4/repository/cn/bugstack/mcp/mcp-server-test/1.0-SNAPSHOT/mcp-server-test-1.0-SNAPSHOT.jar"
]
}
}
}You can run a local MCP server to expose endpoints for testing and integration. This server uses a Java JAR and an explicit system property to enable stdio mode, allowing MCP clients to connect directly to the running process for quick development and validation.
How to use
To use this MCP server, start it in stdio mode and connect your MCP client to the running process. The server will listen for MCP requests and respond with the appropriate data and actions defined by its capabilities. You can start it once you have the JAR available on your machine, then point your MCP client to the local process and begin sending requests. If you need to restart, stop the process and run the same command again.
How to install
Prerequisites you need installed on your machine before starting the server.
Java Runtime Environment installed (Java 11+ recommended). Verify with java -version.
Place the server JAR on your machine if it is not already present in the path shown below.
Additional sections
To run the MCP server locally in stdio mode, execute the full command shown below. This starts the Java process with stdio enabled and loads the provided MCP server JAR.
{
"mcpServers": {
"mcp_server_test": {
"command": "java",
"args": [
"-Dspring.ai.mcp.server.stdio=true",
"-jar",
"/Users/fuzhengwei/Applications/apache-maven-3.8.4/repository/cn/bugstack/mcp/mcp-server-test/1.0-SNAPSHOT/mcp-server-test-1.0-SNAPSHOT.jar"
]
}
}
}
Notes and troubleshooting
If the server fails to start, double-check the Java command and the path to the JAR. Ensure there is sufficient memory and that the JAR is not corrupted. If you need to restart, stop the running process and re-run the command exactly as shown above.