Skip to content

Add ability to remove historical connection commands #502

Open
@zzx1314

Description

@zzx1314

How to remove historical connection commands when modelcontextprotocol/observer loads previously started commands after startup.

Commands that loop through output history, such as Query parameters: [Object: null prototype]{
command: 'uv',
args: 'run web_search.py',
env: '{
}But I am currently running npm start, how do I clear the history

PS D:\demo\mcp-server\everything-search-server> npx -y @modelcontextprotocol/inspector npm start
Starting MCP inspector...
⚙️ Proxy server listening on port 6277
New connection
Query parameters: [Object: null prototype] {
command: 'npm',
args: 'start',
env: '{}',
transportType: 'stdio'
}
Stdio transport: command=C:\WINDOWS\System32\cmd.exe, args=/C,C:\Program Files\nodejs\npm.cmd,start
Spawned stdio transport
Connected MCP client to backing server transport
Created client/server transports
Set up MCP proxy
New connection
Query parameters: [Object: null prototype] {
command: 'uv',
args: 'run web_search.py',
env: '{
}
Stdio transport: command=C:\Users\zzx-n.local\bin\uv.exe, args=run,web_search.py
Spawned stdio transport
Connected MCP client to backing server transport
Created client/server transports
Set up MCP proxy
New connection
Query parameters: [Object: null prototype] {
command: 'npm',
args: 'start',

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions