Skip to content

DEV Community

Updated View as Markdown

List public articles and the connected author’s drafts, read an article, and create or update an article through the DEV/Forem API. Native Markdown, tags, canonical URLs and explicit publication state are preserved. Creation requires an explicit published flag so examples remain drafts. This five-command REST subset excludes comments, images, organization management and other Forem hosts.

What you can do (5)

What you can do

Available commands: 5 (3 read, 2 write). Enable only the commands your application needs.

Command Effect
List one page of public DEV articles — dev-to.articles.list Read
Create an explicit DEV article draft or publication — dev-to.articles.create Write
List one page of the connected author’s articles and drafts — dev-to.articles.mine Read
Read one public article — dev-to.articles.get Read
Update fields of an article owned by the connected author — dev-to.articles.update Write

Connect and use

Connect and use

Open the integration's connection form to check the available credential source. The source has not been resolved for this documentation export. The instructions below apply when using your own provider account.

Get your provider credentials

Follow these steps for DEV Community, then enter the issued values in the connection form below.

  1. On DEV Community, open Settings → Extensions → DEV Community API Keys, give a key a clear description and generate it. Paste it into this connection’s DEV Community API token field. Start with articles.mine to inspect your own drafts and publications. articles.create requires an explicit published value; keep false for drafts and review content before setting true. Article updates require ownership. Select commands and save, then create a separate scoped Tooluse.net API key for your AI client. Never expose your DEV key in the MCP URL.

Official credential setup

Where to enter credentials

In the integration page, sign in, choose your workspace and open Connect. If a Credentials choice is shown, select Use my credentials. Fill the following connection fields and save. Provider credentials belong in this form, never in an MCP configuration or tool input.

Connection field Requirement
DEV Community API token Required

Open API keys and create a Tooluse.net key for the enabled commands.

Set TOOLUSE_API_KEY in your client and use the shared MCP configuration.

Configure Claude Code, Codex or Cursor once

Permissions and results

If you have more than one workspace, check the selected workspace in the connection or API-key dialog before saving. Roles, enabled commands, expiry and revocation use Tooluse.net's existing permissions. Disabling a connection or revoking a key immediately prevents new calls.

Send one Claude tool_use block per request. Keep the same Idempotency-Key when retrying the same request; use a new key for a new call. The response includes the shared Tooluse.net receipt and Claude tool_result. Check both HTTP status and the returned tool result before treating a call as successful.

Your connection's daily allowance and key permissions also apply. Adding a connection does not make a provider request.

Calls return the shared execution receipt and a Claude tool_result. Provider output varies by operation; consult the provider documentation for its response fields. Unconfirmed calls should be checked before retrying.

Call from your client

Use the shared MCP configuration. Refresh your client's tool list after saving the connection or changing key permissions, then call the returned tool name with the example input below.

Configure Claude Code, Codex or Cursor once

Discover your enabled tools

List permitted tools in Claude format. Read every page using page and size (maximum 100) until all results have been received. Use the returned name, not a catalog capability identifier, in the tool_use block.

curl 'https://api.tooluse.net/v1/tools' \
  -H "Authorization: Bearer $TOOLUSE_API_KEY"

Find this command in the tool list permitted by your key. Replace svc_FROM_YOUR_TOOL_LIST with its returned name. Use a new Idempotency-Key for each new call and retain it when retrying that same call.

HTTP call

curl 'https://api.tooluse.net/v1/tool-calls' \
  -H "Authorization: Bearer $TOOLUSE_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: replace-with-a-new-call-id' \
  --data '{
  "type": "tool_use",
  "id": "toolu_example",
  "name": "svc_FROM_YOUR_TOOL_LIST",
  "input": {}
}'

Send one Claude tool_use block per request. Keep the same Idempotency-Key when retrying the same request; use a new key for a new call. The response includes the shared Tooluse.net receipt and Claude tool_result. Check both HTTP status and the returned tool result before treating a call as successful.

Commands

List one page of public DEV articles — dev-to.articles.list

