Back to Home
· product · apcore-mcp
apcore-mcp logo

apcore-mcp

Zero-code bridge for MCP, OpenAI Tools, and JWT Auth

apcore-mcp is a high-performance adapter that bridges apcore projects to AI protocols with zero intrusion. It automatically turns modules into secure tools via MCP (Model Context Protocol) or OpenAI-compatible JSON definitions. With built-in JWT Authentication and Elicitation-based Approval support, it provides a complete security layer for AI tool execution. The project includes an interactive Tool Explorer UI for live testing, a Streaming Bridge for real-time outputs, and intelligent schema transformation including $ref resolution. It ensures zero-boilerplate integration for Django, NestJS, Flask, and TipTap applications.

· interactive

Schema Transformer

Pick any apcore module — see the exact MCP tool definition and OpenAI tools JSON that apcore-mcp generates from it.

· 01

Features

01Zero Intrusion: Bridge existing projects to AI agents without code changes
02Dual Support: Simultaneous exposure as MCP Server and OpenAI Tools
03JWT Authentication: Built-in secure token validation and identity injection
04Tool Explorer UI: Interactive browser-based testing and documentation suite
05Streaming Bridge: Real-time notification and chunk accumulation support
06User Elicitation: Interactive input requests during module execution
07Intelligent Conversion: Automated schema transformation and $ref inlining
08Annotation Mapping: Direct mapping of behavioral hints to MCP annotations
09Sanitized Execution: Secure error handling with AI suggestions and no leaks
10Dynamic Registration: Real-time module registration reflected in AI tools
· 02

Get Started

Python · Implementation

Python reference implementation of apcore-mcp. 260+ tests, 90%+ coverage.

Install
$ pip install apcore-mcp
Quick Start
python.py
from apcore import Registry
from apcore_mcp import serve

# Auto-discover all modules
registry = Registry(extensions_dir="./extensions")
registry.discover()

# Start MCP server (stdio by default)
serve(registry)

# Or export as OpenAI tools
from apcore_mcp import to_openai_tools
tools = to_openai_tools(registry)
· related

Related Products

apcore logo

apcore

The schema-driven module development framework that apcore-mcp bridges to AI agents.

View Product
apcore-a2a logo

apcore-a2a

Secure Agent-to-Agent communication bridge for autonomous collaboration.

View Product
apcore-toolkit logo

apcore-toolkit

Shared utilities and scanner base for building custom apcore adapters.

View Product
apcore-cli logo

apcore-cli

High-performance CLI adapter for apcore modules.

View Product