{
  "markdown": "# mcp-first-server\n\nA Model Context Protocol (MCP) server built with the official MCP SDK, available both as a\nlocal stdio server (for Claude Desktop) and as a cloud-deployed HTTP server reachable over the\nnetwork.\n\n**Live demo:** https://mcp-first-server.onrender.com (note: free-tier hosting, first request\nafter inactivity may take up to ~50s to wake the instance)\n\n## Tools\n- **get_quote** — returns a random motivational quote.\n- **get_crypto_price** — fetches the live USD price of any cryptocurrency (via CoinGecko).\n\n## Two ways to run this server\n- `server.js` — stdio transport, for local use with Claude Desktop or any MCP client that\n  spawns a local process.\n- `server-http.js` — StreamableHTTP transport wrapped in Express, for cloud/network deployment\n  (this is what's running at the live demo URL above). Listens on `process.env.PORT`.\n\n## Local setup\n```\nnpm install\nnpm start          # runs server.js (stdio)\nnode server-http.js  # or run the HTTP version locally\n```\n\n## Try the live HTTP endpoint\n```\ncurl -X POST https://mcp-first-server.onrender.com/mcp \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Accept: application/json, text/event-stream\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/list\"}'\n```\n\n## Tech\nNode.js, [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/sdk), Express,\nZod for schema validation. Deployed on Render.\n\n## License\nMIT — see [LICENSE](./LICENSE).\n\n## Author\nBuilt by James Ganobi.",
  "bytes": 1456,
  "sha": "c9bdd3480cf727a68b57234530e1805d2f9330f901029ea0374d3ec6bff494ef",
  "repo_slug": "jgpas/mcp-first-server",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_jgpas_mcp_first_server_a5a23ba9/readme"
}