CNPC JavaDoc MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| searchA | Search CustomNPCs (CNPC) JavaDoc API — methods and fields across versions and forks. expression syntax: term — case-insensitive substring term:modifier — substring match in column; term::modifier — exact match in column a&b (AND) | a|b (OR) | {expr} (grouping). & has higher precedence than |. "noppes.npcs.api.entity.ICustomNpc" auto-expands to "/" and "$" paths. Modifiers: all (default) — all columns class — class (full path) classname — class name after last '/' package — package before last '/' name — name (methods+fields) method — same column, methods only field — same column, fields only desc — desc (JVM descriptor) modifier — access, is_static side — sideonly (always common for CNPC) Scoring: exact case hit = 1.0, case-insensitive = 0.5, then by mismatch (less unmatched chars ranks higher). Common patterns: "ICustomNpc::classname" → exact class name only "Script:classname" → all classes containing "Script" "noppes/npcs/api/entity:package" → all classes under a package "health:field" → fields only, no methods "()Z:desc" → methods returning boolean "get:method&static::modifier" → static methods containing "get" output="%class%" → deduplicated class list Version format: "1.12.2" for standard, "cnpc+:1.7.10" for CustomNPC+ fork. |
| show-hierarchyA | Display the class inheritance hierarchy for a CustomNPCs (CNPC) class. Returns two sections:
Example output for BlockEvent: Hierarchy: BlockEvent -> CustomNPCsEvent -> Event -> Object Subs: BlockEvent$BreakEvent BlockEvent$ClickedEvent ... |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SaltfishSheep/AI-MCP-CNPCAPIAccess'
If you have feedback or need assistance with the MCP directory API, please join our Discord server