krx_watchlist

Manage a persistent watchlist of stocks. Actions: - add: Search by name and add to watchlist - remove: Remove by name or stock code (exact match) - list: Show all watchlist entries - show: Fetch current prices for all watchlist stocks The watchlist is stored locally at ~/.krx-cli/watchlist.json.

Server Krx Cli kyo504/krx-cli
Category Write
Risk class Medium
Parameters 00 required

What krx_watchlist does on Krx Cli

AI agents use krx_watchlist to create or update resources in Krx Cli — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Krx Cli environment.

Why krx_watchlist needs a policy

The tool creates and modifies a persistent local file (watchlist.json). The 'add' action writes new entries and 'remove' deletes entries from the watchlist. While 'remove' could be considered destructive, the data is a user-managed watchlist (not financial records or irreplaceable data), and the overall tool is primarily a read/write manager. The most severe applicable category is Write.

From the tool's definition 'Manage a persistent watchlist of stocks' with actions 'add' and 'remove' that modify a locally stored file at ~/.krx-cli/watchlist.json

Questions about krx_watchlist

What does the krx_watchlist tool do? +

Manage a persistent watchlist of stocks. Actions: - add: Search by name and add to watchlist - remove: Remove by name or stock code (exact match) - list: Show all watchlist entries - show: Fetch current prices for all watchlist stocks The watchlist is stored locally at ~/.krx-cli/watchlist.json. It is categorised as a Write tool in the Krx Cli MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on krx_watchlist? +

Register the Krx Cli MCP server in PolicyLayer and add a rule for krx_watchlist: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Krx Cli. Nothing to install.

What risk level is krx_watchlist? +

krx_watchlist is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit krx_watchlist? +

Yes. Add a rate_limit block to the krx_watchlist rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block krx_watchlist completely? +

Set action: deny in the PolicyLayer policy for krx_watchlist. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides krx_watchlist? +

krx_watchlist is provided by the Krx Cli MCP server (kyo504/krx-cli). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.