1. Conduid
  2. Browser
  3. portel-dev/ncp
MCP server · Browser

portel-dev/ncp

Natural Context Provider (NCP). Your MCPs, supercharged. Find any tool instantly, load on demand, run on schedule, ready for any client. Smart loading saves tokens and energy.

Unclaimed Custom license browser
56Fair

Scored 21 hours ago · breakdown

About portel-dev/ncp

portel-dev/ncp is an MCP server published by portel-dev in the Browser category: natural Context Provider (NCP). Your MCPs, supercharged. Find any tool instantly, load on demand, run on schedule, ready for any client. Smart loading saves tokens and energy. Conduid read 32 tools from its source: add, code, confidence, create, delete, doctor and 26 more. No package is published for it, so it installs from a source checkout.

The repository has 102 stars and 10 forks, and its last commit was on 2 Nov 2026. The latest release is 2.3.1 (12 Jun 2026): Bug Fixes close symlink escape in sandboxed filesystem (11ac189) detect MCP filter from loaded MCPs instead of hardcoded list (69f6d9e) harden code-mode sandbox edge cas… It follows 2.3.0 (6 Mar 2026), and the 5 most recent releases go back to 1.8.0 (14 Dec 2025). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include browser.

Install

From source
git clone https://github.com/portel-dev/ncp

Tools (32)

