Skip to content

Decouple and separate MCP server into standalone cape-mcp package - #3192

Open
doomedraven wants to merge 3 commits into
masterfrom
feature/decoupled-mcp-server
Open

Decouple and separate MCP server into standalone cape-mcp package#3192
doomedraven wants to merge 3 commits into
masterfrom
feature/decoupled-mcp-server

Conversation

@doomedraven

Copy link
Copy Markdown
Collaborator
  • 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.

- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant