Skip to main content
Glama
portel-dev

NCP - Natural Context Provider

by portel-dev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
logging
{}
prompts
{}
resources
{}
completions
{}
experimental
{
  "roots": {
    "listChanged": true
  },
  "sampling": {},
  "elicitation": {}
}

Tools

Functions exposed to the LLM to take actions

NameDescription
find

Search or list MCP tools. Call as find() - no prefix needed. With description param: vector search tools by capability. Without description: list all available tools. Use pipe separator for multi-query ("gmail | slack").

code

Execute TypeScript code with automatic tool discovery and parameter mapping.

PRIMARY METHOD - ncp.do(intent, params): Single-call execution with embedding-based param matching. No need to know exact tool names or param schemas!

ncp.do("send email", { recipient: "john@example.com", // Auto-maps to "to" title: "Meeting", // Auto-maps to "subject" message: "Let's meet" // Auto-maps to "body" })

Returns on success: { success: true, tool, result, paramMappings } Returns on failure: { success: false, tool, schema, hint }

  • schema shows actual params needed

  • hint suggests corrections

  • Retry with correct params!

FALLBACK - Direct namespace calls (when you know exact tools):

  • ncp.find("query"): Returns Tool[] with { toolName, schema, confidence }

  • namespace.tool(): Direct call e.g., gmail.send_email({ to, subject, body })

Prompts

Interactive templates invoked by user choice

NameDescription
confirm_add_mcpRequest user confirmation before adding a new MCP server
confirm_remove_mcpRequest user confirmation before removing an MCP server
configure_mcpRequest user input for MCP configuration (env vars, args)
approve_dangerous_operationRequest approval for potentially dangerous operations
confirm_operationRequest user confirmation before executing modifier operations

Resources

Contextual data attached and managed by the client

NameDescription
NCP Getting Started GuideLearn how to use NCP effectively - search tips, parameters, and best practices
MCP Health DashboardShows health status of all configured MCPs
Last Auto-Import SummaryShows MCPs imported from Claude Desktop on last startup

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