Decouple and separate MCP server into standalone cape-mcp package - #3192
Open
doomedraven wants to merge 3 commits into
Open
Decouple and separate MCP server into standalone cape-mcp package#3192doomedraven wants to merge 3 commits into
doomedraven wants to merge 3 commits into
Conversation
- Rename local directory from mcp/ to cape_mcp/ to resolve python namespace import collisions with official third-party mcp library. - Create schemas.py to statically define search and query mapping filters, eliminating cuckoo backend core dependencies. - Add server.py command-line argument and environment variable configurations for zero-config client use. - Create pyproject.toml to package it as a modern standalone pip/uvx CLI utility with README.md instructions.
…server - Remove all local is_auth_required() and api_config references from the client. - Let the CAPE Sandbox REST API server validate tokens and return standard HTTP 401/403 responses natively. - Keep the standalone client 100% lightweight and purely REST-based.
- Completely strip out obsolete is_auth_required() calls inside file submission and static extraction endpoints. - Fully align standalone client package with modern ruff rules, passing 100% of all lint checks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rename local directory from mcp/ to cape_mcp/ to resolve python namespace import collisions with official third-party mcp library.
Create schemas.py to statically define search and query mapping filters, eliminating cuckoo backend core dependencies.
Add server.py command-line argument and environment variable configurations for zero-config client use.
Create pyproject.toml to package it as a modern standalone pip/uvx CLI utility with README.md instructions.