addAdd MCP server(s) to NCP with smart auto-detection of input type. Supports multiple modes: (1) SINGLE: Add one MCP from registry or manual config (e.g., "github", "canva"). (2) BULK: Pipe-separated names for multiple MCPs (e.g., "gmail | slack | github"). (3) FILE IMPORT: Path to config file or Photon (e.g., "~/backup.json", "./calculator.photon.ts"). (4) URL: HTTP/SSE server URL (e.g., "https://mcp.example.com") or Photon file URL (e.g., "https://example.com/calc.photon.ts"). (5) CLIPBOARD: Use special value "clipboard" to import from clipboard (auto-detects JSON config or TypeScript Photon). For uncertain names, use "find" method first to discover available MCPs.
ParameterTypeDescription
argsarrayOptional. Command arguments for stdio servers. Only for manual single-MCP configuration.
commandstringOptional. Command for stdio servers (e.g., "npx", "python"). Only for manual single-MCP configuration when mcp_name is a simple name.
mcp_name *stringREQUIRED. Smart parameter that auto-detects mode: (1) Single name: "github" → registry lookup or manual. (2) Pipe-separated: "gmail | slack" → bulk install from registry. (3) File path: "~/config.json" (JSON config) or "./calculator.photon.ts" (Photon) → import from file. (4) URL: "https://mcp.example.com" (HTTP/SSE server) or "https://example.com/calc.photon.ts" (Photon download). (5) "clipboard" → import from clipboard (auto-detects JSON or TypeScript). Pre-fill based on user intent, or use "find" method to discover MCP names first.
profilestringTarget profile name (default: "all")
transportstringOptional transport for a new HTTP server (default: streamableHttp). Use sse for legacy SSE endpoints.
urlstringOptional. URL for HTTP/SSE servers. Only for manual single-MCP configuration when mcp_name is a simple name (overrides auto-detected URL mode).
codeExecute 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 })
ParameterTypeDescription
code *stringTypeScript code. Use ncp.do("intent", { params }) for automatic tool discovery and param mapping.
timeoutnumberTimeout in ms (default: 30000, max: 300000)
confidenceMatch confidence (0.0-1.0)
createCreate scheduled job with cron/natural language timing.
ParameterTypeDescription
activebooleanStart active (default: true) or paused
descriptionstringJob description
endDatestringStop after this date (ISO 8601)
fireOncebooleanExecute once then stop (default: false)
maxExecutionsnumberMax executions before stopping
name *stringJob name
parameters *objectTool parameters
schedule *stringSchedule: "in 5min", "every day at 9am", cron (0 9 * * *), or RFC 3339
skipValidationbooleanSkip validation (not recommended)
testRunbooleanTest execute before scheduling
timezonestringIANA timezone (default: ${Intl.DateTimeFormat().resolvedOptions().timeZone}). Ignored for RFC 3339.
tool *stringMCP tool (format: mcp:tool)
deleteDelete scheduled job.
ParameterTypeDescription
job_id *stringJob ID or name
doctorRun diagnostics on NCP system health and MCP configurations. Read-only - reports issues without making changes. Matches CLI: ncp doctor
ParameterTypeDescription
mcp_namestringCheck specific MCP only (optional - omit to check all)
profilestringProfile to check (default: "all")
executionsView execution history.
ParameterTypeDescription
job_idstringFilter by job ID or name (omit for all)
limitnumberMax results
statusstringFilter by status
exportExport current NCP configuration. Use clipboard for security (no chat history), response for transparency.
ParameterTypeDescription
destinationstringFile path (only for to=file)
profilestringProfile to export (default: "all")
tostringExport destination: clipboard (silent, secure), response (visible to AI), or file
findSearch 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").
ParameterTypeDescription
confidence_thresholdnumberMin confidence 0.0-1.0 (default: 0.35). Lower=more results, higher=precise.
depthnumberDetail level: 0=names, 1=+descriptions, 2=+parameters (default: 2)
descriptionstringSearch query describing capability you need (e.g. "send email", "read file"). OMIT this parameter entirely to list all tools (do not pass "list all" or empty string). Use pipe separator for multi-query ("gmail | slack").
limitnumberMax results per page (default: 5 search, 20 list)
pagenumberPage number (default: 1)
getGet job details.
ParameterTypeDescription
job_id *stringJob ID or name
get-runGet details of a specific code execution run including full JSONL log
ParameterTypeDescription
runId *stringThe run ID from a previous code execution
listList all configured skill marketplaces
list-runsList recent code execution runs for potential save-as-photon conversion
ParameterTypeDescription
limitnumberMaximum number of runs to list (default: 10)
list_directoryList contents of a directory
ParameterTypeDescription
path *stringPath to the directory to list
optimize_clientBack up a supported MCP client configuration and replace its MCP server list with NCP. Requires explicit user confirmation.
ParameterTypeDescription
client_name *stringClient whose configuration should be optimized, such as Cursor or Windsurf
overviewVisual analytics dashboard with ASCII charts showing usage stats, token savings, performance metrics, and trends. Returns formatted in markdown code blocks for rendering.
ParameterTypeDescription
periodnumberNumber of days to analyze (e.g., 7 for last week, 30 for last month). Default: 7
todaybooleanShow only today's data. Default: false
pausePause job (stops future executions).
ParameterTypeDescription
job_id *stringJob ID or name
performanceVisual performance report with gauges and charts showing fastest MCPs, reliability metrics, and response times. Returns formatted in markdown code blocks.
ParameterTypeDescription
periodnumberNumber of days to analyze. Default: 7
todaybooleanShow only today's data. Default: false
read_fileRead contents of a file from the filesystem
ParameterTypeDescription
path *stringPath to the file to read
read_resourceRead additional files from an installed skill (resources/, scripts/, templates/, etc.). Use after skills:find with depth=3 to see available files.
ParameterTypeDescription
file_path *stringRelative path within skill directory (e.g., "resources/forms.md", "scripts/process.py")
skill_name *stringName of the installed skill
removeRemove an MCP server from NCP configuration. First use "find" or "list" to identify the exact mcp_name, then call this tool. User confirmation required (automatic popup).
ParameterTypeDescription
mcp_name *stringREQUIRED. Name of the MCP server to remove. Pre-fill if extractable from user intent, otherwise use "find" or "list" method to get the exact name first.
profilestringProfile to remove from (default: "all")
resumeResume paused job.
ParameterTypeDescription
job_id *stringJob ID or name
retrieveGet jobs and/or executions with search and filtering.
ParameterTypeDescription
execution_idstringGet specific execution
includestringWhat to return: jobs, executions, or both
job_idstringFilter by job ID or name
limitnumberMax results per page
pagenumberPage number
querystringSearch term (omit for all)
statusstringFilter by status
runExecute MCP tool (format: mcp:tool). Provides suggestions if not found.
ParameterTypeDescription
dry_runbooleanPreview without executing (default: false)
parametersobjectTool parameters
tool *stringTool to execute (format: mcp:tool)
save-as-photonConvert a successful code execution into a reusable Photon (.photon.ts file)
ParameterTypeDescription
description *stringDescription of what this Photon does
photonName *stringName for the new Photon (will be kebab-case, e.g., my-tool)
runId *stringThe run ID of the code execution to convert
searchSearch all skill marketplaces for available skills to install
ParameterTypeDescription
limitnumberMaximum number of results to return
querystringOptional search query to filter skills. Supports "|" for multi-search (e.g., "pdf|excel"). If omitted, returns all available skills.
tokensToken usage and savings from Code-Mode vs find+run. Shows efficiency gains.
ParameterTypeDescription
periodnumberDays to analyze (default: 7)
triggerTrigger an immediate execution of a scheduled job (manual run).
ParameterTypeDescription
job_id *stringJob ID or name
updateUpdate job timing, parameters, or active state.
ParameterTypeDescription
activebooleanActivate or pause
descriptionstringNew description
endDatestringNew end date
fireOncebooleanNew fireOnce
job_id *stringJob ID or name
maxExecutionsnumberNew max executions
namestringNew name
parametersobjectNew parameters
schedulestringNew schedule
toolstringNew tool
usageDetailed usage statistics with properly spaced markdown tables: most used MCPs, tool counts, hourly patterns, peak usage times. Tables are readable in plain text without rendering.
ParameterTypeDescription
periodnumberNumber of days to analyze. Default: 7
todaybooleanShow only today's data. Default: false
validateValidate tool parameters before scheduling (dry-run). REFERENCE IMPLEMENTATION for MCP validation protocol.
ParameterTypeDescription
parameters *objectTool parameters to validate
schedulestringSchedule to validate (optional). Supports: "in 5 minutes", "in 2 hours", "every day at 2pm", cron expressions, or RFC 3339 datetimes
tool *stringTool to validate in format "mcp:tool" (e.g., "filesystem:read_file")
write_fileWrite content to a file on the filesystem
ParameterTypeDescription
content *stringContent to write to the file
path *stringPath to write the file

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 3.7K words.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • !No dynamic code executionScanned 172 source files and found 29 calls to eval or shell execution, in src/auth/oauth-auth-code-flow.ts:185, src/cli/commands/doctor.ts:87 and src/cli/index.ts:2939 among others. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/server/mcp-server.ts:1
Starts other programs
27 callssrc/auth/oauth-auth-code-flow.ts:185, src/cli/commands/doctor.ts:87, src/cli/index.ts:2939
Outbound network calls
42 callssrc/auth/auth-detector.ts:47, src/auth/auth-detector.ts:217, src/auth/oauth-auth-code-flow.ts:335
Writes or deletes files
90 callssrc/analytics/token-metrics.ts:110, src/auth/secure-credential-store.ts:113, src/auth/secure-credential-store.ts:116
Lockfile
package-lock.json

