Koskamo

PHP and WordPress Docs MCP

An MCP server that allows agents to query current PHP and WordPress documentation, explain PHP errors, and check symbol changes across PHP upgrades. It also supports dependency checks, API operation lookups, company lookups, invoice reading, citation checks, and SEC filing retrieval.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

PHP and WordPress Docs MCP logo, by bestsmartgoodsCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-07Published by bestsmartgoods
You need:X-API-Key: ak_...
MCP endpoint (Streamable HTTP)
https://php.bestsmartgoods.com/mcp
Vendor documentation

What its tools do

3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

3 of 3 have a description · 3 of 3 declare behavior hints · 3 of 3 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Query PHP documentation for specific functions and versions
  • Explain PHP error messages by function name
  • Check for breaking changes in PHP upgrades
  • Look up company details via GLEIF or VAT IDs

Source and maintenance

Community listingRegistry 1.0.1
Maintenance checked

Protocol and capabilities

Server
phpdocs 0.1.0
MCP protocol negotiated in check
2025-11-25
Tools
3 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {}
}

Tools

3 advertised

query_php_docs — Read a PHP or WordPress manual page
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Read one current English manual page for a PHP symbol or a WordPress function, hook, or class. Returns the official page URL, the version line, the signature, the description, and the first official example. php.net pages are the live English HTML manual. WordPress pages are the live developer.wordpress.org reference. This is not an archive of older manuals and it does not search Laravel, Symfony, or Markdown docs. The first 5 successful pages each UTC day from one network address are free and need no API key. A not_found or fetch_failed does not use a free page. After the 5, send header X-API-Key. A key call costs 0.04 credit only when a page is returned. Pass the symbol, for example str_contains or wp_insert_post. Set source to php or wordpress, or omit it and a wp_ name uses WordPress. Set version, for example 8.3 or 6.7, to learn whether that release is covered by the page version line. version_applies is null when version is omitted or the page has no version line. User comments are not included. Key: https://firm.bestsmartgoods.com/signup

query_php_docs input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "A PHP or WordPress symbol, for example str_contains or wp_insert_post. A short sentence is accepted when it contains the symbol."
    },
    "source": {
      "enum": [
        "php",
        "wordpress"
      ],
      "type": "string",
      "description": "php reads php.net. wordpress reads developer.wordpress.org. Omit it and a wp_ symbol uses WordPress, otherwise php.net."
    },
    "version": {
      "type": "string",
      "description": "Release to check, such as 8.3 or 6.7. The page is still the current manual. version_applies says whether the page version line includes this release."
    }
  }
}
query_php_docs output schema
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "False for not_found or fetch_failed. Those calls are not charged."
    },
    "url": {
      "type": "string",
      "description": "The official page that was read."
    },
    "cost": {
      "type": "number",
      "description": "0 on a free page. 0.04 when a key was charged."
    },
    "free": {
      "type": "boolean",
      "description": "True when this page was one of the 5 free daily pages and no key was sent."
    },
    "error": {
      "enum": [
        "not_found",
        "fetch_failed",
        "free_limit"
      ],
      "type": "string",
      "description": "Present only when ok is false. free_limit means today's 5 free pages are used and a key is required."
    },
    "query": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "source": {
      "enum": [
        "php.net",
        "developer.wordpress.org"
      ],
      "type": "string"
    },
    "symbol": {
      "type": "string",
      "description": "The symbol looked up on the manual."
    },
    "example": {
      "type": "string",
      "description": "First official example, clipped to 1500 characters. Empty when the page has none."
    },
    "signature": {
      "type": "string"
    },
    "introduced": {
      "type": "string",
      "description": "Same version line. For WordPress this is the earliest @since."
    },
    "description": {
      "type": "string",
      "description": "Official description, clipped to 1200 characters. User comments are excluded."
    },
    "version_note": {
      "type": "string",
      "description": "php.net version line, or the WordPress release that introduced the symbol."
    },
    "free_remaining": {
      "type": "number",
      "description": "Free pages left today for this network address. Present on a free page, and 0 when error is free_limit."
    },
    "version_applies": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "True when the requested release is covered by the version line. Null when version was omitted or the page has no version line."
    },
    "credits_remaining": {
      "type": "number",
      "description": "Present only after a charged, successful read with an API key."
    },
    "version_requested": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
query_php_docs annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
explain_php_error — Explain a PHP error
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Turn one PHP error message into the current English manual page for the function or method it names. Returns the manual URL, version line, signature, description, and first example. Use it when the agent has the error text. A message that names no function returns not_found. The first 5 successful calls each UTC day from one network address are free and need no key. A not_found, bad_range, or fetch_failed is not charged and does not use a free call. After the 5, send X-API-Key. A key call costs 0.04 credit only on success. Key: https://firm.bestsmartgoods.com/signup

explain_php_error input schema
{
  "type": "object",
  "required": [
    "error"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "The PHP error text, for example Call to undefined function each()."
    },
    "version": {
      "type": "string",
      "description": "Release to check against the manual version line, for example 8.3. The page is still the current manual."
    }
  }
}
explain_php_error annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
check_php_upgrade — Check a PHP upgrade
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Check which of the given PHP symbols are linked from the official php.net migration pages between two minor versions. Returns each hit with kind incompatible or deprecated, the version, and the page URL. A symbol that is absent was not named on those pages, which is not proof the code is safe. Send from, to, and symbols, or code instead of symbols. The span can cover at most 8 minor versions. An empty breaks list is still a successful, charged check when the pages were read. The first 5 successful calls each UTC day from one network address are free and need no key. A not_found, bad_range, or fetch_failed is not charged and does not use a free call. After the 5, send X-API-Key. A key call costs 0.04 credit only on success. Key: https://firm.bestsmartgoods.com/signup

check_php_upgrade input schema
{
  "type": "object",
  "required": [
    "from",
    "to"
  ],
  "properties": {
    "to": {
      "type": "string",
      "description": "Target minor version, newer than from, for example 8.3."
    },
    "code": {
      "type": "string",
      "description": "PHP source. Function calls are extracted when symbols is empty."
    },
    "from": {
      "type": "string",
      "description": "Current minor version, for example 8.1."
    },
    "symbols": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Function or class names to look for, at most 40. Omit it and pass code instead."
    }
  }
}
check_php_upgrade annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
1016 ms
95th percentile latency
1016 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1016 ms · metadata changed · 3 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http php-and-wordpress-docs-mcp https://php.bestsmartgoods.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add php-and-wordpress-docs-mcp --url https://php.bestsmartgoods.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable php-and-wordpress-docs-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "php-and-wordpress-docs-mcp": {
      "url": "https://php.bestsmartgoods.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "php-and-wordpress-docs-mcp": {
      "type": "streamableHttp",
      "url": "https://php.bestsmartgoods.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start php-and-wordpress-docs-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "php-and-wordpress-docs-mcp": {
      "type": "http",
      "url": "https://php.bestsmartgoods.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http php-and-wordpress-docs-mcp https://php.bestsmartgoods.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://php.bestsmartgoods.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "php-and-wordpress-docs-mcp": {
      "serverUrl": "https://php.bestsmartgoods.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like PHP and WordPress Docs MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.