Skip to main content
Glama

Greeting & Image Generation MCP Server

by w4yn3sh33n
MCP_SETUP.mdβ€’3.8 kB
# 🌍 Multilingual Greeting MCP Server Setup ## Overview This MCP server provides multilingual greeting functionality in English, Korean, and Japanese. ## βœ… Configuration Status The MCP server has been configured in `.cursor/mcp.json` with the following settings: ```json { "mcpServers": { "greeting-server": { "command": "node", "args": ["/home/user/Editings/DEV/MCP-Multicampus/typescript-mcp-server-boilerplate/build/index.js"] } } } ``` ## πŸš€ How to Access in Cursor ### Step 1: Restart Cursor After saving the `.cursor/mcp.json` file, **restart Cursor completely** for the MCP server to be recognized. ### Step 2: Access MCP Settings 1. Open Cursor Settings (Cmd/Ctrl + ,) 2. Search for "MCP" or navigate to "MCP Servers" 3. You should see "greeting-server" listed ### Step 3: Enable the Server 1. Make sure the "greeting-server" is enabled/checked 2. The status should show as "Connected" or "Running" ## πŸ›  Available Tools & Resources ### `greeting` Tool **Parameters:** - `name` (required): Name of the person to greet - `language` (optional): Language for greeting - `en` - English (default) - `ko` - Korean - `ja` - Japanese **Example Usage:** ``` Use the greeting tool with name "Alice" and language "ko" ``` **Sample Responses:** - English: "Hello, Alice! Nice to meet you! πŸ‘‹" - Korean: "μ•ˆλ…•ν•˜μ„Έμš”, Aliceλ‹˜! λ§Œλ‚˜μ„œ λ°˜κ°‘μŠ΅λ‹ˆλ‹€! 😊" - Japanese: "こんにけは、Aliceγ•γ‚“οΌγŠδΌšγ„γ§γγ¦ε¬‰γ—γ„γ§γ™οΌπŸ™" ### πŸ“Š MCP Resources #### `server://info` Resource - **Description**: Basic server information - **Content**: Server name, version, supported languages, uptime, system info #### `server://detailed-info` Resource - **Description**: Comprehensive server capabilities and status - **Content**: - Server metadata and configuration - Tool capabilities and parameters - Runtime information (memory usage, uptime, Node.js version) - Usage examples for all supported languages - Server health status **Access Resources**: Resources can be accessed through Cursor's MCP interface to get detailed information about the server's capabilities and current status. ### πŸ“ MCP Prompts #### `code_review` Prompt - **Description**: Comprehensive code review prompt template - **Parameters**: - `code` (required): The code to review **Usage Example**: ``` Use the code_review prompt with code="function example() { return 'hello'; }" ``` **Review Areas Covered**: - πŸ—οΈ **Code Structure & Design**: Architecture patterns, modularity, SOLID principles - πŸ’Ž **Code Quality**: Naming conventions, duplication, error handling - ⚑ **Performance**: Algorithm efficiency, resource optimization - πŸ”’ **Security**: Input validation, authentication, data protection - πŸ“– **Readability & Maintainability**: Code clarity, documentation, testability, extensibility ## πŸ”§ Troubleshooting ### If the Server Doesn't Appear: 1. **Check file path**: Ensure the absolute path in `mcp.json` is correct 2. **Restart Cursor**: Completely close and reopen Cursor 3. **Check build**: Run `npm run build` to ensure the server is built 4. **Check permissions**: The build/index.js file should be executable ### If the Server Shows as "Disconnected": 1. Test the server manually: `node build/index.js` 2. Check for any error messages in Cursor's developer tools 3. Verify Node.js is available in your PATH ### Manual Test: ```bash cd /home/user/Editings/DEV/MCP-Multicampus/typescript-mcp-server-boilerplate node build/index.js ``` Should display: "λ‹€κ΅­μ–΄ 인사 MCP μ„œλ²„κ°€ μ‹œμž‘λ˜μ—ˆμŠ΅λ‹ˆλ‹€! (English, Korean, Japanese)" ## πŸ“‹ Next Steps 1. Restart Cursor 2. Check MCP Settings 3. Test the greeting tool with different languages 4. Enjoy multilingual greetings! πŸŽ‰

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/w4yn3sh33n/testmcpserver'

If you have feedback or need assistance with the MCP directory API, please join our Discord server