Pattern matches on the source text of 172 files: places to read, not proof of what the code does at run time.

Releases

2.3.1Release 2.3.1 · 12 Jun 20262.3.1 (2026-06-12) Bug Fixes close symlink escape in sandboxed filesystem (11ac189) detect MCP filter from loaded MCPs instead of hardcoded list (69f6d9e) harden code-mode sandbox edge cases (a656372) move ncp.svg logo to assets folder and…
2.3.0NCP 2.3.0 - photon-core 2.9.4 Integration · 6 Mar 2026Major Features 🎯 Photon-Core 2.9.4 Integration PhotonWatcher - Battle-tested file monitoring with symlink resolution, debouncing, and automatic hot-reload Replace chokidar with production-ready watcher Symlink resolution for macOS…
2.0.1Release 2.0.1 · 27 Dec 2025Bug Fixes Fix Windows spawn EINVAL for npx.cmd wrappers (fixes #8) Fix code --file test on Windows by using forward slashes in CLI arguments Full Changelog https://github.com/portel-dev/ncp/compare/2.0.0...2.0.1
2.0.0Release 2.0.0 · 27 Dec 2025Full Changelog: https://github.com/portel-dev/ncp/compare/1.8.0...2.0.0
1.8.0Release 1.8.0 · 14 Dec 2025Release 1.8.0 Major update with Scheduler V2, Code-Mode enhancements, and Photon architecture. Highlights ⚠️ BREAKING: Scheduler V2 with timing groups (auto-migrates from V1) Code-Mode automation powerhouse with multi-MCP orchestration…

README

The repository's README runs to about 3.7K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About portel-dev/ncp

How do I install portel-dev/ncp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is portel-dev/ncp safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 172 source files found that it serves MCP over stdio, starts other programs (27 calls), makes outbound network calls (42 calls) and writes or deletes files (90 calls). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is portel-dev/ncp still maintained?

Yes — the latest release is 2.3.1 (12 Jun 2026), and the last commit was a month ago. The repository has 102 stars and 2 open issues.

What tools does portel-dev/ncp provide?

Conduid read 32 tools from the source: add, code, confidence, create, delete, doctor, executions, export and 24 more. 30 of them publish their parameters, listed under Tools above.

What license is portel-dev/ncp released under?

The repository has a license file that does not match a standard license, so read its terms before using it in a product.