Run List one page of public DEV articles with DEV Community. This is a read command; it does not grant access beyond the connected account's permissions.

This is a read operation. Provider rate limits and data access rules still apply.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
query object Optional additionalProperties: false
query.page integer Optional minimum: 1
query.per_page integer Optional minimum: 1; maximum: 100
query.tag string Optional
query.username string Optional
query.top integer Optional minimum: 1

Full JSON Schema

Full JSON Schema

Example input

{}

At most 1 provider requests per invocation; timeout: 30 seconds.

Create an explicit DEV article draft or publication — dev-to.articles.create

Run Create an explicit DEV article draft or publication with DEV Community. This command can change provider data. Review the target and input before invoking it.

This operation can change provider data. Review the input before allowing an agent to call it.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
body object Required additionalProperties: false
body.article object Required additionalProperties: false
body.article.title string Required minLength: 1
body.article.body_markdown string Required minLength: 1
body.article.published boolean Required default: false
body.article.description string Optional
body.article.tags array Optional maxItems: 4
body.article.tags[] string Optional
body.article.canonical_url string Optional format: "uri"
body.article.main_image string Optional format: "uri"
body.article.series string Optional
body.article.organization_id integer Optional minimum: 1

Full JSON Schema

Full JSON Schema

Example input

{
  "body": {
    "article": {
      "title": "Example draft",
      "body_markdown": "Draft content",
      "published": false,
      "tags": [
        "testing"
      ]
    }
  }
}

At most 1 provider requests per invocation; timeout: 30 seconds.

List one page of the connected author’s articles and drafts — dev-to.articles.mine

Run List one page of the connected author’s articles and drafts with DEV Community. This is a read command; it does not grant access beyond the connected account's permissions.

This is a read operation. Provider rate limits and data access rules still apply.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
query object Optional additionalProperties: false
query.page integer Optional minimum: 1
query.per_page integer Optional minimum: 1; maximum: 100

Full JSON Schema

Full JSON Schema

Example input

{}

At most 1 provider requests per invocation; timeout: 30 seconds.

Read one public article — dev-to.articles.get

Run Read one public article with DEV Community. This is a read command; it does not grant access beyond the connected account's permissions.

This is a read operation. Provider rate limits and data access rules still apply.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
path object Required additionalProperties: false
path.articleId integer Required minimum: 1

Full JSON Schema

Full JSON Schema

Example input

{
  "path": {
    "articleId": 1
  }
}

At most 1 provider requests per invocation; timeout: 30 seconds.

Update fields of an article owned by the connected author — dev-to.articles.update

Run Update fields of an article owned by the connected author with DEV Community. This command can change provider data. Review the target and input before invoking it.

This operation can change provider data. Review the input before allowing an agent to call it.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
path object Required additionalProperties: false
path.articleId integer Required minimum: 1
body object Required additionalProperties: false
body.article object Required additionalProperties: false
body.article.title string Optional minLength: 1
body.article.body_markdown string Optional minLength: 1
body.article.published boolean Optional default: false
body.article.description string Optional
body.article.tags array Optional maxItems: 4
body.article.tags[] string Optional
body.article.canonical_url string Optional format: "uri"
body.article.main_image string Optional format: "uri"
body.article.series string Optional
body.article.organization_id integer Optional minimum: 1

Full JSON Schema

Full JSON Schema

Example input

{
  "path": {
    "articleId": 1
  },
  "body": {
    "article": {
      "title": "Updated draft",
      "published": false
    }
  }
}

At most 1 provider requests per invocation; timeout: 30 seconds.

Errors

Check the key's expiry, revocation, workspace and allowed operations.

Reuse the same idempotency key only for the same request.

The connection or provider limit has been reached. Check the receipt before retrying.

Test the connection

Open the integration's commands below to inspect parameters and examples. Start with a read command for an account or resource you can access. Refresh your client's tool list, use the returned tool name, and check the execution result and usage. Provider charges and permissions still apply. Never test a write against production data without reviewing it.

Official provider documentation

Type to search…

↑↓ navigate↵ selectEsc close