# ctxwise MCP server

> Optimizes AI agent context by tree-shaking MCP schemas, syncing multi-agent rules, and protecting against prompt injection and secret leaks.

- Repository: https://github.com/FramY2/ctxwise
- Page: https://hostedmcp.org/servers/framy2/ctxwise
- Transport: —
- Stars: 8
- License: Apache-2.0

## FAQ

### How does CtxWise help with MCP server token usage?

It uses the mcp-xray command to profile tool-schema token weights and identify bloated tools that consume excessive context.

### Can CtxWise prevent API keys from being sent to AI models?

Yes, the shield command detects hardcoded secrets like Anthropic, OpenAI, and GitHub keys within your context files and skills.

### Does using CtxWise require an internet connection or API calls?

No, it is a local-first engine that operates with zero API calls and zero model calls.
