Skip to main content
Glama
portel-dev

NCP - Natural Context Provider

by portel-dev
shell.photon.schema.json2.83 kB
[ { "name": "shouldLoad", "description": "Check if this MCP should be loaded based on environment", "inputSchema": { "type": "object", "properties": { "command": { "type": "string" }, "cwd": { "type": "string" }, "timeout": { "type": "number" }, "env": { "type": "object" } }, "required": [ "command" ] } }, { "name": "execute", "description": "Execute a shell command", "inputSchema": { "type": "object", "properties": { "command": { "type": "string" }, "cwd": { "type": "string" }, "timeout": { "type": "number" }, "env": { "type": "object" } }, "required": [ "command" ] } }, { "name": "run", "description": "Run a command and return only stdout (convenience method)", "inputSchema": { "type": "object", "properties": { "command": { "type": "string" }, "cwd": { "type": "string" }, "timeout": { "type": "number" } }, "required": [ "command" ] } }, { "name": "which", "description": "Check if a command exists on the system", "inputSchema": { "type": "object", "properties": { "command": { "type": "string" } }, "required": [ "command" ] } }, { "name": "getEnv", "description": "Get environment variable value", "inputSchema": { "type": "object", "properties": { "variable": { "type": "string" } }, "required": [ "variable" ] } }, { "name": "ls", "description": "List files in a directory", "inputSchema": { "type": "object", "properties": { "path": { "type": "string" }, "all": { "type": "boolean" }, "long": { "type": "boolean" } } } }, { "name": "pwd", "description": "Get current working directory", "inputSchema": { "type": "object", "properties": { "path": { "type": "string" }, "command": { "type": "string" } }, "required": [ "path" ] } }, { "name": "cd", "description": "Change directory and execute command", "inputSchema": { "type": "object", "properties": { "path": { "type": "string" }, "command": { "type": "string" } }, "required": [ "path" ] } } ]

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/portel-dev/ncp'

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