Skip to main content
Glama

MCP Echo Env

by PabloLION
package.json1.24 kB
{ "name": "mcp-echo-env", "version": "1.0.2", "description": "Create a minimal MCP server example that demonstrates it can read and return environment variables (e.g., `PWD` or `WORKSPACE_SLUG`). This serves as a proof-of-concept for verifying that environment variables passed by an MCP client are accessible from within an MCP server.", "main": "index.js", "type": "module", "homepage": "https://github.com/PabloLION/mcp-echo-env", "repository": { "type": "git", "url": "https://github.com/PabloLION/mcp-echo-env.git" }, "bugs": { "url": "https://github.com/PabloLION/mcp-echo-env/issues" }, "bin": { "mcp-server-echo-env": "./index.js" }, "scripts": { "start": "node index.js", "dev": "node --watch index.js", "test": "node --test", "lint": "eslint .", "lint:md": "markdownlint README instructions.md TODO.md CHANGELOG.md", "check": "pnpm lint && pnpm lint:md && pnpm test" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "@modelcontextprotocol/sdk": "^1.20.1", "zod": "^3.25.76" }, "devDependencies": { "@eslint/js": "^9.38.0", "eslint": "^9.38.0", "globals": "^16.4.0", "markdownlint-cli": "^0.45.0" } }

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/PabloLION/mcp-echo-env'

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