Basic MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Basic MCP Serverhello"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Basic MCP Server
A minimal Model Context Protocol (MCP) server demonstrating tools, resources, and prompts.
Built with Smithery SDK
Prerequisites
Smithery API key: Get yours at smithery.ai/account/api-keys
Getting Started
Install dependencies:
npm installStart development server:
npm run dev
Try the hello tool, history://hello-world resource, or greet prompt.
Development
Your code is organized as:
src/index.ts- MCP server with tools, resources, and promptssmithery.yaml- Runtime specification
Edit src/index.ts to add your own tools, resources, and prompts.
Build
npm run buildCreates bundled server in .smithery/
Deploy
Ready to deploy? Push your code to GitHub and deploy to Smithery:
Create a new repository at github.com/new
Initialize git and push to GitHub:
git add . git commit -m "Initial commit" git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git git push -u origin mainDeploy your server to Smithery at smithery.ai/new
Learn More
Latest Blog Posts
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/arjunkmrm/agentmail-smithery-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server